Previous Next
HTMLagClass Getting Started

phpHtmlLib Guide

introduction to phpHtmlLib

by Walter A. Boring IV
© September 2005, Walter A. Boring IV
(phpHtmlLib 2.5.4)

Table of Contents

What is phpHtmlLib ?

phpHtmlLib is a set of PHP classes and library functions to build, debug, and render XML, HTML, XHTML, WAP/WML Documents, and SVG (Scalable Vector Graphics) images as well as complex html 'widgets' for PHP 4.2 or better.

It provides a mechanism to output perfectly indented/readable XML/HTML/XHTML/WML/SVG source, and a programmatic API to generating XML/HTML/XHTML/WML/SVG tags and fully compliant documents. The API provides a 'phpHtmlLib' standard API for creating documents by using powerfull widgets. Every object has an add() method for inserting data, and a render() method for building the output.

Features

  • PHP classes and functions to build XML/HTML/XHTML/WML/SVG tags.

  • Every XML/HTML/XHTML/WML/SVG tag is a PHP class. Common, standardized API for building tags, their attributes, and adding content to the tag (object).

  • Renders nicely indented XML/HTML/XHTML/WML/SVG source code, for easy reading/debugging. To see this in action, view source on this page.

  • "Debugging" capability - The lib renders a viewable version of source code in color-coded output with clickable links to help validate urls.

  • Render an entire document in HTML 4.0 or XHTML 1.0 (STRICT, TRANSITIONAL, or FRAMESET) compatible source, by setting 1 flag.

  • Render an entire properly formatted XML/WML/SVG document

  • Notifies the programmer, which HTML tags are deprecated by the W3C.

  • Utility/library functions that help build some of the more common tag objects.

  • 'Widget' system for building complex HTML/XHTML 'widgets' into easy to use php classes.

  • Feature rich Form Building/Processing engine.

  • CSS Builder object set to dynamically build CSS documents that are easily theme-able.

  • Software license

    phpHtmlLib is released under GNU LGPL

    Previous Next
    HTMLagClass Getting Started

    Documentation generated on Thu, 1 Sep 2005 17:05:09 -0700 by phpDocumentor 1.3.0RC3