CSC/ECE 517 Fall 2010/ch2 2a aa: Difference between revisions
No edit summary |
No edit summary |
||
Line 31: | Line 31: | ||
The answer to this is quite an obvious one. ORM brings to the table something(s) that another solution hasn’t done so far. These “something(s)” that ORM contributes are listed below: | The answer to this is quite an obvious one. ORM brings to the table something(s) that another solution hasn’t done so far. These “something(s)” that ORM contributes are listed below: | ||
#Alleviates the problem that hinders a transition from one database provider to another database vendor or even another database product. | #Alleviates the problem that hinders a transition from one database provider to another database vendor or even another database product. | ||
#Enables to perform most of the database operations (mainly CRUD | #Enables to perform most of the database operations ([http://en.wikipedia.org/wiki/Create,_read,_update_and_delete]mainly CRUD) without having to write any [http://en.wikipedia.org/wiki/SQL]SQL statements, thereby permitting a shift from one SQL dialect to another. This also allows the software solutions to focus more on the actual problem being solved rather that performing supplementary functions extensively. |
Revision as of 00:34, 21 September 2010
Language extensions for ORM
- Introduction to Object Relational Mapping.
- Why ORM, why not another solution?
- Flavors of ORM.
- ORM implementation in specific languages
- Groovy, Grails and GROM
- Creating classes and tables
- Basic CRUD
- Creating objects
- Reading objects
- Updating objects
- Deleting objects
- PHP
- Creating classes and tables
- Basic CRUD
- Creating objects
- Reading objects
- Updating objects
- Deleting objects
- Groovy, Grails and GROM
Introduction to Object Relational Mapping.
Object Relational Mapping is a technique of mapping the solution entities of an object oriented system, [1]objects to [2] relational database tables. This technique came into existence as an answer to the problem of lack of persistence of objects across session in [3]Object Oriented Programming Systems. For instance in a software solution to manage the order and inventory systems of a company, the objects that are part of the systems (orders, customers . . .) must be accessible even if the system was temporarily shut down for a while. [4]ORM helps in achieving this very essential requirement by bringing the database into the picture, more specifically bringing the RDBMS into the picture.
Why ORM, why not another solution?
The answer to this is quite an obvious one. ORM brings to the table something(s) that another solution hasn’t done so far. These “something(s)” that ORM contributes are listed below:
- Alleviates the problem that hinders a transition from one database provider to another database vendor or even another database product.
- Enables to perform most of the database operations ([5]mainly CRUD) without having to write any [6]SQL statements, thereby permitting a shift from one SQL dialect to another. This also allows the software solutions to focus more on the actual problem being solved rather that performing supplementary functions extensively.