Book Contents
Preface
Chapter 1: Introduction to Smarty
Chapter 2: Smarty Site Architecture
Chapter 3: What Designers Need to Know
Chapter 4: Creating a Template
Chapter 5: Advanced Templating
Chapter 6: Smarty Functions
Chapter 7: Debugging for Designers
Chapter 8: Built-in Smarty Variables and Methods
Chapter 9: Caching and Performance
Chapter 10: Extending Smarty with Plug-ins
Chapter 11: Filters
Chapter 12:
Internationalization
Index
Free Content
Chapter 6: Smarty Functions [345
KB PDF]
Code Download
Contact
us
Packt Full of Offers
Buy two Packt
Books, get 18% off both
Buy the book & eBook together and get 80% off the eBook
|
About the Free Online Edition
This site is designed to
give you more information about the book Smarty PHP Template
Programming and Applications by Packt Publishing. This
website will allow you to view content from the book and also allow
you to read through summaries of each chapter from the book.
About the book
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.
About the
authors
Hasin Hayder
Hasin Hayder graduated in Civil Engineering from Rajshahi University
of Engineering and Technology (RUET). He is an open-source
enthusiast who has been programming since early 2001. He maintains
phpXperts, the largest PHP user group in Bangladesh, and Zephyr, an
open source AJAX-based MVC framework for PHP5 developers. He is
currently working as a web application developer in a Norwegian
software development company, "Somewhere In...". You can reach him
at hasin@somewherein.net.
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://houstonphp.org.
Lucian Gheorghe
Lucian Gheorghe has just joined the Global NOC of Interoute,
Europe's largest voice and data network provider. Before Interoute,
ha 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. About Packt Publishing
Packt, pronounced 'packed', published its first book "Mastering
phpMyAdmin for Effective MySQL Management" in April 2004 and
subsequently continued to specialize in publishing focused books on
specific technologies and solutions.
Packt is a modern,
unique publishing company with a focus on producing cutting-edge
books for communities of developers, administrators, and newbies
alike.
Packt's books and
publications share the experiences of fellow IT professionals in
adapting and customizing today's systems, applications, and
frameworks. Their solutions-based books give readers the knowledge
and power to customize the software and technologies they're using
to get the job done.
Packt believes in Open Source. When they sell a book
written on an Open Source project, they pay a royalty directly to
that project. As a result of purchasing one of their open source
books, Packt will have given some of the money received to that open
source project. For more information, please visit
www.PacktPub.com
|