Re: [SMARTY] A question about Smarty and MVC...

From: Date: Thu, 13 Mar 2003 13:57:01 +0000
Subject: Re: [SMARTY] A question about Smarty and MVC...
References: 1 2 3 4  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8613@lists.php.net to get a copy of this message
Hmmm....but the calling script most often contains business logic, correct? That would place it in the conceptual "Model", and not the controller. Ah well, I'll have to think about this a bit more. Any additional input is welcome. Thanks! John Jason Sweat said: >> Would Smarty be considered the controller? > My answer to that questions would be no. Smarty is firmly in the "View" > part of the model view controller paradigm. If anything, the php script > calling the smarty object could be considered the controller, > particularly if the script selects different data, and shows different > templates based on context. > > ----- Original Message ----- > From: "John Wells" <jb@sourceillustrated.com> >> Thanks for the info. I've seen both phrame and php.mvc. I guess my >> question if more general and specific to Smarty's common usage. In >> other words, would your typical app developed with Smarty be >> considered MVC? Would Smarty be considered the controller? >> >> Thanks, >> >> John >> >> > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

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