Seems like there is a lot of negative phrasing in the front controller parameters (or: not a lot of non-negative phrasing). Wouldn't it be better if they were framed as positives with default true values instead? Something like:

   $front->setParam('bufferOutput', false);
   $front->setParam('enableOutputBuffering', false);

Or at least use consistent naming. There's now "disableOutputBuffering" along with "noViewRenderer" and "noErrorHandler".

Finally, there seem to be quite a few of these parameters, and you can't exactly glance at the front controller class to find them all. Shouldn't the manual have a complete listing of all possible parameters and what they do?

-Matt

----- Original Message ----- From: "Matthew Weier O'Phinney" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, May 31, 2007 8:52 AM
Subject: Re: FW: [fw-general] ViewRenderer Problems


So, we introduced a minor BC change. Yes, minor; all you need to do to
disable the ViewRenderer is to add this to your bootstrap:

   // where $front is a front controller instance:
$front->setParam('noViewRenderer', true);

Reply via email to