phpHtmlLib is now an application development framework for developing OOP style web applications in PHP. The application framework supports an MVC style architecture, Ajaxable and Cacheable interfaces for developing rich client web applications. It still contains the set of PHP classes and library functions to help facilitate building, debugging, and rendering of XML, HTML, XHTML, WAP/WML Documents, and SVG (Scalable Vector Graphics) images as well as complex html Widgets .


Official Release : March 18, 2008

3.0.2 is now available for download.

This release includes some bug fixes and some new features.

Notable New Features
  • Added new Logging facility in Log, LogWriter, LogEvent, LogFormatter
  • Added Controller ability to set http headers with every call.
  • Added HTMLPage::http_headers() for the controller to call.
  • Updated AjaxableHTMLWidget to automatically support wrapping contents in containing div and handle ajax vs. non ajax (containing object render) requests
  • Added progress cursor to ajax update requests.
  • Added __toString() to the generated DBDataObjects from DBDataObjectGenerator

Bug fixes
  • fixed a bug with the AjaxDefaultHTMLDataList and AjaxDataList where the action_button() method wasn't ajax aware.
  • fixed a bug with RequestBuilder::get_url() when a RequestBuilder::set_file() was called.

Official Release : October 12, 2007

3.0.1 is now available for download.

This is the first bugfix release for the 3.0 version of phphtmllib.

Notable New Features
  • phing based build system.
  • Added type hinting to the HTMLTag constructors to help prevent mistakes.
  • phpHtmllibException is now a concrete Exception class that can be thrown.

Bug fixes
  • XMLDocument header output.
  • Invalid DOCTYPE declarations.
  • ADODBSQLDataListSource::count() fixed.
  • Updated RequestBuilder::get_query_params_as_string() to properly urlencode keys and values.

Official Release : September 27, 2007

3.0.0 is now available for download.

This release is a brand new version of phpHtmlLib that is php5 only.

phpHtmlLib is now a full blown php application framework. It includes everything from the base HTML tag classes as in the 2.x version of phpHtmlLib, but also everything you would expect from an application framework.

This is a preview release of the new framework. I am still in the middle of moving some files around and fixing some small issues. Also, there is currently no documentation on how to get started with the new version. So, if you are interested in using 3.0.0, I would just download the source for the phphtmllib website and use it as an example for now. It's available from sourceforge's subversion.
Notable New Features
  • PHP5 API syntax
  • New application development framework
  • DataList rewrite to be more flexible.
  • New Form Validation
  • New FormElement objects
  • New website using the framework.
  • New phphtmllib interface class.
  • New factory() methods for all tag objects.

Framework Features.
  • Project Generator
  • MVC architecture
  • DataBase object based on PDO.
  • Integrated Ajax widgets.
  • Integrated Caching mechanism.
  • auto generated DataObject layer.
  • BusinessObject layer.
  • uses PHP5's autoload. for includes