Re: formbuilder_frontend question
| From: | Justin Patrin | Date: | Mon, 10 Apr 2006 17:28:54 +0000 |
| Subject: | Re: formbuilder_frontend question | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23610@lists.php.net to get a copy of this message | ||
On 4/10/06, j.raggam@skillz.biz <j.raggam@skillz.biz> wrote:
> hi all,
>
> i have some question regarding to DB_DataObjects_Formbuilder_Frontend
> from the pearified collection.
The PEAR lists aren't really the right place for this as
DB_DO_FB_Frontend isn't a PEAR package. I'll still respond here,
though, in case anyone else is interested.
>
> the software is really great and seems to be pretty stable - but not
> surprisingly, it does not fit perfectly my needs.
Wel, it is a pretty simplistic package. It does have a good # of
options, though. ;-)
>
> i think i have to adapt it to fit my needs - i also would contribute the
> code afterwards.
> but maybe a new release is planned, so i have some questions:
>
> - when is the next release of the formbuilder_frontend planned?
Looks like I've made a few changes so I'll release a new version soon.
You can see my CVS for this package here:
http://pear.reversefold.com/horde/chora/browse.php?f=%2FDB_DataObject_FormBuilder_Frontend%2F
> - which new features will be added?
The only things I've added since the last release were a few bugfixes,
mostly for Structures_DataGrid.
>
> some feature requests:
> - ChooseTable options
> - option to order the tables displayed
Already supported. ;-) See
http://pear.reversefold.com/dokuwiki/doku.php?id=pear:db_dataobject_formbuilder_frontend:documentation#choosetable_options
You want tablesToList.
> - option to rename tables displayed
Already supported. Use fb_formHeaderText in the DO.
> - option to disable the tables listing (e.g. to include a own tables
> listing in a frameset)
Already supported, although probably not in the way you think. This
package is broken up into multiple controller packages precisely to
allow you to break them up and use them seperately or however you
want. Just include the controller you want to use, pass in the options
you want, and display it.
> - ShowTable options
> - option to order fields displayed in datagrid
Already done. Set the field ordering in your DO with the normal FB
options (fb_fieldsToRender).
> - option to rename fields displayed
Already done. Set fb_fieldLabels.
> - separation of logic and display code (templatesystem)
This is a bit harder. Well, a lot harder IMHO. Most of the output of
this package is from other packages, such as Structures_DataGrid and
HTML_QuickForm (through DB_DataObject_FormBuilder). These packages
have their own ways of rendering things.
It might be useful to separate the controllers and views into seperate
classes to allow for easier customizability of the output, but this
will only add a bit as there is very little HTML output in these
classes (look for yourself, it's almost all from QF and SDG).
>
> and maybe some more, ...
>
> greetings from graz/austria
>
> hannes
>
--
Justin Patrin