Re: HTML_Object

From: Date: Wed, 21 Apr 2004 11:33:10 +0000
Subject: Re: HTML_Object
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-28205@lists.php.net to get a copy of this message
Aidan Lister wrote:
The problem with HTML_Object is: It's a useful package, but not big enough on it's own. What should we do? My suggestion: Have a set of HTML based objects perhaps bundled into a single package (HTML_Elements maybe). This package could hold the HTML_Object package, a HTML_List (for generating ordered/unordered lists - something I've got lying around) package, a package for generating XHTML elements, and any other useful nibblets. What do people think?
I think a collection for HTML elements is a good idea. Each element could come in the form of an individual driver, each of which extends a basic HTML element with the core attributes (as defined by the standards). Writing a seperate class for each (X)HTML element is not desirable, even when it is as potentially huge as the Object element. Regards, David

« previous php.pear.dev (#28205) next »