Re: Anyone used Quickform with the "dispatch" model - one page with conditional includes ?

From: Date: Tue, 27 Sep 2005 19:07:39 +0000
Subject: Re: Anyone used Quickform with the "dispatch" model - one page with conditional includes ?
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-21117@lists.php.net to get a copy of this message
On 9/27/05, l Burnerheimerton <lburnerheimerton@yahoo.com> wrote: > > 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 > > > > Can you give me an example of what you mean > specifically by "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". > When you use one script to display multiple things you need to know which thing to display. This is usually via GET or POST fields. I was just mentioning that you have to make sure to include these in your forms somehow. -- Justin Patrin

« previous php.pear.general (#21117) next »