News Feed
Jobs Feed
Sections




News Archive
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

Rob Allen's Blog: Returning JSON using the Accept header in ZF2

DevShed: Creating an RSS Reader Application

NETTUTS.com: Caching, YQL, and Regular Expressions

Christian Schaefer's Blog: Using Zend Framework components in a Symfony2 project

DevShed: Using Self-Saving Objects with Command Objects in PHP 5


Community Events









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


interview api testing release framework composer object tool development podcast example zendframework2 language functional conference code introduction event opinion community

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