CSC/ECE 517 Summer 2008/wiki3 1 ar

From Expertiza_Wiki
Revision as of 16:04, 25 July 2008 by Arashid (talk | contribs)
Jump to navigation Jump to search

WIKI Topic - RDB/OO patterns

It would be good if OO programs could interact with OO databases, but alas, relational databases have a 99% market share. This has led to many attempts to access them from OO languages. Design patterns for doing this have been developed, starting with Crossing Chasms and extending to Rails' ActiveRecord [1][2]. Here, we investigate the various approaches for marrying OO programs to relational databases, comparing them in terms of ease of programming, robustness, and efficiency.

Introduction

Relational Vs Object-Oriented Models

Relational Models

Object-Oriented Models

Differences between Relational Vs Object-Oriented Models

Mismatches

Techniques for merging Relational and OO models

Minimize the differences

Compensation

Object/Relational Mapping (ORM) Patterns

Conclusion

Links