Re: Searching OO Associations with RDBMS Persistence Models




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

.



Relevant Pages

  • Re: OT: SQL
    ... as part of a dbms is so spectacularly bad I am speechless. ... they are talking about in data management. ... A dbms is a *general-purpose* data management ... CPU is a general purpose computing device, ...
    (sci.logic)
  • Re: Application logic and Business logic
    ... >>multiply matrices any close to O. ... > The same as if you use a distributed DBMS with a module that is a DLL. ... No it depends solely on the facts of linear algebra. ... > Data management is, and if computerized data management is not ...
    (comp.object)
  • Re: OT: SQL
    ... as part of a dbms is so spectacularly bad I am speechless. ... they are talking about in data management. ... A dbms is a *general-purpose* data management ... CPU is a general purpose computing device, ...
    (sci.logic)
  • Re: Base Normal Form
    ... > everything into the dbms. ... while programming languages have had a much freer development path. ... it comes to what they can do with data management. ... is a disaster for scalability. ...
    (comp.databases.theory)
  • Re: chooses not to generate code at all
    ... >The whole point of having a stored procedure as an integral part of the ... >DBMS is so that the DBMS engine can execute it when triggered by some ... Nor is a conventional RDB the only way to ... >problem space. ...
    (comp.object)