Re: [SMARTY] A question about Smarty and MVC...
| From: | Jason Sweat | Date: | Thu, 13 Mar 2003 12:17:55 +0000 |
| Subject: | Re: [SMARTY] A question about Smarty and MVC... | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8610@lists.php.net to get a copy of this message | ||
> 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
>
>