Re: Anyone used Quickform with the "dispatch" model - one page with conditional includes ?
| From: | Justin Patrin | Date: | Tue, 27 Sep 2005 16:33:18 +0000 |
| Subject: | Re: Anyone used Quickform with the "dispatch" model - one page with conditional includes ? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21115@lists.php.net to get a copy of this message | ||
On 9/27/05, l Burnerheimerton <lburnerheimerton@yahoo.com> wrote:
> I'm thinking about re-writing projects using the
> dispatch model which is, as I understand it, using ONE
> page in the document root and conditionnaly include
> other files which are out of the document root.
>
> I have lots of pages using Quickform and I wonder if
> anyone uses this programming model with Quickform and
> what their experience has been.
>
IMHO this makes absolutely no difference for QF. I, for instance, use
this kind of model with an online shopping cart which loads and runs
seperate controllers depending ont he request. There's no reason that
QF would have a problem with this. You just have to make sure to put
the right hidden form values in the form (or GET values in the action)
to allow your dispatcher to go to the right processing page.
--
Justin Patrin