RE: [SMARTY] new link

From: Date: Fri, 06 Dec 2002 15:17:05 +0000
Subject: RE: [SMARTY] new link
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6675@lists.php.net to get a copy of this message
>> There is a new link on the Smarty home page saying "why use it?", please >> read and give me feedback. Monte, I'm new to Smarty, having just found it after starting on two Fusebox apps :( -- and I haven't worked with any of the other PHP templating solutions (although I think we could all agree that Smarty is tbe best one!), so take this with a grain of salt - What you've got is very helpful information to be sure. The 'why' for Fusebox contains a discussion on not reinventing the wheel, and 70% of application code breaks or whatever. It seems to me that an 'off-the-shelf' Smarty install offers the vast majority of presentation logic most people would need for most apps, where even with Fusebox you've got to roll your own presentation logic. So in addition to improving the reliability of your web app, (once you learn the tpl markup) you have a lot of prebuilt functionality that you don't have to invent from scratch. Smarty is closer to the MVC paradigm Java and Struts use than it is to Fusebox, so it may be a great inbetween for developers moving from scripting to enterprise application development. And in addition, once you get used to .tpl markup I think it's safe to say that you will be able to whip up web apps in a fraction of the time it would take you to roll your own everything each time you get a new client. Where we work, the 'designers' (allegedly) 'know' HTML, but more accurately they have used Dreamweaver to turn a Photoshop file into a site mockup, so even though a programmer can look at a Smarty template and instantly see what's going on, my guess is that it's likely that smarty gets used as others have said, the designer makes a static HTML page, and a guru-level programmer writes the PHP and a more junior-level programmer works as an in-between taking the HTML from the designer and converting it to a smarty template. As a side note, I am very interested in how to turn { } into <smarty: > and think it would be beneficial to discuss this as well, as I haven't cracked that nut yet ;) Thanks - & keep it up! Geoff Hoffman

« previous php.smarty.general (#6675) next »