Reply to Re: smarty templates vs. php templates

Your name:

Reply:


Posted by pete M on 04/06/05 17:44

David Ngo wrote:
> At my work I work with a html designer and one other programmer. Both of
> them refuse to learn to use Smarty and keep arguing that we should do
> away with it. My boss's take on it is that Smarty adds complexity with
> little benefit. Their solution is to just do away with the templates and
> instead have php include files with html in them that will act as the
> templates. We also have a proposed solution using xml that can replace
> the caching options that Smarty has built in. I have to come up with a
> few examples where using Smarty is a better solution. Does anyone have
> any extremely convincing examples I can use to change these people's
> minds? All of the examples I have seen on the Smarty site and through
> google are very simplistic examples that could easily be replaced by php
> includes. I do not want to move away from Smarty because I feel it makes
> my code better structured, easy to read, and just forces me to have
> better coding habits. However how do I explain to someone that has never
> used Smarty and refuses to learn it that it is the way to go? I fear
> that if I can't come up with some good examples we will switch to the
> system of using php includes as templates which I do not like at all.

I use Smarty at work and its wonderful.

I do the coding with php and pear db
My collegue does the html templates and CSS
The graphic designer does the images

and we never clash

it was a nightmare previously and Smarty has made us at least 200% more
productive in terms of time and quality icon_wink.gif))

Ta Monte icon_wink.gif

pete

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация