DB DataObject FormBuilder
Encyclopedia : D : DB : DBD : DB DataObject FormBuilder
DB_DataObject_FormBuilder is a package in PEAR which creates forms for insertion and editing of data in a database. Its default output is in HTML, but it can also be used for other output formats (GTK+, XUL, etc).
The type of the field in the database is automatically checked and a form element created which is correct for that type. For example, a text field gets a text box. A long text field gets a textarea. Number fields can only have number entered. Links (Foreign Keys) have a select box of option.
In addition, there are many more complicated types of fields that are supported, such as many-many links and many-many-many links. There are also many configuration options.
The PEAR page for DB_DataObject_FormBuilder is at: http://pear.php.net/package/DB_DataObject_FormBuilder
Documentation is available here: http://opensource.21st.de/13.html
From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.
