Re: New Package: HTML_DB

From: Date: Fri, 25 Apr 2003 08:00:13 +0000
Subject: Re: New Package: HTML_DB
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-15504@lists.php.net to get a copy of this message
<echo15@delirium.ch> wrote : > Markus Wolff wrote: >> If I understood the description correctly, DB_Form´s approach is a >> little different from simply combining DB_DataObjects with >> HTML_Quickform - you don´t need to create a class that defines all >> fields, you only specify a table name, the class then reads all field >> names and types from the table and produces a fitting form. Did I get >> you right here, Sven? > > Yes. The idea is to simply pick a table, then create a form from it > very much the way you do with pure HTML but with extra features and - > voilà - there's your front end to the table. It's supposed to be > flexible, secure (no form/SQL hacks) and safe (input checking), yet > easy to use and fast to deploy. IMO, you can map the tableinfo() method of PEAR DB to a QuickForm object. I have already done this before, the main problem is that tableinfo() don't return the same information for every backends. Maybe MDB would be handier for this. I don't know which way you use ATM. Bertrand Mansion Mamasam

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