Archive for February, 2010

Zend Framework 2.0 branched

With the release of Zend Framework 1.10.2, Matthew Weier O’Phinney announced the kick-off of Zend Framework 2.0 development:

we have branched for development of Zend Framework 2.0 this afternoon. Currently, the branch is intended for development of low-level infrastructure, and we ask that developers have patience; we may be reverting changes frequently as we experiment with some new approaches. I would actually recommend not tracking the branch for a few weeks

The first items to be looked at are:

  • Stripping require_once calls
  • Updating the test suite:
    • Removing the AllTests suites (no longer necessary)
    • Usage of TestHelper.php as a PHPUnit bootstrap
  • Conversion to namespaces. This will be automated at first, but will then shift to manual changes
  • Testing of alternate plugin systems. (To make more explicit for performance and understandability)

Exciting times are upon us!

Posted by Rob on 25th February 2010 under The Book | 2 Comments »

Writing command line scripts for your ZF application

David Caunt has posted an article on how to access your Zend_Application resources from a command line application:

As PHP developers, it is convenient to be able to write command line scripts in PHP. In doing so, you will almost certainly want access to Zend Framework components and their configurations as if you are writing a normal MVC app, but without invoking the MVC stack and without loading unnecessary resources. I’ve seen solutions where actions are exposed as controller actions and called by wget – these are counter-intuitive, inefficient, and will suffer from max execution timeouts and other problems.

He then shows how to write a bootstrap file that only loads the resources required, so you are ready to write a command line script that interacts with you ZF application.

Posted by Rob on 25th February 2010 under Around the web | Comments Off

Zend Framework 1.10.1 Released

Over on DevZone, Matthew has announced the release of ZF 1.10.1.

On behalf of the Zend Framework’s many contributors, I’m pleased to announce the immediate availability of Zend Framework 1.10.1, the first maintenance release in our 1.10 series. You can download it from our downloads page: http://framework.zend.com/download/latest

Also, the Zend Framework manual now supports user comments!

Posted by Rob on 10th February 2010 under Around the web | Comments Off