PHP Classes
Icontem

Class: PHP Chunk


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Dom Hastings  >  PHP Chunk  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Chunk Support forum
Base name: phpchunk
Description: Extract chunks from large XML files
Version: 0.1
Required PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 249 users
All time rank: 4564
Week users: 3 users
Week rank: 2230
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Related links   Files Files  

Author

Picture of Dom Hastings
Name: Dom Hastings <e-mail contact>
Published packages: 4 Browse this author's classes Browse this author's classes
Country: United Kingdom United Kingdom - PHP jobs in United Kingdom
Home page: http://www.dom111.co.uk/
Age: ???
All time rank: 1319
Week rank: 875

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

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

Detailed description

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.

User ratings

Not yet rated by the users

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

File Role Description
Plain text file chunk-test.xml Data Simple data
Plain text file class.chunk.php Class Main class file
Plain text file complex-test.xml Data Example complex data
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.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products