Tring Web Design

Specialist Web Designers in the Tring Area, Berkhamsted, Bucks and Herts - info@tring-web-design.co.uk

Extract, Transform and Load

  • Resources
  • cPanel Website Backups
  • Creating dynamic PDF files from PHP
  • Download Limit Monitoring Using IPCOP
  • Encrypt USB drives
  • E-Mail Newsletter Design
  • Exclude my visits from Google Analytics
  • Extract, Transform and Load

  • Forum Posts
  • Glossary of Terms
  • Imaging Hard Drives
  • Installing IPCOP as a firewall
  • PHP-GTK SWK Desktop Widgets
  • Pipe emails into a PHP script
  • Pure Rounded CSS3 Corners
  • SEO Basics
  • Speed up Xubuntu Boot Time
  • Sphider Tag Cloud
  • Static header and footer from dynamic templates
  • Suckerfish CMS Made Simple menus
  • Top of Google in 5 steps
  • Two Essential Web Design Tools - Firebug and Dust-me Selectors
  • Website Morphing
  • Watch
  • Music & Effects
  • Tools
  • Extract, Transform and Load or ETL for short, is a process of data manipulation where information from one source is Extracted, that information is then Transformed, which may include such operatins as data cleansing or validation, essentially so the data fits in with business needs. The resulting dataset is then Loaded into another storage system. An example of a practical applications of this is integrating legacy systems into a business.

    A small example of this process can be seen here where a very basic ETL PHP script attaches to a message queue. Software available for ETL includes Pentaho Data Integration, an open source app. Another one I have come across which doesn't market itself as a pure ETL program and if comparing it with the ETL process is rather limited, is DBMaker. An example of parsing Google search result pages can be found here allthough use of the script for anything other than curiosity is probably unadvisable!

    The snippet below will nicely extract a portion of a string between two delimeters. 

      function returnSubstrings($text, $openingMarker, $closingMarker) {
       $openingMarkerLength = strlen($openingMarker);
       $closingMarkerLength = strlen($closingMarker);
     
       $result = array();
       $position = 0;
       while (($position = strpos($text, $openingMarker, $position)) !== false) {
         $position += $openingMarkerLength;
         if (($closingMarkerPosition = strpos($text, $closingMarker, $position)) !== false) {
           $result[] = substr($text, $position, $closingMarkerPosition - $position);
           $position = $closingMarkerPosition + $closingMarkerLength;
         }
       }
       return $result;
      }

    New to content management or need some help using our system? View our video tutorials

    E-mail us or complete our requirements questionnaire for a more detailed quote

    Technical resources for web designers, developers and IT professionals

    Keep up-to-date with the projects we have been involved in

    Specialist web designers in Tring, Berkhamsted, Bucks and Herts

    info@tring-web-design.co.uk