1 |
<refentry id="{@id}"> |
2 |
<refnamediv> |
3 |
<refname>phpHtmlLib Guide</refname> |
4 |
<refpurpose>introduction to phpHtmlLib</refpurpose> |
5 |
</refnamediv> |
6 |
<refsynopsisdiv> |
7 |
<refsynopsisdivinfo> |
8 |
<author> |
9 |
by Walter A. Boring IV |
10 |
<authorblurb>{@link mailto:waboring@3gstech.com}</authorblurb> |
11 |
</author> |
12 |
<copyright>March 2004, Walter A. Boring IV</copyright> |
13 |
<releaseinfo>phpHtmlLib 2.4.x</releaseinfo> |
14 |
</refsynopsisdivinfo> |
15 |
</refsynopsisdiv> |
16 |
{@toc} |
17 |
<refsect1 id="{@id whatisit}"> |
18 |
<title>What is phpHtmlLib ?</title> |
19 |
<para> |
20 |
phpHtmlLib is a set of PHP classes and library functions to build, debug, |
21 |
and render XML, HTML, XHTML, WAP/WML Documents, and SVG (Scalable Vector Graphics) |
22 |
images as well as complex html 'widgets' for {@link http://www.php.net PHP} 4.1 or better. |
23 |
</para> |
24 |
<para> |
25 |
It provides a mechanism to output perfectly indented/readable XML/HTML/XHTML/WML/SVG source, |
26 |
and a programmatic API to generating XML/HTML/XHTML/WML/SVG tags and fully compliant documents. |
27 |
The API provides a 'phpHtmlLib' standard API for creating documents by using powerfull widgets. |
28 |
Every object has an add() method for inserting data, and a render() method for building the output. |
29 |
</para> |
30 |
</refsect1> |
31 |
<refsect1 id="{@id features}"> |
32 |
<title>Features</title> |
33 |
<unorderedlist> |
34 |
<listitem><para>PHP classes and functions to build XML/HTML/XHTML/WML/SVG tags.</para></listitem> |
35 |
<listitem><para>Every XML/HTML/XHTML/WML/SVG tag is a PHP class. Common, standardized |
36 |
API for building tags, their attributes, and adding content to the tag (object).</para></listitem> |
37 |
<listitem><para>Renders nicely indented XML/HTML/XHTML/WML/SVG source code, for |
38 |
easy reading/debugging. To see this in action, view source on this page.</para></listitem> |
39 |
<listitem><para>"Debugging" capability - The lib renders a viewable |
40 |
version of source code in color-coded output with clickable links to help validate urls. |
41 |
</para></listitem> |
42 |
<listitem><para>Render an entire document in HTML 4.0 or XHTML 1.0 |
43 |
(STRICT, TRANSITIONAL, or FRAMESET) compatible source, by setting 1 flag.</para></listitem> |
44 |
<listitem><para>Render an entire properly formatted XML/WML/SVG document</para></listitem> |
45 |
<listitem><para>Notifies the programmer, which HTML tags are deprecated by the W3C.</para></listitem> |
46 |
<listitem><para>Utility/library functions that help build some of the more common tag objects.</para></listitem> |
47 |
<listitem><para>'Widget' system for building complex HTML/XHTML 'widgets' |
48 |
into easy to use php classes.</para></listitem> |
49 |
<listitem><para>Feature rich Form Building/Processing engine.</para></listitem> |
50 |
<listitem><para>CSS Builder object set to dynamically build CSS documents that are easily theme-able.</para></listitem> |
51 |
</unorderedlist> |
52 |
</refsect1> |
53 |
<refsect1 id="{@id license}"> |
54 |
<title>Software license</title> |
55 |
<para>phpHtmlLib is released under |
56 |
{@link http://www.gnu.org/copyleft/lesser.html GNU LGPL}</para> |
57 |
</refsect1> |
58 |
</refentry> |