|
Re: Color me shocked
|
Posted: May 30, 2007 9:16 AM
|
|
> Gavin King is a very bright guy; yet he writes this: > > "At core, the reason we need [object-relational] mapping > technology is that data and data models last longer than > applications, longer even than programming languages." > > This is wrong: utterly, monstrously, discreditingly > wrong. >
Frank, here's what I think Gavin King was trying to say: We know that data stays for a very long time. For example, if I have a banking account with a bank for 30 years, then the data must stay for quite a significant part of that period, if not all. During this time, people may have accessed it using COBOL, C++, Java, dotNet, or whatever. In the future this data may be accessed by other types of applications. During each stage, different paradigms of data-handling are involved at the application level. Hence the problem of mapping data between application and database will always be there. Currently, since OO technologies are in vogue, we see OR mapping being discussed. But the fundamental fact is that there has to be a mapping layer between the application and the database when these two layers have different paradigms.
In that sense, I do not think that Gavin's statement is wrong in any way at all.
PS: I'm not a fan of Gavin King or ORM tools. In fact, a few years ago, when I first read some of Gavin's comments about relational databases, I realized that he knew very little about them, at that time. Since then he seems to have educated himself quite well indeed.
|
|