Object Relational Mapping (ORM) allows manipulation and control of data within a database as though it was a PHP object. Once you define the relationships ORM allows you to pull data from your database, manipulate the data in any way you like and then save the result back to the database without the use of SQL.
The Doctrine Project is the home of a selected set of PHP libraries primarily focused on providing persistence services and related functionality. Its prize projects are a Object Relational Mapper and the Database Abstraction Layer it is built on top of.
Propel is an open-source Object-Relational Mapping (ORM) for PHP5. It allows you to access your database using a set of objects, providing a simple API for storing and retrieving data. Propel gives you, the web application developer, the tools to work with databases in the same way you work with other classes and objects in PHP.Propel gives your database a well-defined API.Propel uses the PHP5 OO standards — Exceptions, autoloading, Iterators and friends.
Start developing using the easiest ORM layer ever made! With RedBean, ORM (Object Relational Mapping) in PHP becomes a breeze. RedBeanPHP is a simple straightfoward, lightweight ORM solution; with a ‘fire and forget’ philosophy! Download RedBean now and boost your PHP productivity right away!
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. Outlet is released under the New BSD License.
Object Relational Mapping (ORM) allows manipulation and control of data within a database as though it was a PHP object. Once you define the relationships ORM allows you to pull data from your database, manipulate the data in any way you like and then save the result back to the database without the use of SQL. By creating relationships between models that follow convention over configuration, much of the repetition of writing queries to create, read, update and delete information from the database can be reduced or entirely removed.
dORM is a PHP 5 ORM (object relational mapper) library that seamlessly loads, saves and deletes PHP objects from and to a relational database (currently, only MySQL was tested). dORM requires a small XML file that maps classes to their respective database tables. We plan to offer automatic mapping in a future release.
It builds SQL statements based on the objects vars and the builder methods & acts as a datastore for a table row. The core class is designed to be extended for each of your tables so that you put thedata logic inside the data classes.included is a Generator to make your configuration files and your base classes.
Add comments to the majority of classes and their properties and methodsElimination of redundant or unnecessary classes: PMO_MapHash, PMO_MyMapHash, and PMO_MapTable PMO_MyMapTableAdded PMO_MyArray, which transforms tables into objects and use the class in several other classesAdded PMO_Request PMO_MyRequest and a class to construct a queryAdjusting the name of several methods to standardize the nomenclature of the classes and their APIsFixed several bugs detected during testing.
lworm is a lightweight ORM (Object Relational Mapping) tool for PHP, supporting Google App Engine Datastore and simple SQL architectures.
Syrius is a project developed in PHP 5.2.3 + that adds power and flexibility to web applications by introducing the functions of an ORM, Object Relational Mappingconnecting the database through an abstraction layer dBal portable and without any code-generation. In the present case is implemented via the Data Mapper pattern object-oriented programming with PHP5.The project takes its inspiration from the draft phpDataMapper. Syrius can be seen as an implementation of the existing project by introducing additional changes in terms of Design Patterns to improve the management of the objects.
pdoMap is a framework under LGPL for object-relational mapping (ORM) written in PHP 5. It allows you to easily define the structure of your databases and manipulate them without needing to write PHP code or SQL queries.
12. PHP SmartDB
The PHP SmartDB will let you write PHP applications that store info in a database without writing any SQL! It’s all PHP- you don’t have to use a separate language just to communicate with a database. The framework provides a structured foundation to keep your code organized. You’ll spend less time debugging SQL errors (ugh) and more time creating your software (!). Use the “Quick Start Kit” to start your PHP-Database application now, using this proven foundation.
dataSourceORM is a object-relational mapping solution written in PHP and loosely based on the concept of delegation of database operations from the model to a datasource. The term model is used here because DataSourceORM is really designed to be the ‘Model’ component in a ‘Model View Controller’ system. The components can be used elsewhere without issue, but this is its intended use.