I just verified that "short_open_tag" is disabled in the
"php.ini-recommended" file that is distributed with PHP. I believe
this is to discourage users from using short open tags in
redistributable applications to ensure greater compatibility. If logic
is added to Zend_View that "supports" this functionality, it will be
promoting something that appears to be considered bad practice. I
realize that ZF would restrict it to views, but developers/users may
get in the habit of using short open tags elsewhere.

On Thu, Mar 20, 2008 at 12:49 PM, Jordan Moore
<[EMAIL PROTECTED]> wrote:
> Doesn't the recommended php.ini that is distributed with PHP disable short 
> tags?
>
>
>
>  On Thu, Mar 20, 2008 at 12:28 PM, Matthew Weier O'Phinney
>  <[EMAIL PROTECTED]> wrote:
>  > -- Aaron D. Campbell <[EMAIL PROTECTED]> wrote
>  >  (on Thursday, 20 March 2008, 12:06 PM -0700):
>  >
>  > > I'm sure I'll eventually appreciate it.  However, I'm a little frustrated
>  >  > that I'm going to have to go through and fix all the short tags to get 
> it
>  >  > working on my servers.
>  >
>  >  Add this to your .htaccess:
>  >
>  >     php_flag short_open_tag On
>  >
>  >  I'm working on a stream wrapper to transparently enable this for people
>  >  who have the flag disabled, but the recommendation will be to have this
>  >  on so that your view scripts will work with optimal performance.
>  >
>  >
>  >
>  >  > Ralph Schindler wrote:
>  >  > > Hello everyone,
>  >  > >
>  >  > > I have put together a demo application that showcases some features of
>  >  > > Zend_Layout and Zend_View Enhancements within the MVC environment. If 
> you
>  >  > > would like to download, set it up and play/browse the code within it, 
> it
>  >  > > is located here:
>  >  > >
>  >  > > 
> http://framework.zend.com/wiki/display/ZFUSER/Zend_Layout+and+Zend_View+Enhancements+Demo
>  >  > >
>  >  > > The demo currently includes ZF version 1.5 and Dojo 1.0.2 in the 
> download.
>  >  > >  So basically, this demo app is pretty self contained.  Not alot of 
> setup
>  >  > > aside from pointing a doc root to its public folder is necessary.
>  >  > >
>  >  > > Over the course of the coming weeks, I will be taking the time to add 
> more
>  >  > > examples (I will increment the version number of the download as I 
> do).
>  >  > >
>  >  > > If anyone has any feedback, or requests as to what you would like to 
> see
>  >  > > Demo'ed within it either reply here or add comments directly to that 
> page.
>  >
>  >  --
>  >  Matthew Weier O'Phinney
>  >  PHP Developer            | [EMAIL PROTECTED]
>  >  Zend - The PHP Company   | http://www.zend.com/
>  >
>
>
>
>  --
>  Jordan Moore - Creative Director
>  Sanctus Studios LLC
>  PO Box 2202
>  Tacoma, WA 98401
>  (253) 238-8676
>



-- 
Jordan Moore - Creative Director
Sanctus Studios LLC
PO Box 2202
Tacoma, WA 98401
(253) 238-8676

Reply via email to