| 1 |
jonen |
1.1 |
<?xml version="1.0" encoding="iso-8859-1"?>
|
| 2 |
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
| 3 |
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
| 4 |
|
|
<head>
|
| 5 |
|
|
<!-- template designed by Marco Von Ballmoos -->
|
| 6 |
|
|
<title>phpHtmlLib Guide</title>
|
| 7 |
|
|
<link rel="stylesheet" href="../media/stylesheet.css" />
|
| 8 |
|
|
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
|
| 9 |
|
|
</head>
|
| 10 |
|
|
<body>
|
| 11 |
|
|
<div class="page-body">
|
| 12 |
|
|
<table class="tutorial-nav-box">
|
| 13 |
|
|
<tr>
|
| 14 |
|
|
<td style="width: 30%">
|
| 15 |
|
|
<a href="../phpHtmlLib/tutorial_HTMLTagClass.cls.html" class="nav-button">Previous</a>
|
| 16 |
|
|
</td>
|
| 17 |
|
|
<td style="text-align: center">
|
| 18 |
|
|
</td>
|
| 19 |
|
|
<td style="text-align: right; width: 30%">
|
| 20 |
|
|
<a href="../phpHtmlLib/tutorial_gettingstarted.pkg.html" class="nav-button">Next</a>
|
| 21 |
|
|
</td>
|
| 22 |
|
|
</tr>
|
| 23 |
|
|
<tr>
|
| 24 |
|
|
<td style="width: 30%">
|
| 25 |
|
|
<span class="detail">HTMLagClass</span>
|
| 26 |
|
|
</td>
|
| 27 |
|
|
<td style="text-align: center">
|
| 28 |
|
|
</td>
|
| 29 |
|
|
<td style="text-align: right; width: 30%">
|
| 30 |
|
|
<span class="detail">Getting Started</span>
|
| 31 |
|
|
</td>
|
| 32 |
|
|
</tr>
|
| 33 |
|
|
</table>
|
| 34 |
|
|
|
| 35 |
|
|
<div><a name=""></a><div class="ref-title-box"><h1 class="ref-title">phpHtmlLib Guide</h1> |
| 36 |
|
|
<h2 class="ref-purpose">introduction to phpHtmlLib</h2></div> |
| 37 |
|
|
<div class="ref-synopsis"><span class="author">by Walter A. Boring IV |
| 38 |
|
|
<div class="author-blurb"><a href="mailto:waboring@3gstech.com">mailto:waboring@3gstech.com</a></div></span> |
| 39 |
|
|
<div class="notes">March 2004, Walter A. Boring IV</div> |
| 40 |
|
|
<div class="release-info">(phpHtmlLib 2.4.x)</div></div> |
| 41 |
|
|
<h1 class="title">Table of Contents</h1>
|
| 42 |
|
|
<ul class="toc">
|
| 43 |
|
|
|
| 44 |
|
|
|
| 45 |
|
|
<li><a href="../phpHtmlLib/tutorial_phpHtmlLib.pkg.html#whatisit">What is phpHtmlLib ?</a></li>
|
| 46 |
|
|
|
| 47 |
|
|
<li><a href="../phpHtmlLib/tutorial_phpHtmlLib.pkg.html#features">Features</a></li>
|
| 48 |
|
|
|
| 49 |
|
|
<li><a href="../phpHtmlLib/tutorial_phpHtmlLib.pkg.html#license">Software license</a></li>
|
| 50 |
|
|
</ul>
|
| 51 |
|
|
|
| 52 |
|
|
<span><a name="whatisit"></a><h2 class="title">What is phpHtmlLib ?</h2><p>phpHtmlLib is a set of PHP classes and library functions to build, debug, |
| 53 |
|
|
and render XML, HTML, XHTML, WAP/WML Documents, and SVG (Scalable Vector Graphics) |
| 54 |
|
|
images as well as complex html 'widgets' for <a href="http://www.php.net">PHP</a> 4.1 or better.</p> |
| 55 |
|
|
<p>It provides a mechanism to output perfectly indented/readable XML/HTML/XHTML/WML/SVG source, |
| 56 |
|
|
and a programmatic API to generating XML/HTML/XHTML/WML/SVG tags and fully compliant documents. |
| 57 |
|
|
The API provides a 'phpHtmlLib' standard API for creating documents by using powerfull widgets. |
| 58 |
|
|
Every object has an add() method for inserting data, and a render() method for building the output.</p></span> |
| 59 |
|
|
<span><a name="features"></a><h2 class="title">Features</h2><li><p>PHP classes and functions to build XML/HTML/XHTML/WML/SVG tags.</p></li> |
| 60 |
|
|
<li><p>Every XML/HTML/XHTML/WML/SVG tag is a PHP class. Common, standardized |
| 61 |
|
|
API for building tags, their attributes, and adding content to the tag (object).</p></li> |
| 62 |
|
|
<li><p>Renders nicely indented XML/HTML/XHTML/WML/SVG source code, for |
| 63 |
|
|
easy reading/debugging. To see this in action, view source on this page.</p></li> |
| 64 |
|
|
<li><p>"Debugging" capability - The lib renders a viewable |
| 65 |
|
|
version of source code in color-coded output with clickable links to help validate urls.</p></li> |
| 66 |
|
|
<li><p>Render an entire document in HTML 4.0 or XHTML 1.0 |
| 67 |
|
|
(STRICT, TRANSITIONAL, or FRAMESET) compatible source, by setting 1 flag.</p></li> |
| 68 |
|
|
<li><p>Render an entire properly formatted XML/WML/SVG document</p></li> |
| 69 |
|
|
<li><p>Notifies the programmer, which HTML tags are deprecated by the W3C.</p></li> |
| 70 |
|
|
<li><p>Utility/library functions that help build some of the more common tag objects.</p></li> |
| 71 |
|
|
<li><p>'Widget' system for building complex HTML/XHTML 'widgets' |
| 72 |
|
|
into easy to use php classes.</p></li> |
| 73 |
|
|
<li><p>Feature rich Form Building/Processing engine.</p></li> |
| 74 |
|
|
<li><p>CSS Builder object set to dynamically build CSS documents that are easily theme-able.</p></li></span> |
| 75 |
|
|
<span><a name="license"></a><h2 class="title">Software license</h2><p>phpHtmlLib is released under |
| 76 |
|
|
<a href="http://www.gnu.org/copyleft/lesser.html">GNU LGPL</a></p></span></div>
|
| 77 |
|
|
|
| 78 |
|
|
<table class="tutorial-nav-box">
|
| 79 |
|
|
<tr>
|
| 80 |
|
|
<td style="width: 30%">
|
| 81 |
|
|
<a href="../phpHtmlLib/tutorial_HTMLTagClass.cls.html" class="nav-button">Previous</a>
|
| 82 |
|
|
</td>
|
| 83 |
|
|
<td style="text-align: center">
|
| 84 |
|
|
</td>
|
| 85 |
|
|
<td style="text-align: right; width: 30%">
|
| 86 |
|
|
<a href="../phpHtmlLib/tutorial_gettingstarted.pkg.html" class="nav-button">Next</a>
|
| 87 |
|
|
</td>
|
| 88 |
|
|
</tr>
|
| 89 |
|
|
<tr>
|
| 90 |
|
|
<td style="width: 30%">
|
| 91 |
|
|
<span class="detail">HTMLagClass</span>
|
| 92 |
|
|
</td>
|
| 93 |
|
|
<td style="text-align: center">
|
| 94 |
|
|
</td>
|
| 95 |
|
|
<td style="text-align: right; width: 30%">
|
| 96 |
|
|
<span class="detail">Getting Started</span>
|
| 97 |
|
|
</td>
|
| 98 |
|
|
</tr>
|
| 99 |
|
|
</table>
|
| 100 |
|
|
|
| 101 |
|
|
<p class="notes" id="credit">
|
| 102 |
|
|
Documentation generated on Thu, 1 Apr 2004 09:37:05 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0RC2</a>
|
| 103 |
|
|
</p>
|
| 104 |
|
|
</div></body>
|
| 105 |
|
|
</html>
|