RE: breaking from loops
| From: | Dominique Peretti | Date: | Wed, 27 Feb 2002 16:27:46 +0000 |
| Subject: | RE: breaking from loops | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2867@lists.php.net to get a copy of this message | ||
On 27/02/02 17:21, "Brent R. Matzelle" <bmatzelle@yahoo.com> wrote:
> The "view" (templates) should have as little logic as possible. The
> "controller" (PHP scripts) should contain most of the logic. The
> "model" is used by the controller so it should have nothing to do
> with this discussion.
I would see more the thing like that :
Main PHP scripts = "model"
Smarty = "controller" + "view"