亚音速VS NHibernate的亚音速、VS、NHibernate

由网友(一饮茶尽)分享简介:什么是何时使用这些工具adversed到另一个的concensus?我觉得亚音速把事情迅速完成方面是非常有用的,但对大型项目它往往不按比例,和其联系您的域模型,您的数据库模型。这就是NHibernate的进来,因为它为您提供了轻量级波苏斯是无关的数据库模型,但建立时间要长得多。What is the concensu...

什么是何时使用这些工具adversed到另一个的concensus?我觉得亚音速把事情迅速完成方面是非常有用的,但对大型项目它往往不按比例,和其联系您的域模型,您的数据库模型。这就是NHibernate的进来,因为它为您提供了轻量级波苏斯是无关的数据库模型,但建立时间要长得多。

What is the concensus on when to use one of these tools adversed to the other? I find Subsonic very useful in terms of getting things done quickly, but on large projects it tends not to scale, and its ties your domain model to your database model. That is where Nhibernate comes in as it gives you lightweight POCOs that are unrelated to your database model, but the setup time is much longer.

推荐答案

有人问我这个问题了很多,实际上它归结为多少你想拨弄。我不能告诉你,克里斯Cyvas的意见如何破坏RE亚音速比例已经 - 我一直在响应这些自从:(

I get asked this question a lot and really it comes down to how much you want to fiddle. I can't tell you how damaging Chris Cyvas's comments RE SubSonic scaling have been - and I've been responding to these ever since :(.

该协议是 - 穿孔 - 明智的,亚音速尺度非常漂亮。在项目增长方面 - 使用任何工具,需要你的关注。即使NHibernate的。

The deal is - perf-wise, SubSonic scales very nicely. In terms of project growth - ANY tool you use will require your attention. Even NHibernate.

我写了关于如何使用Repository模式与DI后(就像使用NHIb或与此有关的任何工具)亚音速2.1:

I wrote a post on how to use the Repository pattern with DI (as you would with NHIb or any tool for that matter) with SubSonic 2.1:

http://blog.wekeroad.com/blog/subsonic-writing-decoupled-testable-$c$c-with-subsonic-2-1/

我也写了亚音速性能后:

I also wrote a post on the performance of SubSOnic:

http://blog.wekeroad.com/blog/subsonic-scaling/

希望这有助于。

阅读全文

相关推荐

最新文章