RE: [PHP] Re: To jump or not to jump?
| From: | Maxim Maletsky | Date: | Wed, 22 Aug 2001 01:10:41 +0000 |
| Subject: | RE: [PHP] Re: To jump or not to jump? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-63837@lists.php.net to get a copy of this message | ||
Hey, we've got an article about it on PHPBeginner.com
http://www.phpbeginner.com/columns/jason/echo
Cheers,
Maxim Maletsky
www.PHPBeginner.com
-----Original Message-----
From: Alexander Skwar [mailto:ASkwar@DigitalProjects.com]
Sent: Wednesday, August 22, 2001 6:14 AM
To: Gabe da Silveira
Cc: php-general@lists.php.net
Subject: Re: [PHP] Re: To jump or not to jump?
> > From: sebfrost@icmtb.co.uk (Seb Frost)
> > Newsgroups: php.general
> > Date: Tue, 21 Aug 2001 20:10:38 +0100
> > To: <php-general@lists.php.net>
> > Subject: To jump or not to jump?
> >
> > Is it good practice (sp?) to jump in and out of php whenever you've got
some
> > plain html to write, or should one write an entire file in php? I'm
leaning
> > towards the latter, unless there's a huge chunk of html code.
I'm starting to do it the right way (tm). That is, I start to not do it
like you do anymore, but instead try to use templates as much as
possible. This doesn't clutter up your PHP code with HTML and thus
makes it easier to read.
I use Smarty (www.phpinsider.com). I haven't tested anything else and
find it quite easy to use.
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepage: http://www.digitalprojects.com | http://www.iso-top.de
iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 5 hours 10 minutes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net