I’m currently using the Smarty templating system for our production site, but am curious how much of a performance hit I’m taking by using this templating engine. Are there faster alternatives? Is there a way to code so I may not have to use such a templating system? Thank you!
I’m currently using the Smarty templating system for our production site, but am curious
Share
You don’t need an external templating engine to separate code from presentation, you just need logic for that. PHP itself is perfectly fine as a template engine — just don’t mix PHP code and HTML. Template engines are just easier to learn for a non programmer web designer.