-- Arthur M. Kang <[EMAIL PROTECTED]> wrote
(on Monday, 25 June 2007, 05:58 PM -0700):
> 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?
There's plenty of interest. The issue right now is getting a stable and
tested version of ZF out the door that developers can rely on. We are in
RC status, which means, loosely, no new features, and bugfixes/security
fixes only. (I say loosely, as there have been a few new features
creeping in, but most have been backwards compatible or augment existing
functionality.)
To give an idea of what I mean by "getting a stable and tested version
of ZF out the door," I personally addressed over 30 issues in the
tracker between RC2 and RC3. There are still a few lingering issues and
a few classes that need better test coverage. But if we add new features
such as layout and partials support *now*, that means pushing the date
back.
Some may ask, why not push the date back and get *all* the features in?
Simple: when do we decide we have all the features? when does the API
freeze? There's a really great article about time-based release
management versus "release when ready":
http://www.linux.com/articles/114247
What it comes down to is: a lot of developers are waiting to use ZF
until it has its first stable release, and continuing to push that off
into the future will only delay ZF uptake -- and thus contributions to
the project.
There is definitely room for new features and polishing -- that's why
there *will* be life after 1.0. Stay tuned after the release -- there
are plenty of proposals and ideas just waiting in the wings for after
this milestone.
> 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 and rest assured with the added security of
> spyware protection.
>
>
>
> ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
> Got a little couch potato?
> Check out fun summer activities for kids.
>
--
Matthew Weier O'Phinney
PHP Developer | [EMAIL PROTECTED]
Zend - The PHP Company | http://www.zend.com/