NYCPHP Meetup

NYPHP.org

[nycphp-talk] Why Smarty?

Malcolm, Gary gmalcolm at professionalcredit.com
Mon May 5 18:23:09 EDT 2003


model-view-controller

seperate logic from display 
then have a controller decide how to handle requests...

> -----Original Message-----
> From: soazine at pop.erols.com [mailto:soazine at pop.mail.rcn.net]
> Sent: Monday, 05 May, 2003 3:20 PM
> To: NYPHP Talk
> Subject: RE: [nycphp-talk] Why Smarty?
> 
> 
> I might be having a brain freeze but I believe it stands for 
> "Multilevel
> Versioning Control", as in the process of versioning templates.  Am I
> either right or has the caffeine wore off already?
> 
> Phil
> 
> Original Message:
> -----------------
> From: Malcolm, Gary gmalcolm at professionalcredit.com
> Date: Mon,  5 May 2003 18:14:09 -0400
> To: talk at nyphp.org
> Subject: RE: [nycphp-talk] Why Smarty?
> 
> 
> Emmanuel,
> 
> 	Smarty is pure MVC...
> 
> 	The business logic model is completely in the 
> programmers hands (me)
> and  can be passed off design to people who like to make 
> pretty pictures...
> with the caveat that they get the Smarty template logic to 
> make repetative
> stuff like tables easy without diving into the complexity of 
> a full blown
> language. 
> 
> 	Smarty is the go-between Controller with a built in debugger.
> 
> 	I can support thousands more pages now that I don't 
> have to think
> about layout or coach designers through script code.
> 
> 	If you maintain a small site and enjoy layout detail 
> yourself then
> this tool is still cool but probably unnecessary... 
> 
> > -----Original Message-----
> > From: Emmanuel. M. Decarie [mailto:emm at scriptdigital.com]
> > Sent: Monday, 05 May, 2003 3:01 PM
> > To: NYPHP Talk
> > Subject: [nycphp-talk] Why Smarty?
> > 
> > 
> > Beside caching, why use Smarty? I'm a little bit puzzled by this.
> > <http://smarty.php.net/whyuse.php>
> > 
> > I'm already using a MVC model to do all my PHP development.
> > 
> > It look to me that Smarty is recreating its own mini language 
> > à la EmbedPerl.
> > <http://perl.apache.org/embperl/pod/intro/Intro.-page-4-.htm>
> > 
> > Is there an advantage in that? Am I missing something here?
> > 
> > Please, don't see this as flames bait. I just want to hear 
> about the 
> > pro and con.
> > 
> > TIA
> > 
> > Cheers
> > -Emmanuel
> > -- 
> > 
> ______________________________________________________________________
> > Emmanuel Décarie / Programmation pour le Web - Programming 
> for the Web
> > Radio UserLand/Frontier - Perl - PHP - Javascript  
> > <http://scriptdigital.com/>
> > Blog: <http://blog.scriptdigital.com> - AIM: scriptdigital
> > 
> > 
> > 
> > 
> > 
> > 
> 
> 
> 
> 
> 
> 
> 
> --------------------------------------------------------------------
> mail2web - Check your email from the web at
> http://mail2web.com/ .
> 
> 
> 
> 
> 
> --- Unsubscribe at http://nyphp.org/list/ ---
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20030505/b78b41f1/attachment.html>


More information about the talk mailing list