Can anyone tell me what are templates?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
nasr
Forum Newbie
Posts: 13
Joined: Wed Jun 25, 2003 9:29 pm
Location: Cali

Can anyone tell me what are templates?

Post by nasr »

hello,

how are u today? :)

i have a question.

I need to know what are templates and how do they work?

i hope i can find the answers here.

thank u very much in advance.


nas :roll:
User avatar
cactus
Forum Regular
Posts: 343
Joined: Tue Jun 10, 2003 4:16 am
Location: UK

Post by cactus »

Templates is a generic term for the separation of data and presentation, as you advance in the development of PHP driven sites/portal you will find that maintenance of both your backend (PHP) and frontend (markup) becomes quite difficult if you have a signifiicant amount of code interspersed in your presentation (markup).

There are quite a few ready made templating systems on the net, and on the PHPDN Member sites:

Ref : http://use.devnetwork.net/use.php?w=p&q=templates

Hope this helps.

Regards,
nasr
Forum Newbie
Posts: 13
Joined: Wed Jun 25, 2003 9:29 pm
Location: Cali

Post by nasr »

i c

thanx cactus

i appreciate your help
Post Reply