有人使用 .netTiers 吗?
我正在考虑在新项目中采用 .nettiers,因为它似乎提供了很多我可以使用的功能。
是否有人在愤怒中使用它(我感觉它没有像以前那样具有以下功能),如果是,您对此有何看法?
另外,我找不到任何与 SubSonic 等产品相比的性能指标。 有人对其性能和可扩展性有强烈的感受吗?
非常感谢
托尼
I'm considering adopting .nettiers for a new project as it seems to provide a lot of functionality I could use.
Is anybody using it in anger (I'm getting the feeling it hasn't got the following it once had) and if so, what are your perceptions of it?
Also, I can't find any comparative performance metrics against things like SubSonic. Anybody have any strong feelings about its performance and scalability?
Many thanks
Tony
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
今天下午我花了一些时间对 netTiers 和 SubSonic 进行了正面比较。
我使用了使用 SubStage(SubSonic 2.1 版本的一部分)生成的代码,并使用 RepositoryRecord 作为我的基类。
我使用 .netTiers 2.2 生成的代码对同一数据库运行了相同的测试
该测试是 Rob Conery 在他的帖子中使用的测试的衍生版本:
http://blog.wekeroad.com/blog/subsonic-scaling/
当我说导数时,我的意思是我刚刚将 100,000 条记录写入数据库。
我在同一台电脑上重复每个测试三次。
我发现 .netTiers 在 90 秒内完成了任务。
亚音速用时 104 秒完成了这一任务。
与这些平均值的偏差不超过一秒。
I had some time this afternoon to run a head to head comparison between netTiers and SubSonic.
I used code generated using SubStage (part of the SubSonic 2.1 release) and I used RepositoryRecord as my base class.
I ran the same test against the same database using code generated by .netTiers 2.2
The test was a derivative of the one that Rob Conery used in his post:
http://blog.wekeroad.com/blog/subsonic-scaling/
When i say derivative, I mean I just wrote 100,000 records into the database.
I repeated each test on the same PC three times.
I found that .netTiers accomplished the task in 90 seconds.
Subsonic completed it in 104 seconds.
There was no more than a one second deviation from these averages.
- 我之前已经读过这篇文章,但它已有两年多了,从那时起,这两个项目都取得了很大的进展。
询问框架是否会提高我的工作效率是一个非常重要的考虑因素,但这不是唯一的考虑因素。
对我来说另一个问题是“我是否会因为我采用的框架充满错误、难以使用或只是一个 PIA 而失去潜在的生产力提升?” 这就是为什么我问人们是否在愤怒中使用它以及他们的经历是什么。
如果 .nettiers 比亚音速慢 10%,但为我提供了更多功能(例如更好的验证、业务规则执行等),那么我可以接受。 如果慢十倍我就不会考虑了。
非常感谢
托尼
Thanks - I've already read this post before, but it's over two years old and both projects have advanced a great deal since then.
Asking whether or not a framework will make me more productive or not is a very important consideration, but it's not the only one.
Another for me has to be "am I going to lose potential productivity gains because the framework I adopt is full of bugs, nasty to use, or just a PIA?" which is why I asked if people are using it in anger and what their experience is.
If .nettiers is 10% slower than subsonic, but gives me a whole bunch more features (such as better validation, business rule enforcement etc) then I can live with that. If its ten times slower, then I'd not consider it.
Many thanks
Tony
当我使用 NetTiers 时,我在某种程度上对它非常满意。 您确实需要学习使用它的最佳方法。 肯定存在一些奇怪的错误,有任意限制的东西等等。 你必须小心,但如果你学习,它绝对可以提高你的生产力。 我知道 CodeSmith 已经开始投入更多资源。 2.3 版本可能非常稳定。 虽然当前最新的稳定版本可能相当稳定,但我已经有一段时间没有使用它了。
老实说,在这一点上我更喜欢 LLBLGen。 我确实尝试过几次 SubSonic。 我没有遇到重大错误,但在这两种情况下我最终都切换到了 NetTiers。 使用 SubSonic,我觉得我只是输入了太多的字符串文字,而且它感觉不像其他替代方案那么成熟。
When I used NetTiers, I was very happy with it to an extent. You really need to learn the best ways to use it. There were definitely some weird bugs, things that had arbitrary limits and so forth. You have to be careful with it but it can definitely improve your productivity if you learn. I know CodeSmith has started putting more resoucres in it. The version 2.3 might be very solid. Although, the latest current stable version may be pretty solid, I haven't used it in awhile.
Honestly, at this point I prefer LLBLGen. I did try SubSonic a couple times. I didn't run into major bugs but I ended up switching, in both cases, to NetTiers. With SubSonic I felt that I was just typing out way too many string literals and it just didn't feel as mature as other alternatives.
看看这个。 它为您提供了两者之间良好的 X 与 Y 比较。
在选择要使用的框架时,我总是修改的一个关键点是:
这会简化,让我更有生产力吗,如果你对此回答“当然是”,那么其他基准测试怎么说并不重要,即使它的运行速度比 SubSonic 慢 10% 甚至更快,你也应该选择你开发的最快、最舒服的框架。
Look at this. It provides you with a good X vs Y comparison between the two of them.
A Key point that i always revise when selecting a framework to work with is:
Will this Simplify, Make me more Productive, if you answer "Yes of course" to this, it doesnt matter what other benchmarks say, even if it's 10% slower in running than SubSonic or even faster, you should go with the framework you develop the fastest and most that you are the most comfy in.