Possible Duplicate:
Why should I use templating system in PHP?
I'm new to Smarty.
Why are people showing interest in this framework? What are the advantages of it? Also, a lot of people avoid templates, what is the reason?
What is the real reason people choose the Smarty templating system?
How much really smarty best for web development?
IMHO the best way to use a template engine is using of regular HTML in .php files as a templates.
This has been asked and discussed before in many shades, this is a link list to the most popular ones:
Why should I use templating system in PHP?
Smarty, the best choice?
What’s the best way to separate PHP Code and HTML?
Smarty benchmark, anyone?
精彩评论