Login   Register  
PHP Classes
elePHPant
Icontem

PHP Chunk

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Dom Hastings
Name: Dom Hastings <e-mail contact>
Packages: 4 Browse all classes by Dom Hastings Browse all classes by
Country: United Kingdom United Kingdom - PHP jobs in United Kingdom
Age: 29
All time rank: 126658 in United Kingdom United Kingdom
Week rank: 874 Up41 in United Kingdom United Kingdom Up
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download .zip .tar.gz  
This class can be used to extract chunks from large XML files.

It can read given XML files and search for sections that are enclosed by a given XML tag.

The class returns each XML document chunk with the given tag iteratively until it reaches the end of the file.

  Classes of Dom Hastings  >  PHP Chunk  >  Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Chunk
Base name: phpchunk
Description: Extract chunks from large XML files
Version: 0.1
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 429 users
All time rank: 5339
Week users: 1 user
Week rank: 2173 Up
 
  Groups   Rate classes User ratings   Applications   Related links   Files Files  

  Groups  
Group folder image XML XML parsing and generation View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
August 2009
Number 10
XML is a format often used for exchanging information. However, XML is not appropriate to exchange large amounts of data in a single file, as it takes a lot of CPU and memory to parse and process the information in the whole document at once.

This class provides a different approach to extract chunks of information for large XML files by reading the files in small chunks and extract the chunks into individual strings before parsing.

Manuel Lemos

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
Blog post Blog post

  Files folder image Files  
File Role Description
Accessible without login Plain text file chunk-test.xml Data Simple data
Plain text file class.chunk.php Class Main class file
Accessible without login Plain text file complex-test.xml Data Example complex data
Accessible without login Plain text file index.php Example Example implementation

Download all files: phpchunk.tar.gz phpchunk.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.