Well, thanks for the quick reply :)

weierophinney wrote:
> 
> What you describe below is very much in the direction we are aiming. If
> you read the document on goals for Zend\Form, you'll see that we want to
> strip validation and filtering out into separate objects, which should
> make it trivial to create these objects for use foremost with your
> domain objects, and then detach them and attach them to forms. Instead
> of rendering elements, you would pass them to a decorator chain. The
> usage will be a little more verbose as a result, but the explicitness
> will make understanding how it works easier, as well as make the usage
> more flexible.
> 

I have precise ideas about all of that, and some that i have already
implemented over Zend_Form, with homemade conventions, but the goal is the
same.



> This is just one area where refactoring will occur. The end result
> should be that you will just write PHP, and consume ZF components as you
> need to. In certain cases like the MVC, you'll be simply using PHP
> within a defined structure (which is really not far different than what
> happens today) -- and some of that PHP will of course be utilization of
> ZF components, but primarily usage of the code _you_ write -- i.e.,
> consuming your models.
> 

That's great news :)



> If you are curious about the direction of ZF2, I encourage you to read
> up on the ZF2 development wiki:
> 
>     http://framework.zend.com/wiki/display/ZFDEV2/Home
> 
> as well as to join the [email protected] mailing list, and
> the #zftalk.dev IRC channel on Freenode.
> 

I will read the wiki with great interest and i will try to formulate my
ideas.
I'm already on the IRC channel to spy and to not miss anything ;)

br,
Benjamin.
-- 
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Questionning-about-ZF-2-orientation-tp2324443p2324513.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to