Re: Re: auto forms from mysql database
| From: | Justin Patrin | Date: | Tue, 03 Feb 2004 01:59:55 +0000 |
| Subject: | Re: Re: auto forms from mysql database | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-176645@lists.php.net to get a copy of this message | ||
Justin French wrote:
On Tuesday, February 3, 2004, at 12:19 PM, Justin Patrin wrote:What overhead and requirements? It doesn't take that much to load PEAR (mod_php will hold 'compiled' versions in memory, too) and I don't see the requirements as much either. A few hundred K of files (not all of which will be loaded at any given time) for a good framework, unified error handling, and lots of functionality that you don't have to re-invent is well worth it. -- paperCrane <Justin Patrin>Sounds like you want to look into some of the PEAR projects. DB_DataObject knows about field types and can do required fields and such. DB_DataObject_FormBuilder can give you a form to edit fields which can be customized in *any* way you want it to be. It includes facilities for hiding fields as well as *many* others. I'm also working on DB_DataObject_FormBuilder_Frontend which will give you a whole frontend to choose tables and view / edit fields from any table. http://pear.php.net/package/DB_DataObject http://pear.php.net/package/DB_DataObject_FormBuilderThey DO sound like what I want, and I've been looking at the above already, but I don't want the overhead or requirements of Pear. This will end up as a distro, and adding pear to the equation is far from desirable. Thanks anyway! Justin French