Get my free 2+ hour PHP programming course. Includes 16 videos to help you learn the essentials of PHP. Click here to get the free course:
In this video, learn how Smarty Template engine provides a presentation framework when working with PHP.
Smarty is a template engine for PHP that provides a presentation framework.
– Easy to use, extensible, free
– Smarty is NOT an MVC framework
Separates design and programming responsibilities.
– Designers only access templates — the View or presentation layer
– Programmers only access code
The Smarty template system includes:
– Plug-in architecture
– Built-in functions
Template files are created with “.tpl” extension containing presentation code HTML, other output code, and space-holders for data.
– Values are passed to the template for output
Get the full course on PHP for Beginners here:
Get the full course on PHP Advanced course here:
Watch the entire PHP tutorials:
Learn how to use Bootstrap to create a responsive website:
AngularJS playlist here:
Stay in touch: