News Feed
Sections




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

Martin Sikora's Blog:
Silex + Doctrine 2 ORM
May 08, 2012 @ 11:12:16

Martin Sikora has shared some of his experience with setting up a Silex instance to work with Doctrine2 in a new post to his blog. The popular microframework comes with a built-in Doctrine service provider, so integration isn't overly difficult.

Silex is great for its simplicity, however for larger projects you probably want to use some ORM like Doctrine but there's build-in service provider only for Doctrine DBAL and not ORM.

He breaks it up into five smaller steps, each with code samples to help clarify:

  • Doctrine 2 ORM Service Provider
  • Create your entity classes
  • Mind Doctrine DBAL and Doctrine ORM versions
  • Doctrine CLI
  • Working with Doctrine ORM
0 comments voice your opinion now!
silex microframework doctrine2 integrate tutorial


blog comments powered by Disqus

Similar Posts

PHPMaster.com: Simplifying Test Data Generation with Faker

HowTo Forge: Installing Lighttpd With PHP5 And MySQL Support On Mandriva 2008.0

PHPBuilder.com: PHP and Adobe Air: Building a Time-tracking and Billing Application - Part II

Noupe.com: 20 Useful PHP + jQuery Components & Tuts for Everyday Project

Venture Skills Blog: Want to create a site like Digg with no programming?


Community Events





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


list library voicesoftheelephpant framework api bugfix community symfony language interview release laravel series install package deployment tips introduction podcast opinion

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