A short status update about Zend Framework 3

Tuesday, April 1, 2014

As many of you surely know, the development of the next major version of Zend Framework pretty much came to a hold as the Zend team was and is still occupied with apigility. The maintenance of Zend Framework 2 is also coming along pretty slowly right now, although it's not completely stalled.

For those following the discussions in our development IRC channel more frequently, you probably saw that some of us are actually working on refactoring many components for Zend Framework 3, some a little more (like the completely rewritten Dash Router), and some with just minor BC breaks like the service manager, the event manager and everything around forms.

There was quite a bit of discussions on IRC, the mailing list and on GitHub about how we could speed up the development of ZF3, so we could get a release out in a proper time. We not only came to a final decision, but also developed a plan to reduce the number of future BC breaks permanently. So what does this look like? Well, this is actully a plan with multiple steps.

First we are going to define all component layers via interfaces within Zend Framework itself. We won't ship any concrete implementations with it, but only make our MVC layer consume and work with those interfaces. The next step is developing reference implementations as separate projects, although still maintained by Zend. This way we are still able to ship a complete application framework, while making it easier to completely swap out specific components. The reference implementations will hook into the system as normal modules, so that they can also supply application configuration on their own.

So what is the timeframe for all this you may ask? As I wrote earlier, we don't want to fall behind too much, so we planned to finalize all the interfaces until the end of this month. We then will write bridges to older ZF2 components where required, so that they can already be used in the new architecture. In cases where we already have new implementations in place, like the router, service mager and such, we will alter those to follow the defined interfaces.

Another plus side on this new approach is that we can directly target PHP 5.5 on components here it makes sense to use new features, while other components can still be PHP 5.4. For those components which make use of PHP 5.5 features, we will parallely maintain PHP 5.4 compliant versions, which will automatically be selected by composer if the user is running an older PHP version.

If everything goes as planned, we should have a beta release of Zend Framework 3 out by May 16th, and a release candidate around June 1st. Proposals for all interfaces will be posted throughout this month, so make sure to watch the mailing list and join the discussion and bring in your ideas!

Comments to this article

  • Avatar of manuakasam Reply manuakasam Wednesday, April 2, 2014 8:16 AM

    Nice to see a step up in pace from negative 10 to OVER 9000!

    Also interesting to see that 5.5 is the major target (even considering 5.4 compliant versions hanging around). Just hoping it's not an aprils fool :P

  • Avatar of Tirth Bodawala Reply Tirth Bodawala Thursday, April 3, 2014 5:22 AM

    What is new in ZF3? Because in ZF2 the development time considerably increased compared to ZF1. I accept the execution is fast and reliable comparitively! In ZF3 what are you focusing on? Speed or RAD or both? And how?

  • Avatar of fabb Reply fabb Sunday, September 21, 2014 5:45 PM

    mhh now we have the end of september, and no release candidate is out.
    Do you have some news about it?

  • Avatar of Yann Carrier Reply Yann Carrier Tuesday, March 17, 2015 10:22 AM

    The ZF3 roadmap release by Matthew is available here: https://youtu.be/B2YqevRpi6E

  • Avatar of ricardo Reply ricardo Friday, October 2, 2015 2:13 AM

    I am a php dvloper and i made a sophisticated php application without the use of backend server..a simple mathematical application, can I use znds studio to made it into a mobile application and make the uses us it to calculate various maths without internet access to connect to th sever because i don't use any server coding in it, its jus stricly php working with variables....pleas answer to this question

Leave a comment

Please note that your email address will not be shown, it is only used to fetch your avatar image from gravatar.com and for notifications.

                           _ _ 
 _ __ ___   __ ___  _____ (_|_)
| '_ ` _ \ / _` \ \/ / _ \| | |
| | | | | | (_| |>  <  __/| | |
|_| |_| |_|\__,_/_/\_\___|/ |_|