Smarty PHP Template Programming and Applications
  FREE ONLINE EDITION: Read full chapters online, download free samples from the book and more...
  Index > Chapter 7
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

Download
Smarty Cheat Sheet


Download PDF Version [285 KB]

Download GIF Version [304 KB]
 



 

Chapter 7: Debugging for Designers

A basic fact for computing projects is that sooner, or later, things will inevitably go wrong. The same is true for template designers, obviously, so understanding common problems and ways to overcome them is a very important topic. While errors such as logical problems on your template code are typically semantic, others are related to things like typographical errors on a template filename that you are trying to include, or even forgetting to close a Smarty tag.

In this chapter, you will learn how to troubleshoot common Smarty errors, and logical or semantic problems on your templates, and how to quickly get over these issues and get your productivity back. We will do that together by building a small set of pages, and fixing problems as they occur.

 

 

 

Paperback 250 pages
Released: April 2006
ISBN: 190481140X



eBook Version Also Available
Buy the book & eBook together and get 80% off the eBook

 

     

 




View the book details
on PacktPub.com

 


 

  This website is owned and maintained by Packt Publishing Ltd, 2006. All rights reserved. Terms and Conditions