简体   繁体   English

亚音速简单回购用于高容量站点

[英]Subsonic Simple Repo for high volume site

Simple Repo has given me a competitive edge in my consulting. Simple Repo在咨询方面为我提供了竞争优势。 I can finish projects much faster than I could in the "cmd.Parameters.Add(param)" days. 我可以比“ cmd.Parameters.Add(param)”时代更快地完成项目。 As things progress on this end im getting into higher volume sites and wondering if Simple Repo is still the way to go. 随着事情的进展,我将进入更大数量的站点,并想知道是否仍然可以使用Simple Repo。 Im wondering what people's experiences have been putting SR into production vs. NHibernate. 我想知道与NHibernate相比,人们将SR投入生产的经历是什么。 Any tips or tricks for using SR in production. 在生产中使用SR的任何提示或技巧。

Everything I've read and seen says that SimpleRepository is aimed mostly at the prototyping phase and that most people swap out for ActiveRecord when they move forward. 我所阅读和看到的所有内容都表明,SimpleRepository主要针对原型设计阶段,大多数人在前进时会换用ActiveRecord。

For me, the transition point comes when I start to worry about how much work it will be to switch over. 对我来说,过渡点是在我开始担心转换将要进行的工作时到来的。 The ActiveRecord setup for Subsonic still allows really rapid development, especially compared with the "cmd.Parameters.Add(param)" days while still not needing to do a lot of the heavy-duty work that ORM's like NHibernate make you do. Subsonic的ActiveRecord设置仍然允许真正快速的开发,特别是与“ cmd.Parameters.Add(param)”天相比,尽管仍不需要像NHibernate这样的ORM做很多繁重的工作。

To me, Subsonic's ActiveRecord is a really good tradeoff. 对我而言,Subsonic的ActiveRecord是一个非常不错的权衡。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM