Jump to content

[SOLVED] php + templates


phorcon3

Recommended Posts

I think Smarty makes a pretty good stand on their site: http://www.smarty.net/whyuse.php

 

The big thing, is it allows separation of the 'php programming' and the 'design'. If you are doing everything, it may not be worth your while. But if you are running a project with separate php coders and designers, it will probably make things easier to manage.

Link to comment
https://forums.phpfreaks.com/topic/89405-solved-php-templates/#findComment-457916
Share on other sites

it does have some caching mechanisms, but i think they are more for speeding up the extra layer processing needed...

 

but i'm not very confident in that answer...others more familiar with smarty, please correct me

 

The technique behind using a template is definitely not for speeding up processing time. It is really for speeding up development time. Rhodesa, your comment is correct in that the caching mechanisms within Smarty allow for caching and eve setting up cache timers in order to speed up the process, but you still have the layer of Smarty to contend with.

 

As far as large templating engines are concerned, I love Smarty, but it is like trying to wield an 8000 lb gorilla at times. It does a TON more than most people would use it for.

Link to comment
https://forums.phpfreaks.com/topic/89405-solved-php-templates/#findComment-457990
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.