Re: DBDOFB: Proposal for new configuration option
| From: | Justin Patrin | Date: | Tue, 31 Jan 2006 21:35:30 +0000 |
| Subject: | Re: DBDOFB: Proposal for new configuration option | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-41157@lists.php.net to get a copy of this message | ||
On 1/31/06, arnaud sellenet bodin <demental@free.fr> wrote:
> > I see. I don't see that as being particularly useful for most
> > use-cases. In fact, I can think of no real reason to have such a
> > thing. If the connections must exist it doesn't make too much sense to
> > use crossLinks in the first place...
> >
> > Then again, do understand your specific case, it just doesn't seem
> > all that generally useful. I'd raher not include it for now as FB is
> > too monolithic already. The next version (if it ever happens) will be
> > much more modular and allow for new classes for different type of
> > elements. I haven't had the time yet to finalize the API (I've barely
> > started). If you're interested, I can show y ou the code so far.
> >
> > --
> > Justin Patrin
> >
> > --
> > PEAR Development Mailing List (http://pear.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
> Ok I understand, for sure if the next version will more flexible and
> expandable
> there's no reason to make the current version more and more heavycode...
>
> Anyway I'll try to implement this option to my dataObject sub-class
> instead of hacking FB, to avoid bad surprises
> upgrading to the next release of FormBuilder.
>
> Will it use the same API or will it be another package ? (formBuilder2
> ?)
>
No, it will be an entirely new API. It also shouldn't be bound to
HTML_QuickForm or DB_DataObject, it will be a generic FormBuilder. At
least, that's the idea.
> I'd be really interested indeed to know more about the next version,
> hopefully I could
> help although I don't consider myself skilled enough yet to get
> involved in the base structure
> of such a package (sorry if my English is not clear).
>
You can get a tarball of my source here:
http://pear.reversefold.com/FormBuilder2.tgz
Or you can view the source online at:
http://pear.reversefold.com/FormBuilder2/
Or you can view a working example at:
http://pear.reversefold.com/FormBuilder2/example/
It's very limited, but it has a basic framework set up. Let me know
what you think if you check it out.
--
Justin Patrin