I'm not usually one to complain about wikipedia, but I wouldn't put too
much faith in that particular article, the author's knowledge of RDBMS
is extremely weak.
Examples of fundamental misunderstanding include:
"For example, relational databases make complicated associations
difficult,"
...which indicates no understanding of use of primary and foreign keys.
It is the simplicity of these two building blocks that makes complicated
relationships so easy to build. Double-shame go to the author for
failing to recognize the use of *composition*, a key OO technique, in
the construction of complicated relationships.
We also have to hope this is just a typo:
"they [RDBMS] tend to "map" poorly into the OO world because they fail
to implement the relational model
<http://en.wikipedia.org/wiki/Relational_model>'s (did he mean
Object-oriented models?) user-defined types."
Does my toaster "fail to implement" automobile brakes? Might it be
because you don't need brakes on a toaster?
This one I can't ignore:
"In the object world there is a clear sense of "ownership
<http://en.wikipedia.org/wiki/Ownership>", where a particular person
object owns a particular phone number. This is not the case in
relational databases"
As my daughter would say, OMG!!! This guy needs to dig through
wikipedia for something called 'row-level-security'. In my databases a
user can only see their own information, because they "own" it. An
admin is the guy that can see it all. Not to mention that the table
itself is the *fundamental* *mechanism* for associating attributes to a
particular entity.
my last stab, from the very same sentence:
"...the tables have no idea how they relate to other tables at a
fundamental level"
Foreign key anybody? Look up the term "natural join" as well.
Oh, well, enough of this ranting, I'm putting some intro material on the
Andromeda website today, and getting a new domain name, its only fun for
so long to beat up on somebody's work, much more fun to perfect your own....
Baer, Jon wrote:
For those not understanding the term or issues, Wikipedia has a great resource
on it ...
http://en.wikipedia.org/wiki/Object-relational_mapping
- Jon
-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Hans C. Kaspersetz
Sent: Fri 1/26/2007 6:21 PM
To: NYPHP Talk
Subject: [nyphp-talk] ORM
I can't believe that my group is the only group on this list that has
implemented ORM. If you have implemented ORM, what challenges did you
face? And how did you solve them? What compromises did you choose?
Were they conscious or unconscious compromises?
Hans
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php
------------------------------------------------------------------------
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php
begin:vcard
fn:Kenneth Downs
n:Downs;Kenneth
adr;dom:;;347 Main Street;East Setauket;NY;11733
email;internet:[EMAIL PROTECTED]
tel;work:631-689-7200
tel;fax:631-689-0527
tel;cell:631-379-0010
x-mozilla-html:FALSE
url:http://www.secdat.com
version:2.1
end:vcard
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php