What is ORM?
ORM stands for Object-relational mapping and it refers to a technique in computer programming wherein the data is converted from differing incompatible type systems in languages that are object-oriented. This allows for manipulation of data within the particular programming language using a virtual type of object database. ORMs may be created by administrators and programmers on their own, but there are also many available and existing systems on the internet, with some available for free and the others coming with a fee. The ORM technique is created so that one particular application may be able to interact with the data it is trying to configure and/or manipulate through objects. This technique is different from the usual data manipulation techniques through tables, rows, and columns. With tables and columns involved, data manipulation is more tedious for a particular programmer as he/she would have to convert existing object values into simpler forms so these could be stored in the database. With Object relational mapping, the objects involved will be translated into smaller forms so it could be properly stored on the database without losing some of its properties.
But aside from allowing a particular application to have access to the database through objects, ORM also involves less coding. This is great news for programmers and developers as this will result to increased productivity. But as with other techniques, Object-relational mapping also has its disadvantages. In the case of database-specific forms of techniques, ORM may not be able to function well especially if existing techniques are already optimized to run properly and efficiently. A basic example is in the deletion of numerous records or data. In this particular case, the use of ORM technique may not give the best result. It is also said that if users and programmers rely too much on the ORM technique, it may lead to a database that is poorly designed.
Leave a Reply