Re: Templates Are Driving me Nuts

From: Date: Tue, 13 Jul 2004 14:46:16 +0000
Subject: Re: Templates Are Driving me Nuts
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-190354@lists.php.net to get a copy of this message
A template system allows you to (in most cases) use a special language, different than PHP, to write your HTML. At the simplest level, template languages replace special markers with content from PHP. More complicated types involve looping and other contro structures (if, then, else, etc.). Basically a template system allows you to seperate your display code from the rest, allowing quick and easy updating of the look and feel of the site without changing any (or much) of your PHP code. This is assuming you've architected it well, of course. ;-) On Tue, 13 Jul 2004 16:39:04 +0300, EE <ee@bjaili.com> wrote: > Dears, > > Please help. This template thing is driving my nuts. I though maybe when > I read more articles things will clear up; however, things got even > worse. Every article writer has a different idea. Can anyone explain to > me what are Templates for? What are the advantages of using them? If I > use a third party template, will my site have a different look or is it > only a parser that will take my designed template and data and combine > them. I really don't know. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > !DSPAM:40f3e49a72101927516234! > > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin--

« previous php.general (#190354) next »