Re: How to structure code for forms
| From: | Nitsan Bin-Nun | Date: | Sun, 08 Jun 2008 11:45:01 +0000 |
| Subject: | Re: How to structure code for forms | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-275120@lists.php.net to get a copy of this message | ||
Exectly,
I fall in love with zend_form but you can use cakephp or joomla and etc
HTH
On 08/06/2008, Nirmalya Lahiri <nirmalyalahiri@yahoo.com> wrote:
>
> --- On Sun, 6/8/08, Ethan Whitt <ethan.j.whitt@gmail.com> wrote:
>
> > From: Ethan Whitt <ethan.j.whitt@gmail.com>
> > Subject: [PHP] How to structure code for forms
> > To: php-general@lists.php.net
> > Date: Sunday, June 8, 2008, 4:31 PM
> > I am new to PHP and have been researching ways to structure
> > code for forms.
> > I have found a
> > few basic tutorials that present, validate & present
> > errors, and then
> > process form data. I was
> > wondering if anyone could share their approach on how they
> > structure these
> > actions? Ideally,
> > I would like to separate each action in separate functions.
> > Thanks in
> > advance...
> >
> > Regards
> > Ethan
>
>
>
> Hi,
> I think it is better for you to follow MVC design pattern in PHP.
> Search internet for any good manual on MVC design pattern. You can read the
> manuals of any good PHP framework also like Joomla, CakePHP........ These
> frameworks are also follow MVC design pattern.
>
> ---
> Nirmalya Lahiri
> [+91-9433113536]
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>