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 <[EMAIL PROTECTED]> 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-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php