Object-relational mapping a general programming technique for converting data between incompatible system types [ different systems] using object-oriented programming languages.
Object-relational mapping ( ORM ) is a technique used to map any programming language objects to database objects directly.
ORM generates objects (similar to OOP) that virtually map the tables in a database
Example of few Popular ORMs:
ORM helps us to access and manipulate objects directly via programming languages without bothering too much about data sources.
What does ORM Framework do
ORM is framework is written in an object oriented language (like PHP, Java, C# ) and it is designed to virtually work with relational databases.
It basically translates into: mapping objects to relational tables.
ORM is best example for encapsulation.
Encapsulation hides inner implementation and exposes data which is necessary for user.Similarly ORM techniques enables developers to change the code of applications developed without requiring changes to be done in database.
In order to access the database in Object Oriented context we can use ORM.
ORM manages the mapping details between a set of objects and underlying relational databases or data sources. Developers can work on the code they create & ORM takes cares of converting programming object to Db object.
Advantages of using ORM for Development
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.
Current ye@r *
Leave this field empty
Upcoming Recruitment Drives
Recently Placed Candidates