Wattle Software - producers of XMLwriter XML editor
 Bookstore Home | XMLwriter Home | Search | Site Map 
XML Related
 General XML
 XSLT & Stylesheets
 XHTML
 SGML
 XML DTDs
 XML Schema
Web Development
 Web Graphics
 HTML
 Dynamic HTML
Web Services
 General Web Services
 UDDI
 SOAP
 WSDL
 Programming/Scripting 
 PHP Programming
 Perl Programming
 Active Server Pages
 Java Server Pages
 JavaScript
 VBScript
 .NET Programming
 
XMLwriter
 About XMLwriter
 Download XMLwriter
 Buy XMLwriter
XML Resources
 XML Links
 XML Training
 The XML Guide
 XML Book Samples
 

Smarty PHP Template Programming And Applications


By Hasin Hayder, J. P. Maia, Lucian Gheorghe
 
Image of: Smarty PHP Template Programming And Applications
Pricing Details:

List Price:$39.99
You save:$2.26 (5.7%)
Your Price:$37.73
Buy Now

Book Details:

Format:Paperback, 256 pages.
Publisher:Packt Publishing 2006-04-30
ISBN:190481140X

Average Customer Rating:

4.0 4 out of 5 stars (7 reviews)

Editorial Reviews:

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

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.

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

Using a step-by-step approach based on realistic examples, the expert authors show you how to use Smarty in your own PHP development. The book is ideal for PHP developers who are new to Smarty, and for web designers who are working with PHP developers who are using Smarty.


Customer Reviews:

Displaying 1 to 5 of 7 total reviews (Page 1 of 2):

4 out of 5 stars Good intro to templating with Smarty

The authors do a good job of introducing you to the Smarty templating system. You'll need to have knowledge of PHP if your a programmer or XHTML & CSS if your a designer in order to make use of the Smarty templating system. As the authors state; you don't need both skill sets unless you plan on doing your projects single-handedly. I like the fact that they stick to Smarty & don't try to teach PHP, XHTML & CSS. I have very strong XHTML & CSS skills & very basic PHP & MySQL skills & find that by using Smarty you can greatly simplify looping through arrays & calling variables. I'm impressed by the apparently non-English speaking authors writing skills. I wonder if they have plans of authoring a book on PHP/MySQL & maybe even the Cake PHP development framework? The publisher PacktPub supports Open Source software development with donations from sales to Open Source projects which I consider a plus. Hopefully Open Source will take more market share from the Microsoft monopoly & promote a more innovative & prosperous internet community! Make a donation to the Smarty project if you find it useful.

4 out of 5 stars Good Reference but not everything

I found this book to be a good reference if you are not already familiar with Smarty. It gives you the basics but doesn't get too involved.
I would recommend having some PHP experience first before you buy it.
I bought it to be used as an additional programming help guide to work with X-Cart. It's been good for that.
Overall, it's worth the price.

5 out of 5 stars A book to quickly master Smarty

You are looking for a simple solution to separate your PHP code from the graphics of your website? You work in a team composed of coders and graphists? Then you have already thought about templating!

Without a doubt, Smarty currently is the best templating engine available on the market. It is not famous for its simplicity but for its completeness.

This book is on the same page as the others I had the chance to read from the same editor (Packt Publishing). It was written for a wide public (from beginners to advanced) and it covers most of the subject. Thanks to this book, you will have the ability to quickly master Smarty and to use it during all your projects without many problems.

The introduction does not only handle Smarty, but rather the templating philosophy. You will also find installation walkthroughs, structural and logical Smarty internal processes.
The main part of the book is divided into two parts. The first is directed towards designers with, for the most part, creation of Template files and usage of Smarty functions. A whole chapter is dedicated to application debugging.
The other section is aimed at programmers, with details and explanation on each variable or method used in Smarty. This section is really useful on the long term, since you can come back to it any time.

You now have all the knowledge to start templating on your own, and you won't forget the experience you gained through explanations, step by step, as well as sources illustrating these pages.

You can now go further using Smarty's power by reading the following chapters about caching, plugins usage, filters and internationalization of your website.

To sum up, this is a very good book for those who are interested in Smarty and very useful for those who are already using it. But watch out: Smarty is not to be used in every website. I would like to highlight, however, that its use is far too complex to be used in a static website: you will need some dynamic components to notice any improvement. Actually, Smarty needs you to learn a new language: what you know how to do in PHP most probably has a Smarty equivalent, so that you will need a transition time.

[...]

5 out of 5 stars Amazing Smarty book

No need to hide it, "Smarty PHP Template Programming and Application" is an excellent book!

Whether you are graphic designer or developer, this book is for you, thanks to a clear separation of the needs.
Every step is exposed in details : installation, utility and the way to work with Smarty is clearly explained.
You can add to this a detailed explanation of the various built-in variables and methods, differents way for managing the cache, filters and plugins,... all this makes this book a very good one, covering from he most basic to the most advanced methods.

Moreover, there's a complete chapter on "website internationalization" with Smarty.

To summarize, and I guess you already understood, this is an excellent book that any developer/designer who works with Smarty must read.

4 out of 5 stars Great guide to PHP & Smarty

If you're looking for a good book on Smarty, this one should definitely be on your list. This book takes you through every feature that Smarty offers in an easy-to-understand and practical way, with plenty of clear and concise examples to make it even easier to understand.

It doesn't matter if you're a developer who wants to start using Smarty or if you're a designer who has to start working with Smarty, this book is a great resource for both and thanks to a clear division in the book it's easy to learn about Smarty as a developer or designer.

There aren't many negative things to say about this book, but it isn't perfect either. Sometimes things are explained multiple times, with might cause some slight annoyance, and in some cases parts of an example aren't explained at all, which leaves you wondering what something is used for.

To sum it all up, this book is certainly worth the money, and I can definitely recommend it if you're looking to get started with Smarty.

More Customer Reviews:
Next Page


Customers who bought this book were also interested in:


AJAX and PHP: Building Responsive Web Applications


PHP 5 Objects, Patterns, and Practice


PHP Cookbook (Cookbooks (O'Reilly))


PHP 5 Recipes: A Problem-Solution Approach


php|architect's Guide to PHP Security|

 

Find similar books by category...


Search for more:

Search books:  



Google
 
Web XMLwriter.net




Last updated: Fri Dec 5 7:22:53 CST 2008
© Wattle Software 2007. All rights reserved.