Re: Re: smarty

From: Date: Wed, 14 Apr 2004 15:46:37 +0000
Subject: Re: Re: smarty
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-183333@lists.php.net to get a copy of this message
From: "pete M" <pmorgan@ukds.net> > Think everyone is missing the point.. > the whole point of smarty is to take the presentation code away from the > logic Correct. The point your missing is that PHP can be on both sides of the equation. You can have PHP in your templates that only controls your presentation and then have PHP on your backend that conducts your business logic. Or, you can have Smarty on top of PHP to control you're presentation. Personal preference, but don't confuse the process of separating presentation from business logic as meaning you can't have any PHP code in your presentation layer. ---John Holmes...

« previous php.general (#183333) next »