News Feed
Sections




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

RawSEO Blog:
Using smarty templates
July 09, 2009 @ 14:33:41

On the RawSEO blog today Justin looks at templates in Smarty and how they can help you make more reusable sections of the page.

At its most basic function, the application code collects content, assigns it to the template engine and displays it. The content might be something like the headline, tagline, author and body of a newspaper article. The application code has no concern how this content will be presented in the template.

Smarty templates can not only be used to increase the overall speed of your php scripts through caching (more about caching can be found ere), but make it easier to develop large-scale applications through the separation of HTML code and php script.

0 comments voice your opinion now!
introduction template smarty


blog comments powered by Disqus

Similar Posts

PHPit.net: PHP 5 Objects, Patterns and Practice

Dev.Umpirsky.com: Use Poedit to Extract Translations from Twig Templates

Rob Allen's Blog: An introduction to Zend\EventManager

International PHP Magazine: Poll Question: Which Feature Is Not Suitable for phpDocumentor?

PHPBuilder.com: The ABC's of PHP Part 3 - Basic Script Building in PHP


Community Events





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


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

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