|
|
Line 1: |
Line 1: |
| ==Object-relational Mapping==
| |
| [http://en.wikipedia.org/wiki/Object-relational_mapping Object-relational Mapping] (ORM, O/RM, and O/R mapping) is a programming framework that allows you to define a mapping between application object model and the relational database. In an [http://en.wikipedia.org/wiki/Object_model Object model], the application objects are not aware of the database structure. Objects have properties and references to other objects. [http://en.wikipedia.org/wiki/Database Databases] consist of tables with columns that maybe related to other tables.
| |
|
| |
|
| ORM provides a bridge between the [http://en.wikipedia.org/wiki/Relational_database Relational database] and the object model and lead to a huge reduction in lines of code as ORM tools translate the query language into the appropriate syntax for the database for developers. By using ORM, you can access and update data entirely using the object model of an application. There are lots of free and commercial packages available that perform object-relational mapping. [http://en.wikipedia.org/wiki/Object_code Object code] can be written using [http://en.wikipedia.org/wiki/Object-oriented_programming object-oriented programming (OOP)] languages such as [http://en.wikipedia.org/wiki/Java_(programming_language) Java], [http://en.wikipedia.org/wiki/Ruby_(programming_language) Ruby], [http://en.wikipedia.org/wiki/C%2B%2B C++] or [http://en.wikipedia.org/wiki/C_Sharp_(programming_language) C#].
| |
|
| |
|
| == '''Background''' == | | ==Background== |