Jump to content

Is it necessary to learn Smarty?

Go to solution Solved by exeTrix,

Recommended Posts

  • Solution

I think that Smarty bridges the gap between developers and designers. It also facilitates the separation of business logic and template code because you'll usually have a PHP file and one or more views/templates. The latter of which can be achieved easily though using a modern framework, so in the second instance it'd probably be overkill to use it if that was the only benefit.


Essentially, it's a template parser that allows the site builder (this can be a designer with only HTML knowledge) to add loops etc to pages without having to know PHP syntax.


Just bear in mind, if you're planning on using Smarty there will be a substancial overhead involved as files are being parsed twice before output is generated.

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.

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.