Re: DBDOFB: Proposal for new configuration option
| From: | Justin Patrin | Date: | Tue, 31 Jan 2006 19:53:47 +0000 |
| Subject: | Re: DBDOFB: Proposal for new configuration option | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-41154@lists.php.net to get a copy of this message | ||
On 1/31/06, arnaud sellenet bodin <demental@free.fr> wrote:
> >
> > So this is an information only thing then? It only displays
> > extraFields for crossLinks which are currently connected?
> >
>
> No, this is not for information only, but the purpose is just to bring
> better experience for the end-user.
>
> This option is useful only if every connection MUST exist.
>
> So instead of having to checkin all the checkboxes to make the
> connection, these checkboxes are replaced by hidden fields, which means
> that when the form is submitted, every possible connections are created
> (or updated).
>
> In my example in the last email, every product is available in any
> zone, so in the resulting products form , instead of checking each line
> and fill the price field, you just have to fill the price field for
> each zone, the connection checkbox is made invisible and checked.
>
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