News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Rob Allen's Blog:
ZendTool providers in ZF2 (dev1)
September 27, 2010 @ 11:40:51

Rob Allen has a quick post about his conversion of his schema manager over from the Zend Framework version 1 to the upcoming version 2 - a simple task, as it turns out.

I've started playing with the development versions of ZF 2.0 and one of the first things I thought I'd do was to port Akrabat_Db_Schema_Manager. It turned out to be reasonably easy. All I needed to do was rework my use of ZF components to use the new ZF2 ones. Whilst I was at it, I also converted it to use namespaces. I also had to reorganise the http://github.com/akrabat/Akrabat library so that I could have ZF1 and ZF2 code in it.

He includes "before" and "after" snippets of code to help illustrate the example. He had to change up things just a bit to handle the namespaces because of naming issues (a class named "Abstract" isn't allowed). If you want to see more of the updated code, you can check out his account on github with the changes.

0 comments voice your opinion now!
zendframework zendtool provider convertsion version namespace


blog comments powered by Disqus

Similar Posts

ProDevTips: Writing a CMS/Community with Smarty and the Zend Framework: Part 8

Richard Davey\'s Blog: Prepare for PHP 6

Test.ical.ly Blog: PHP 5.4 with traits, Doctrine 2.2 and then Symfony3?

Matthew Weir O'Phinney's Blog: Zend Framework MVC Webinar posted

Matthew Weir O'Phinney's Blog: Zend_Form Webinar Wednesday


Community Events





Don't see your event here?
Let us know!


list opinion language laravel series framework introduction artisanfiles community tool version symfony podcast library release voicesoftheelephpant security conference composer interview

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework