====== Object Relational Mapping (ORM) pour PHP ====== Voir aussi : * Glossaire: [[glossaire:ORM|Object Relational Mapping (ORM)]] * Page: [[/informatique/php/DAL|Database Abstraction Layers (DAL) for Php]]. ===== Articles ===== [[http://totalement.geek.oupas.fr/article/2009/02/14/symfony-bench-des-orm-propel-et-doctrine|Symfony: bench des ORM Propel et Doctrine]] [[http://my.opera.com/zomg/blog/2007/09/03/orm-in-php-using-propel|ORM in PHP using Propel]] 3. September 2007 ==== Etudes comparatives ==== 2009-05-16 [[http://codeutopia.net/blog/2009/05/16/doctrine-vs-propel-2009-update/|doctrine-vs-propel-2009-update]] 2009-02-22 [[http://code.google.com/p/benchsymfonyorm/|benchsymfonyorm]] 2008-07-17 [[http://redotheweb.com/2008/07/17/reconciling-propel-and-doctrine/|Reconciling Propel and Doctrine]] 2008-04-10 [[http://redotheweb.com/2008/04/10/propel-is-not-hard-anymore/|Propel is not hard anymore]] ===== Implémentations ===== ==== En vrac ==== http://swik.net/orm?popular Eazy PHP Data Objects http://www.ezpdo.net/ POG PHP Object Generator, or POG automatically generates tested object oriented code that you can use for your PHP4/PHP5 application. ==== Redbean ==== http://redbeanphp.com ==== Xyster ==== Xyster is a PHP application framework based on the Zend Framework. It adds several new features including a sophisticated ORM system, a dependency injection (IoC) container, a collections package, and additional MVC plugins. http://xyster.libreworks.net ==== LightOrm ==== http://phplightorm.wiki.sourceforge.net/ LightOrm is a small, fast and powerful ORM library for PHP 5. It has all main ORM features and even more, such as object cache control, memory usage control and some others. Benchmarks show that it is one of the fastest ORM library for PHP. Features: * Objects cache control * Memory usage control * Objects buffer control (internal paging) * Bulk Load * Lazy properties * Native SQL * Hibernate like "Uint of Works" * Model class inheritance free [[http://sourceforge.net/apps/trac/phplightorm/wiki/LightOrm%20vs%20Propel%20vs%20Doctrine%20benchmark|LightOrm vs Propel vs Doctrine benchmark]] ==== Doctrine ==== http://www.doctrine-project.org/ ==== Propel ==== http://www.propelorm.org ==== Outlet-ORM ==== http://www.outlet-orm.org/site/ Outlet is an open source object-to-relational mapping tool for PHP. It differs from other orm solutions for php in that it provides transparent, unobtrusive persistence. It does not require your entity objects to implement any interfaces or extend some sort of base class. It is also very lightweight, only a handful of classes and tools. It uses an approach similar to hibernate in java, using proxy objects that save the data behind the scenes. ==== php-activerecord ==== * Presentation: http://www.derivante.com/2009/05/14/php-activerecord-with-php-53/ * Project: http://launchpad.net/php-activerecord