News Feed
Sections




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

Suresh Ariya:
Integrate Zend Framework into CakePHP application
February 13, 2014 @ 13:04:22

Suresh Ariya has a new post today showing you how to integrate Zend Framework (v1) with CakePHP so you can use any Zend Framework class/component you might need via autoloading.

Today, we are going to see how we can integrate Zend Framework version (1.12) into CakePHP Application. In order to achieve this, i created an autoloader script which will load the Zend Framework class at the time of accessing the class (creating object). I used spl_autoload_register() function which will register a function as the __autoload() function.

He creates a basic "ZFLoader" class that handles the registration of the autoloader and the parsing of the class name to resolve the path to the file. Another basic loader script is included in the post with some setup and configuration the Zend Framework will need to operate. Finally, he shows how to get the CakePHP application to pull in the Zend Framework loader in the controller and make use of the Zend_Feed component.

0 comments voice your opinion now!
integration zendframework cakephp application tutorial

Link: http://sureshdotariya.blogspot.in/2014/02/integrate-zend-framework-into-cakephp.html

blog comments powered by Disqus

Similar Posts

Internet.com: Storing Blobs in Microsoft Azure with the Zend Framework

PHPMaster.com: Getting Started with Fuel CMS, Part 2

Pádraic Brady's Blog: Having a bad ViewRenderer day in your ZF app?

Dutch Web Alliance: Docker & PHP: beyond virtual machines

Padraic Brady's Blog: New Zend_Feed_Writer Component And Zend_Feed_Reader Enhancements (ZF 1.10)


Community Events

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


version extension series opinion interview example language php7 framework list library release voicesoftheelephpant community introduction api laravel laravel5 security podcast

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