Packt Publishing Community, Experience, Distilled

Smarty PHP Template Programming and Applications

HomeBooksSupportFreeAuthorsAward
BROWSE SEARCH SHOPPING CART CHECKOUT

 
SEARCH

Search our Site

 
Smarty PHP Template Programming and Applications
 
Smarty PHP Template Programming and Applications A step-by-step guide to building PHP web sites and applications using the Smarty templating engine
 
  • Bring the benefits of Smarty to your PHP programming
  • Give your designers the power to modify content and layout without PHP programming
  • Produce code that is easier to debug, maintain, and modify
  • Useful for both Smarty developers and users
 
Available Now
Cover price   $39.99
Standard   $35.99 save 10%
Multi-buy Discount   $32.79 save 18% order two or more items
Change Currency   what is this?
Free shipping! US, UK, Europe & selected Asian countries
Where else can I buy this book?

Also available from:
READY TO BUY?

You can change your mind later
Returns Information

eBook Version
READY TO BUY?



eBooks are non returnable and non refundable.
Packt eBook Licence agreement

Smarty PHP Template Programming and Applications - PDF eBook
Adobe PDF eBook
Smarty [eBook]
File size: 5.39 MB
Packt eBooks are a low cost and immediate companion or alternative to print books. Packt eBooks can be printed. Copying is disabled. They are password protected with your email address.
Packt eBook User Guide

Buy two or more eBooks and get 35% off

eBook only
$31.99
$27.19
Save 15% off eBook
Book and eBook bundle $67.18
$40.79
 
Save 10% off Book & 85% off eBook

Code download
Request a Review Copy
Send us feedback on this title
Ask a question about this title
 
Chapter 6: Smarty Functions [345KB]

Table of Contents

Book Details
Language English
Paperback 250 pages [191mm x 235mm]
Release date April 2006
ISBN 190481140X
ISBN 13 978-1-904811-40-4
Author(s) Joao Prado Maia, Hasin Hayder, Lucian Gheorghe
Topics and Technologies PHP/MySQL, Open Source, Web Development


In Detail
Smarty is a templating engine for PHP. Designers who are used to working with HTML files can work with Smarty templates, which are HTML files with simple tags while programmers work with the underlying PHP code. The Smarty engine brings the code and templates together. The result of all this is that designers can concentrate on designing, programmers can concentrate on programming, and they don't need to get in each others way so much.
Even if you are developing a site on your own, Smarty is a powerful way to make your code clearer to you and others, as well as easier to debug and modify later.

Read the Table of Contents from Smarty PHP Template Programming and Applications


Visit the Free Online Edition for Smarty PHP Template Programming and Applications and learn more about the book and discover what each chapter from this book has in store.

You can now download "Smarty Cheat Sheet" for free: http://smartybook.packtpub.com/




What you will learn from this book
This book is a comprehensive guide to all aspects of using Smarty. It will help you to:
  • Install and configure Smarty on your Web server
  • Understand how Smarty affects your web site architecture, and build site foundations that make the most of what Smarty offers
  • Designers will learn to work with templates that contain variables and logic, to modify layouts or content of Smarty web sites
  • See how Smarty caching can improve the performance of your sites
  • Develop custom Smarty functions and plug-ins to incorporate into your templates
Approach
Using a step-by-step approach based on realistic examples, the expert authors show you how to use Smarty in your own PHP development.
Who this book is written for
This book is written for PHP developers who want to use Smarty templates in their development, and for designers who are working with PHP developers who are using Smarty.

Author(s)
Joao Prado Maia
João Prado Maia is Lead Software Developer with Alert Logic, Inc. and was previously with MySQL AB as the lead developer behind Eventum, an issue tracking system, and MySQL Network, a subscription product for everything related to MySQL services. He has been working with PHP, Smarty, and PEAR for several years, and maintains phpbrasil.com, one of the most popular PHP-related community sites in Brazil. He is also interested in fostering a community of PHP developers in Houston by organizing the Houston PHP Users Group at http://www.houstonphp.org.
Hasin Hayder

Hasin Hayder graduated in Civil Engineering from the Rajshahi University of Engineering and Technology (RUET) in Bangladesh. He is a Zend-certified Engineer and expert in developing localized applications. He is currently working as a Technical Director in Trippert Labs and managing the local branch in Bangladesh. Beside his full time job, Hasin writes his blog at http://hasin.wordpress.com, writes article in different websites and maintains his open source framework Orchid at http://orchid.phpxperts.net. Hasin lives in Bangladesh with his wife Ayesha and his son, Afif.


Lucian Gheorghe
Lucian Gheorghe has just joined the Global NOC of Interoute, Europe's largest voice and data network provider. Before Interoute, he was working as a senior network engineer for Globtel Internet, a significant Internet and Telephony Services Provider to the Romanian market He has been working with Linux for more than 8 years putting a strong accent on security for protecting vital data from hackers and ensuring good quality services for internet customers. Moving to VoIP services he had to focus even more on security as sensitive billing data is most often stored on servers with public IP addresses. He has been studying QoS implementations on Linux to build different types of services for IP customers and also to deliver good quality for them and for VoIP over the public internet. Lucian has also been programming with Perl, PHP and Smarty for over 5 years mostly developing in-house management interfaces for IP and VoIP services.
   




© Packt Publishing Ltd 2008

RSS