News Feed
Sections




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

PHPBuilder.com:
Smarty PHP Template Engine Building PHP Apps in a Flash
August 10, 2011 @ 10:29:12

On PHPBuilder.com today there's a new tutorial from Octavia Anghel introducing you to Smarty, a PHP-based templating engine that can make creating the layouts and output of your site simpler and easier to reuse.

Smarty is a template engine for PHP whose main goal is to facilitate a very useful way to separate the business logic from the presentation logic. This article introduces Smarty and demonstrates how to install the template, create an application from scratch and interact with a database.

Installation of the tool is simple and using it is as easy as including the Smarty class, configuring it a bit through method calls and outputting to a template (tpl) file. A both a "Hellow World" and slightly more complex example using database results to build a table are included.

0 comments voice your opinion now!
smarty tutorial introduction hellowworld database table template


blog comments powered by Disqus

Similar Posts

PHPBuilder.com: PHP Development on the Facebook Platform: Building Your First App

Jonathan Snook's Blog: Elemental: Conditional Content with CakePHP

Coder on Code: Design Patterns in PHP: Adapters

IBM developerWorks: Understanding the Zend Framework,Part 4: When there is no feed, Zend_HTTP_Client

Tiger Heron Blog: First steps with PHP - booting a script, Part 1


Community Events

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


community list project interview series api introduction symfony yii2 php7 composer laravel example opinion part2 programming framework language application podcast

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