PHP Hints

August 9, 2011

Bisna: Integrating Zend Framework and Doctrine 2 ORM

Filed under: Uncategorized — kkruecke @ 8:29 am

Guilherme Blanco’s Bisna package integrates Doctrine 2 and Zend Framework 1 using a custom Zend Framework application resource plug: Bisna\Application\Resource\Doctrine

Since configuration settings are stored in application.ini, the developer can easily switch between development and production environments. Bisna\Application\Resource\Doctrine creates the Bisna\Application\Doctrine\Container, the Doctrine Container instance, which it stores in the Zend registry. This is the class you will retrieve and use in your action controllers.

I have written full documentation on how to configure and use Bisna here.

Note: Doctrine 2 requires at least PHP version 5.3.

Advertisement

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Theme: Rubric. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.