| PEAR Announce 2005-05-26, 8:59 pm |
| The new PEAR package DB_DataObject_FormBuilder-0.16.0 (alpha) has been released at http://pear.php.net/.
Release notes
-------------
Sorry to bring us back down to alpha, but I just changed the driver architecture. We should be back up to beta within a few releases.
Changes
* BC Break! The QuickForm driver no longer extends the FormBuilder main class
** This means that extended versions of FormBuilder are no longer tied to a specific driver, however
** If you have created your own FormBuilder extended class in the past you now need to alter it to
** extend DB_DataObject_FormBuilder instead of DB_DataObject_FormBuilder_QuickForm
** If you are instantiation your FormBuilder object with "new" you should switch to using DB_DataObject_FormBuilder::create()
Fixes
* validateOnProcess no longer fails when linkNewValue is used
New Features
* There are now callback options to allow custom functions to be set for:
** preGenerateForm
** postGenerateForm
** preProcessForm
** postProcessForm
** prepareLinekdDataObject
** Note: useCallTimePassByRef is now needed only if you use the FormBuilder parameter in the getForm callback
* If you set the 'collapse' key of a crossLink array to true, the unselected crossLink records will be hidden until you click the "Show All" link beneath them. This should help a lot for large amounts of records in crossLinks.
Package Info
-------------
DB_DataObject_FormBuilder will aid you in rapid application development using the packages DB_DataObject and HTML_QuickForm. For having a quick but working prototype of your application, simply model the database, run DataObject's createTable script over
it and write a script that passes one of the resulting objects to the FormBuilder class. The FormBuilder will automatically generate a simple but working HTML_QuickForm object that you can use to test your application. It also provides a processing method
that will automatically detect if an insert() or update() command has to be executed after the form has been submitted. If you have set up DataObject's links.ini file correctly, it will also automatically detect if a table field is a foreign key and will
populate a selectbox with the linked table's entries. There are many optional parameters that you can place in your DataObjects.ini or in the properties of your derived classes, that you can use to fine-tune the form-generation, gradually turning the pro
totypes into fully-featured forms, and you can take control at any stage of the process.
Related Links
-------------
Package home: http://pear.php.net/package/DB_DataObject_FormBuilder
Changelog: http://pear.php.net/package/DB_Data...download/0.16.0
Download: http://pear.php.net/get/DB_DataObje...lder-0.16.0.tgz
Authors
-------------
Norbert Mocsnik (developer)
Markus Wolff <wolff@21st.de> (lead)
Justin Patrin <papercrane@reversefold.com> (lead)
|