--- On Sun, 6/8/08, Ethan Whitt <[EMAIL PROTECTED]> wrote:

> From: Ethan Whitt <[EMAIL PROTECTED]>
> 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

Reply via email to