RE: [PHP] Self-Process php forms or not?
| From: | MEM | Date: | Fri, 24 Apr 2009 13:46:36 +0000 |
| Subject: | RE: [PHP] Self-Process php forms or not? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-291938@lists.php.net to get a copy of this message | ||
Thanks to all for your replies.
I'm more elucidated about the possibilities now. I have seen here a lot of
keywords to start digging. :)
Thanks once again,
Márcio
> -----Original Message-----
> From: Tony Marston [mailto:tony@marston-home.demon.co.uk]
> Sent: sexta-feira, 24 de Abril de 2009 14:20
> To: php-general@lists.php.net
> Subject: Re: [PHP] Self-Process php forms or not?
>
> Having a script that is self executing - when it posts back to itself
> instead of a separate script - has absolutely nothing to do with the
> separation of business and presentation. It is possible for a single
> script
> to use separate components for the presentation, business and data
> access
> layers.
>
> --
> Tony Marston
> http://www.tonymarston.net
> http://www.radicore.org
>
> ""MEM"" <talofo@gmail.com> wrote in message
> news:002b01c9c4dd$08569bc0$1903d340$@com...
> > So, on your opinion, we can call that method, on some circumstances,
> a
> > good
> > practice?
> >
> > What about the moto: "let's separate business from presentation?"
> >
> >
> > Thanks once again,
> > Márcio
>
>
> > -----Original Message-----
> > From: Sándor Tamás (HostWare Kft.) [mailto:sandortamas@hostware.hu]
> > Sent: sexta-feira, 24 de Abril de 2009 13:53
> > To: 'PHP-General List'
> > Subject: Re: [PHP] Self-Process php forms or not?
> >
> > I think the main advantage is that if something goes wrong processing
> > the
> > datas, you can show the form again without redirecting again.
> >
> > And if you have to change the behavior of the page, you have to
> change
> > only
> > one file instead of two.
> >
> > SanTa
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php