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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.