-- debussy007 <[EMAIL PROTECTED]> wrote
(on Tuesday, 11 December 2007, 01:21 AM -0800):
> Not sure I understand, 
> you say that a doctype() helper will exists, then you talk me about creating
> a proposal.

The doctype() helper exists in the incubator. However, we have not
refactored any existing helpers to utilize it for purposes of
determining how the output should be generated. The proposal I suggest
you make, if you want to see such integration, is to outline what
helpers need to be refactored to do so, and in it discuss scope and
potential imlementation.

> Matthew Weier O'Phinney-3 wrote:
> > -- debussy007 <[EMAIL PROTECTED]> wrote
> > (on Monday, 10 December 2007, 08:53 AM -0800):
> > > An example would be the view helper:
> > > 
> > > 
> > > [...]
> > > formButton($name, $value, $attribs): Creates an <input type="button" />
> > > element.
> > > formCheckbox($name, $value, $attribs, $options):  Creates an <input
> > > type="checkbox" /> element.
> > > formFile($name, $value, $attribs): Creates an <input type="file" />
> > > element. 
> > > [...]
> > > 
> > > 
> > > In HTML the <input> tag has no end tag.
> > 
> > What you're suggesting is having the view helpers render differently
> > based on doctype.
> > 
> > This may be a possibility now that the new doctype() helper has been
> > added to the incubator; if called prior to any other helpers, it could
> > be used to hint how rendering should proceed.
> > 
> > If you would like to spearhead such an effort, please create a proposal
> > in the wiki. :-)
> > 
> > BTW, to my knowledge, closing elements are *optional* for HTML 4.0.1 --
> > i.e., both:
> > 
> >     <input type="button" />
> > 
> > and
> > 
> >     <input type="button">
> > 
> > are valid syntax.
> > 
> > 
> > > Darby Felton wrote:
> > > > 
> > > > What I glean from this is a fine suggestion: being flexible on the
> > > > markup (or, view) used by parts of the Zend Framework that perform such
> > > > output.
> > > > 
> > > > Perhaps you can enumerate particular places with which you're having
> > > > trouble, so that we can document them (e.g., in JIRA)?
> > > > 
> > > > Thanks!
> > > > 
> > > > Best regards,
> > > > Darby
> > > > 
> > > > debussy007 wrote:
> > > > > Hello,
> > > > > 
> > > > > I have noticed that any function that generates markup,
> > > > > will generate XHTML markup.
> > > > > 
> > > > > So for any of us that use a HTML 4.01 Doctype,
> > > > > this will lead to invalid Html pages.
> > > > > 
> > > > > Here are some reasons for one to use HTML 4.01 :
> > > > > 
> > > > > http://webkit.org/blog/?p=68
> > > > > http://hixie.ch/advocacy/xhtml
> > > > > http://www.webdevout.net/articles/beware-of-xhtml#conclusion
> > > > > 
> > > > > Also a lot of good css or javascript coders recommend 4.01 Doctype.
> > > > > E.g. just ask in the css irc-channel.
> > > > > 
> > > > > Not saying that the html 4.01 doctype is the Doctype to use,
> > > > > but would it be possible to take this point in cosideration in the ZF
> > > for
> > > > > the one of us who choosed an HTML Doctype rather than XHTML ?
> > > > > 
> > > > > By for example adding some static method that would let one choose the
> > > > > markup Xhtml / Html ?
> > > > > 
> > > > > Thank you for any response !!

-- 
Matthew Weier O'Phinney
PHP Developer            | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/

Reply via email to