Re: DB_DataObject_FormBuilder

From: Date: Sun, 14 Dec 2003 13:28:17 +0000
Subject: Re: DB_DataObject_FormBuilder
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9510@lists.php.net to get a copy of this message
Levan wrote:
I am fresh user of PEAR. Can anyone send me a full example on how to use DB_DataObject_FormBuilder to build html form based on db tables data and to process than 'insert', 'update' commands? In other words could anybody give the pattern of using DB_DataObject_FormBuilder?
Hi Lev, first of all, you should familiarize yourself with the basic usage of DB_DataObject and HTML_QuickForm. FormBuilder does not completely free you from having to know how these packages work, it just makes it easier to use them together to quickly produce working applications. I would recommend to first take a look at how QuickForm works: http://pear.php.net/manual/en/package.html.html-quickform.php Then, familiarize yourself with DB_DataObject, and generate the class files for your database: http://pear.php.net/manual/en/package.database.db-dataobject.php Finally, study the FormBuilder example to see how it can aid you in rapid prototyping of database-driven applications: http://cvs.php.net/cvs.php/pear/DB_DataObject_FormBuilder/examples/ HTH, Markus

« previous php.pear.general (#9510) next »