News Feed
Sections




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

Shameer's Blog:
An Introduction to Smarty 3
October 07, 2010 @ 11:15:49

On his blog today Shameer has posted an introduction to Smarty 3, the upcoming version of the popular PHP-based templating engine. He talks about some of the improvements that have been made since version 2 in several categories including:

  • plugins
  • file structure
  • variable scope/storage
  • template inheritance
The Smarty 3 API (as of beta 8 ) has been refactored to a syntax geared for consistency and modularity. The Smarty 2 API syntax is still supported, butwill throw a deprecation notice. You can disable the notices, but it is highly recommended to adjust your syntax to Smarty 3, as the Smarty 2 syntax must run through an extra rerouting wrapper.

Code snippets are included for things like the new templating syntax, object handling, assigning variables and working with the inheritance now available.

1 comment voice your opinion now!
smarty version introduction tutorial feature


blog comments powered by Disqus

Similar Posts

Kevin van Zonneveld's Blog: Convert anything to Tree Structures in PHP

IBM developerWorks: Developing PHP the Ajax way, Part 2 - Back, Forward, Reload

NetTuts.com: Basecamp Style Subdomains With CodeIgniter

php[architect]: Build a VM for Drupal 8 with Vagrant

Deepak Radhakrishnan\'s Blog: Configuring Apache - PHP - MySQL on Windows (WAMP Configuration)


Community Events





Don't see your event here?
Let us know!


library community podcast introduction symfony interview voicesoftheelephpant release mvc laravel composer update version security series package opinion framework language tool

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework