Re: Re: To jump or not to jump?

From: Date: Tue, 21 Aug 2001 21:13:34 +0000
Subject: Re: Re: To jump or not to jump?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-63773@lists.php.net to get a copy of this message
> > 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

« previous php.general (#63773) next »