I have a question...
Why isn't it under consideration to take Padraic's proposal/code (and
others) and integrate a cleaned up version into Zend_View? Why do a
Zend_View_Enhanced? Why do a Zend_Layout? etc...
From what I've seen and read:
* Most developers will need one or more view enhancements that
Padraic has proposed - myself included.
* The Framework's current view implementation could use the
"enhancements" to turn it into a "robust" implementation.
* Padraic's proposal probably meets 99% of common view and layout
needs (Just a guess :-) )
* Most MVCs handle views this way - why re-invent the wheel?
* Cross-module partials would be naturally useful as modular
structure is encouraged.
I sincerely applaud the effort and the codebase of the RC3 release. In
my opinion, it is all well done and continuing to move in a positive
direction. All contributors should be really proud of the product. I
just really think this is one of the last critical pieces to the CORE
puzzle and shouldn't be neglected or fragmented into other classes or
branches.
Isn't there any interest in wrapping up all relevant contributions into
the core View implementation? What is the future plan for Zend_View?
Arthur
Pádraic Brady wrote:
or this...lol
http://svn.astrumfutura.org/zendframework/trunk/library/Proposed/Zend/View/Helper/Partial.php
Never have so many heads bumped the same wall...;). I do think
cross-module partials are useful. The problem doing it is configuring
a new View assuming it has no interaction with a controller. The
ViewRenderer would likely work though it's lodged in the Controller.
Pádraic Brady
http://blog.astrumfutura.com
http://www.patternsforphp.com
----- Original Message ----
From: Ralph Schindler <[EMAIL PROTECTED]>
To: [email protected]
Sent: Monday, June 25, 2007 10:54:11 PM
Subject: Re: [fw-general] Two-Step View, subclassing controller, etc
Matthew Weier O'Phinney wrote:
>
> Partials have been on my to-do list for a while now. They actually don't
> require any changes on the view level; you can very simply create a new
> View object in the helper, setup the environment from the old view
> object (minus the variables), assign variables as passed, and then
> render the "partial" view. I just need to write good test cases for
> them, and determine the syntax for pulling them.
You mean like this: ;)
http://svn.ralphschindler.com/repo/Xend/library/Xend/Layout/ViewHelper/Partial.php
------------------------------------------------------------------------
Get the free Yahoo! toolbar
<http://us.rd.yahoo.com/evt=48226/*http://new.toolbar.yahoo.com/toolbar/features/norton/index.php>
and rest assured with the added security of spyware protection.
------------------------------------------------------------------------
Got a little couch potato?
Check out fun summer activities for kids.
<http://us.rd.yahoo.com/evt=48248/*http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz>