Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Codewalkers:
Getting Into Smarty
Dec 29, 2003 @ 15:09:07

Once most coders get into the more advances realm of PHP development, they quickly realize that they're going to need some kind of simple system to template the pages of their site. Enter the Smarty template system. And, to get you started with this popular templating engine, Codewalkers.com has a new tutorial to help.

With this tutorial I aim to explain how to use the Smarty Template Engine in the simplest terms so even beginning coders of PHP can understand how to use it as their primary template engine. By reading this tutorial I presume that all of you have the idea of what Smarty can do for you and how it is an amazing template engine which has speed, portability and stability.

He starts off with a discussion of what Smarty is and how to get it installed. From there, he shows you how to create the templates and libraries that you'll use later on to make your templated site. The Smarty pseudo-code is next on his list with a few examples using the libraries from before. Pulling it all together, he gives some more advanced functionality - like connecting to a database.

tagged:

Link:


Trending Topics: