Upgrade to Pro — share decks privately, control downloads, hide ads and more …

MongoDB and PHP: To ODM or not to ODM? - Ricky ...

mongodb
October 07, 2011

MongoDB and PHP: To ODM or not to ODM? - Ricky Robinett, TargetSpot

MongoBoston 2011

When working with PHP and MongoDB you eventually end up asking yourself the question, Should I use an Object Document Mapper or not? In this talk... I'll cover the pros and cons of using PHP's native MongoDB driver vs using an ODM. I'll also talk about how some of the more popular PHP MongoDB ODMs work.

mongodb

October 07, 2011
Tweet

More Decks by mongodb

Other Decks in Technology

Transcript

  1. MongoDB and PHP: To ODM or Not To ODM? Ricky

    Robinett Wednesday, September 28, 11
  2. • Speed of System • Speed of Development • Quality

    of Code The Challenge Wednesday, September 28, 11
  3. MongoDB Native Driver Pros Cons PHP 5.1+ 10gen Supported Quick

    Setup No DB Abstraction Embedded Documents Wednesday, September 28, 11
  4. Pros Cons Sister MySQL ORM Embedded Documents Quick Object Building

    Open Source PHP 5.3.2+ Still BETA Initial Setup Doctrine Wednesday, September 28, 11
  5. Morph Pros Cons Open Source Quick Setup Simple Object Build

    PHP 5.3+ Documentation Embedded Documents Wednesday, September 28, 11
  6. Mandango Pros Cons Open Source Clean Code Performance Focused PHP

    5.3+ Initial Setup Wednesday, September 28, 11
  7. • ODMs == faster development • PHP Version Matters •

    Personal Preference Matters Conclusion Wednesday, September 28, 11