Re: Re: [SMARTY] dyamic include file variable

From: Date: Thu, 09 Jan 2003 18:21:17 +0000
Subject: Re: Re: [SMARTY] dyamic include file variable
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7088@lists.php.net to get a copy of this message
I agree with the personal preference issue. I do not find the look of a URL with parameters unpleasant, and I do find comfort in knowing where all of the application flow is going. With the exception of using includes for additional functionality (all my code is in a single php file) I outlined a similar architecture, using Smarty, in this tutorial: http://www.zend.com/zend/tut/tutsweatpart2.php. It essentially boils down to a switch to decide an action (like update a database) and then a switch to decide what to show the user. HTH Jason > Not that this is strictly Smarty related, but it is indirectly related > since it affects how you would setup and manage Smarty. > > It is definately a personal preference issue. For instance, we use one > script. We basically have one script for frontends and one for backends, > such as index.php and admin.php.

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