PHP Developer's Network : Network Member
Forums

PHP Classes
Icontem

Class: HTML Compactor


  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!
      Classes of Oliver Lillie  >  HTML Compactor  >  Download  >  Support forum Support forum  >  RSS 1.0 feed RSS 2.0 feed Latest changes  >  Stumble It! Stumble It!  >  Bookmark in del.icio.us Bookmark in del.icio.us  
  Supplied by   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  
  • Supplied by:

    Picture of Oliver Lillie
    Name: Oliver Lillie <e-mail contact>
    Published packages: 4
    Country: Finland Finland - PHP jobs in Finland
    Home page: http://www.buggedcom.co.uk/
    Age: 28
    All time rank: 56
    Week rank: 12

    Browse this author's classes

  • Innovation Award:

    PHP Programming Innovation award nominee
    January 2008
    Number 6
    Sites that serve many pages have significant costs, not only in terms of bandwidth usage, but also in terms machines needed to serve many simultaneous user requests.

    One way to reduce such costs is to minimize the size of the pages served to the users. This class may be used to achieve that purpose.

    It uses PHP output buffering support to capture the HTML pages generated by PHP scripts and automatically reduces the size of the pages before serving to the users.

    Manuel Lemos
  • Groups:

    Group folder image HTML HTML generation and processing View top rated classes
    Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
    Group folder image Compression Data compression and file archive manipulation View top rated classes
  • Detailed description:

    This class can be used to reduce the size of HTML documents by removing unnecessary comments and white-spaces.

    It can process an HTML document passed explicitly as a string. It may also capture all the output of a PHP script and compact it before serving to the user browser.

    The class can reduce the size of the document by applying several operations like unifying the document line breaks, removing white-space from script and CSS style definitions, stripping comments, and unnecessary tabs, spaces and line breaks.

    It can also send deflated/gzipped content.
  • User ratings:

    Ratings
    Utility
    Consistency
    Documentation
    Examples
    Tests
    Videos
    Overall
    Rank
    All time:
    Good (83.3%)
    Good (83.3%)
    -
    Sufficient (75.0%)
    -
    -
    Not sure (57.5%)
    762
    Month:
    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.
  • Files:

    File Role Description
    Plain text file compactor.example1.php Example Example File 1
    Plain text file compactor.example2.php Example Example File 2
    Plain text file compactor.php Class Class Source
    Download all files: compactor.tar.gz compactor.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-2008 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products