Re: Searching OO Associations with RDBMS Persistence Models
- From: "Alfredo Novoa" <alfredo_novoa@xxxxxxxxxxx>
- Date: 29 May 2006 01:05:04 -0700
Robert Martin ha escrito:
Ridiculous. OO and RDB coexist very nicely together. I've never heard
anyone suggest that searches aren't needed.
Relational databases have nothing to do with searches. This shows
profound ignorance about data management theory.
The big problem with OO and RDB is that people try to make them
represent each other. RDB is about data structure an OO is about
behavior structure.
No no no! RDB is about data management and OO is about application
programming.
The DBMS must enforce all the business rules (data behavior). The OO
applications must enforce the presentation and communication behavior.
The objects in an OO program should NOT be the
tables in the RDB.
Obviously true.
The objects in the OO program should MANIPULATE the
data structures from the RDB.
Very wrong. The OO program should TRANSFORM the user input in orders
for the DBMS.
The OO program is an interface between the users and the DBMS. A
friendly substitute for the DBMS console.
Regards
Alfredo
.
- Follow-Ups:
- Re: Searching OO Associations with RDBMS Persistence Models
- From: Robert Martin
- Re: Searching OO Associations with RDBMS Persistence Models
- References:
- Searching OO Associations with RDBMS Persistence Models
- From: Richie
- Re: Searching OO Associations with RDBMS Persistence Models
- From: frebe73
- Re: Searching OO Associations with RDBMS Persistence Models
- From: Robert Martin
- Searching OO Associations with RDBMS Persistence Models
- Prev by Date: Re: Searching OO Associations with RDBMS Persistence Models
- Next by Date: Instance Methods vs. static methods in serialization
- Previous by thread: Re: Searching OO Associations with RDBMS Persistence Models
- Next by thread: Re: Searching OO Associations with RDBMS Persistence Models
- Index(es):
Relevant Pages
|