That looks nice, but how do I get to the point where I can understand
how to use it?

I have also looked at the Smarty site <>, but
their documents assume significant experience in building and using

Where can I find guidance or tutorials on how to do all of this,
starting with only a rudimentary knowledge of HTML and PHP. It would be
best if they also focused on procedural rather than object oriented

Bob McConnell

-----Original Message-----
From: Virgilio Quilario [] Sent: Wednesday, March 18, 2009 10:36 AM
Subject: [PHP] Smarty Tips and Techniques

Hi list,

Just wanna share my collection of Smarty scripting tips and techniques.
Smarty is a template engine for PHP that you can use to separate data
and logic from web design.
This way programmers can work on the php scripts and designers can
work on the templates for the same web site.

Here is the link:

Hope you find it useful.


I have stared using smarty myself in a recent project I am still making and I'll have to say that it has its virtues.

Look at a simple example in the smarty's site and use the manual for any questions. You will probably find some stuff by googling.

The templates (simply put) are actually html-like that has some php variables inside you may assign before displaying the actual template.
This way you customize the template to output what you need.

Above that you may start using the statements to automatically build forms, tables etc

I like the fact that there is a cache and that the templates get "compiled" which make them faster to process.

Nevertheless you need time to get familiar with the smarty way of thinking as with all frameworks and template engines you need to use.


PHP General Mailing List (
To unsubscribe, visit:

Reply via email to