Re: How to structure code for forms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- On Sun, 6/8/08, Ethan Whitt <ethan.j.whitt@xxxxxxxxx> wrote:

> From: Ethan Whitt <ethan.j.whitt@xxxxxxxxx>
> Subject:  How to structure code for forms
> To: php-general@xxxxxxxxxxxxx
> 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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux