Object - Relational
Object-Relational mapping (aka O/RM, ORM, and O/R mapping) is a programming technique for converting data between incompatible type systems in databases and Object-oriented programming languages. This creates, in effect, a "virtual object database" which can be used from within the programming language.
From : http://en.wikipedia.org/wiki/Object-relational_mapping
EasyORM
EasyORM is an object-relational mapping tool for users of PHP and MySQL. It introspects a MySQL OLTP schema, and uses "hints" from the user to generate PHP classes for accessing that schema in a safe, reliable way. It makes full use of transactions, serial (AUTO_INCREMENT) columns, and row locking. In addition, it can use InnoDB FOREIGN KEY references to automatically pick up on relationships/dependant object structures, and manage object lifetime accordingly.
Features
The key features of EasyORM (as of 0.5.0) are:
Automatically generate object-oriented PHP code to access relational schema in a MySQL OLTP database.
Full support for transactions, and InnoDB FOREIGN KEYs.
Full support for dependant objects with lifetime management (even without FOREIGN KEYs!).
Maximize performance by providing safe intra-transactional caching.
Facilitate a "layered" code structure (DB access code at the bottom, business rules above that, and application/UI code on top) to maximize reuse, and minimize maintenance headaches.
Provide robust facility for development and debugging to aide in finding application-level bugs, and simplify the management of seperate environments (development, staging, production, etc...).
Support for tables with no PRIMARY KEY, or single-column PRIMARY KEYs.
Full management of 1-1, and 1-M relationships between objects.
visit
EasyORM
EasyORM was visited : 92 times
Loading .....