News Feed
Sections




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

Leaseweb Labs Blog:
Tuning Zend framework and Doctrine
July 26, 2011 @ 12:35:03

On the Leaseweb Labs blog there's a recent post looking and some of the things you can do to optimize Zend Framework and Doctrine when used together for database access.

In principle, the combination of Zend Framework with Doctrine is not too difficult. But first let's talk about the preparations. According to the author of Zend Framework, the default file structure of project can be a bit more optimal.

They start by describing this optimized file structure (moving the models out of the modules and into the library) and what you'll need to change in Doctrine's configuration to make this work. The post also includes examples of what the larger config should look like when the changes are made. They show how to extend the default Doctrine CLI tool to make a custom "sandbox" instance and show some tuning you can do on the Zend Framework side so it can optimally work with the new models.

0 comments voice your opinion now!
tuning zendframework doctrine tutorial model structure


blog comments powered by Disqus

Similar Posts

AWS PHP Development: Testing Webhooks Locally for Amazon SNS

Court Ewing's Blog: Zend Framework Modules: Autoloading & Namespaces

Enrico Zimuel's Blog: XML to JSON in PHP: an odyssey

NetTuts.com: Building Advanced Email Features With IMAP and PHP

DevShed: Benchmarking with the Xdebug Extension


Community Events

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


framework unittest voicesoftheelephpant release extension security threedevsandamaybe laravel series library introduction language api symfony opinion laravel5 version community podcast interview

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