为什么面向对象的数据库失败? [英] Why did object oriented databases fail?
问题描述
为什么面向对象的数据库失败?
Why did object oriented databases fail?
我惊讶地发现:
foo bar = new foo();
bar.saveToDatabase();
丢失到:
foo bar = new foo();
/* write complicated code to extract stuff from foo */
/* write complicated code to write stuff to database */
相关问题:
Why have object oriented databases not been successful (yet)?
推荐答案
我一直使用 db4o (面向对象的数据库)最近在我个人的宠物项目,只是因为它是如此之快设置&去吧。
I have been using db4o (an object oriented database) lately on my personal pet projects, just because it is so quick to set up & get going. No need with the itty, gritty details.
除此之外,正如我所看到的,他们没有受欢迎的主要原因是:
That aside, as I see it, the main reasons why they haven't become popular are:
- 报表在面向对象的数据库上更加困难。与此相关的是,更容易手动查看关系数据库中的实际数据。
- Microsoft和Oracle基于关系数据库的业务。
- 很多企业已经建立了关系数据库。
- IT部门通常有关系数据库专业知识。
- Reporting is more difficult on object oriented databases. Related to this, it is also easier to manually look into the actual data in a relational database.
- Microsoft and Oracle base so much of their business on relational databases.
- Lots of businesses already have relational databases in place.
- The IT departments often have relational database expertise.
而且,正如Jan Aagaard所指出的,最近,这是因为问题已经以不同的方式解决,给程序员面向对象的感觉,即使他们编程一个
And, as Jan Aagaard, have pointed out, lately it is because the problem have been solved in a different way, giving programmers the object oriented feel even though they program against a
这篇关于为什么面向对象的数据库失败?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!