Re: Is Pear RADy ?
| From: | Justin Patrin | Date: | Tue, 20 Jul 2004 16:44:37 +0000 |
| Subject: | Re: Is Pear RADy ? | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-13774@lists.php.net to get a copy of this message | ||
On Tue, 20 Jul 2004 09:03:17 +0200, Olivier Guilyardi <ml@xung.org> wrote:
> Justin Patrin wrote:
>
> > Well, I made a package which isn't actually in PEAR at the moment, but
> > it is developed as if it was. I haven't worked on it in some time, but
> > it still has the ground-work for a DB data editing app. It's based on
> > DB_DataObject_FormBuilder and some Horizontal form renderers I cooked
> > up for HTML_QuickForm.
> >
> >
> > http://www.reversefold.com/PEAR/DB_DataObject_FormBuilder_Frontend/src/
>
> That is very nice :o) I droped the tarball, got index.php to point to my
> own ini file, and it just works(tm)
>
> $frontend = new DB_DataObject_FormBuilder_Frontend();
> $frontend->display();
>
> This is _efficient_
>
> > Right now, it's mostly its own stand-alone package, but the pieces are
> > meant to be easily seperated from the app. If you're interested, I
> > wouldn't mind working with you on making it better.
>
> I'm interested ; I'm gonna use that for the prototype I'm about to code.
> We shall make it better ; what about calling it DB_DataObject_Pager, or
> some other shorter name ?
>
Well, I called it what I did because it's built on FormBuilder. Part
of the "niceness" of it is that it also uses the link display
functionality in the outputted table. I'm sure I could make it better
to use, possibly even use Structures_DataGrid for the output.
You can also affect how the table is displayed and how the form is
displayed / works through the config options of FormBuilder. Such as
defining the fields to render or the use editable fields *per-table*.
You just add it to the DataObject and it magically appears in the
form.
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--