gog's info

<?php echo array_rand(array('web', 'dev', 'computers')); ?>

Zend Framework 1.8

without comments

Yesterday Zend Framework 1.8 was released and since I was ill and didn’t have much else to do I decided to have a look and make necessary changes to port our company CMS to the new version.

The new autoloader Zend_Loader_Autoloader is just what I was looking for to easily group the forms and models with my application modules. I definitively recommend to read a great article about the new autoloader at Zend Developer Zone.

The whole process of migrating from ZF 1.7.7 was quite painless I just had to replace:

Zend_Loader::registerAutoload

with

$loader Zend_Loader_Autoloader::getInstance();
$loader->registerNamespace('MyApp_');

Zend_Log_Writer_Mail is finally in the stable distribution and It took only couple of lines of code to add this to our application logger so now when stuff go terribly wrong I at least know I will be getting an email about it.

You can view the full list of changes in the 1.8 release here.

I look forward to playing with Zend_Navigation and see if we how could we use it to cleanup some of the mumbo-jumbo we are currently doing with ACLs and navigational elements.

Zend_Validate_Db_RecordExists doesn’t look like much, but it makes me happy to remove some custom code because it is now supported in the framework.

Written by Goran Jurić

May 3rd, 2009 at 1:03 am

Posted in Zend Framework

Tagged with

Leave a Reply