Matthew Weier O'Phinney-3 wrote:
-- Matthew Ratzloff [EMAIL PROTECTED] wrote
I'm going to have to agree here. The rule of thumb I use -- based back
on my CGI::Application days -- is that an action/page controller should
only have around 7 actions, maximum; more than that, and it should
On Tue, Nov 4, 2008 at 10:47 AM, monk.e.boy [EMAIL PROTECTED] wrote:
Matthew Weier O'Phinney-3 wrote:
-- Matthew Ratzloff [EMAIL PROTECTED] wrote
I'm going to have to agree here. The rule of thumb I use -- based back
on my CGI::Application days -- is that an action/page controller should
Hi,
Seeing as we're talking speed, I have a question. One of my controllers is
close to 3,000 lines long, that section of my site has many, many pages.
Before I ZF'd my site, I just had a lot of .php files. How come I need to
merge all these into one controller? Why does the parser need to
Don't put businesses logic into the controllers. Controllers should contain
application logic. You business logic should be in your models.
On Mon, Nov 3, 2008 at 3:17 PM, monk.e.boy [EMAIL PROTECTED]wrote:
Hi,
Seeing as we're talking speed, I have a question. One of my controllers is
I genuinely can't fathom how a controller could be 3000 lines long without a
serious organization problem. Give us some examples of what your URLs look
like.
-Matt
On Mon, Nov 3, 2008 at 6:22 AM, Christopher Östlund
[EMAIL PROTECTED] wrote:
Don't put businesses logic into the controllers.
-- Matthew Ratzloff [EMAIL PROTECTED] wrote
(on Monday, 03 November 2008, 09:49 AM -0800):
I genuinely can't fathom how a controller could be 3000 lines long without a
serious organization problem. Give us some examples of what your URLs look
like.
I'm going to have to agree here. The rule of