有使用 Castle ActiveRecord 的经验吗?
我正在寻找一个基于 NHibernate 的轻量级数据访问框架。我需要简单的 CRUD 和一些简单的 HQL 或 LINQ-to-NHhibernate 查询。性能不是一个重要的问题,我正在开发的应用程序有简单的表结构,但有很多表。该数据访问框架将在 ASP.NET Webform 应用程序中使用。
有一次我发现了S#harp架构,但它是为ASP.NET MVC开发的。就在今天,我发现了 Castle ActiveRecord。但我想知道: 如果有人有这方面的经验吗? 它适合我吗? 我应该考虑任何具体问题吗? 它的未来又如何呢? Castle ActiveRecord 是否应该在未来几年内开发并活跃?
提前致谢
I was searching for a light data access framework based on NHibernate. I needed simple CRUD and some simple HQL or LINQ-to-NHhibernate queries. Performance was not an important issue and applications which I'm working on have simple table structure but many tables. This data access framework is going to be used in a ASP.NET Webform application.
Once a time I found S#harp architecture, but it was developed for ASP.NET MVC. Just today I found Castle ActiveRecord. But I'm wondering:
If any one has any experience with it?
Is it suitable for me?
Should I consider any specific matter?
What about its future?
Is Castle ActiveRecord supposed to be developed and be active in coming years?
Thanks in Advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
所以是的,我想说有人有这方面的经验。
只有你可以回答这个问题。每个程序员(或者架构师或首席开发人员,如果有的话)都必须评估每个项目使用的每一项技术。
了解 ActiveRecord 模式。了解NHibernate。查看 CastleCasts。
没有人确切知道未来。但我可以告诉你,Castle ActiveRecord 在过去 5 年多的时间里为很多人服务,而且它是开源的。这使得它完全没有风险。
So yes, I'd say someone has experience with it.
Only you can answer that. Every programmer (or architect or lead developer, if there is one) has to evaluate every piece of technology used for every project.
Learn about the ActiveRecord pattern. Learn about NHibernate. Check out CastleCasts.
Nobody knows the future for sure. But I can tell you that Castle ActiveRecord has worked for lots of people for the last 5+ years, and it's open source. That makes it quite risk-free.
Castle ActiveRecord 是一个不错的选择。它是构建在 NHibernate 之上的数据层。 Sharp Architecture 不仅仅是一个数据层。
Castle ActiveRecord 得到积极维护和支持。
Castle ActiveRecord is a fine choice. It is a data layer built on top of NHibernate. Sharp Achitecture is more than just a data layer.
Castle ActiveRecord is actively maintained and supported.