我应该为新的 CRUD asp.net 应用程序使用 SubSonic 还是动态数据?

发布于 07-14 06:52 字数 261 浏览 7 评论 0原文

我需要构建一个快速 CRUD asp.net 站点,但这可能会成为一个更大的应用程序。 我对 SubSonic 有一些经验,但自从我用它做过项目以来已经很久了,我必须重新学习它。 我也在考虑使用动态数据。 有没有人对这些工具有任何经验可以告诉我应该走哪条路?

I need to throw together a quick CRUD asp.net site, but this may become a bigger application down the road. I have some experience with SubSonic, but it has been so long since I did a project with it I have to relearn it. I am also considering using Dynamic Data. Does anyone have any experience with these tools that can tell me which way I should go?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

仅此而已2024-07-21 06:52:54

这些天我几乎在所有事情上都使用亚音速。 SubSonic 的优点是,如果您以后需要增强/扩展它,您可以在其上构建任何您想要的抽象层 - 它实际上只服务于一个主要目的 - 消除创建 CRUD 代码的麻烦。

我没有广泛使用动态数据,但从我所读到的内容来看,它似乎为您创建了很多脚手架,并且它可能无法与更广泛的应用程序很好地混合。 如果您需要未来的可扩展性,我建议使用亚音速,但对于严格用于通过网络维护数据库的短期一次性应用程序来说,动态数据可能是一种选择。

I use subsonic for almost everything these days. The advantage of SubSonic is that you can build whatever abstraction layer you want on top of it, if you need to enhance/extend it later - it really only serves one main purpose - taking the crap out of creating crud code.

I've not used dynamic data extensively, but from what I've read, it seems like it creates a lot of the scaffolding for you, and it might not mix well with a more extensive application. If you need future extensibility, I'd recommend subsonic, but dynamic data may be the way to go for short one-off applications strictly used to maintain a database via the web.

狼亦尘2024-07-21 06:52:54

我以前使用过 SubSonic,就我而言,它效果很好。 如果您只需要一个抽象层,SubSonic 可以做得很好,同时保持设置和知识曲线非常简单。 我不确定动态数据,但随着数据库的增长,Subsonic 重新生成类的过程非常简单。 此外,Subsonic 与视图和存储过程配合得很好,所有内容都可以从您的类中访问。 本教程有助于设置数据提供者和参考。 不确定动态数据是否有很多帮助。 因此,如果您正在寻找快速简便的方法,我会说 SubSonic 是您的最佳选择。

I have used SubSonic before and in my case it worked great. If all you need is an abstraction layer SubSonic does a great job while keeping setup and knowledge curve very simple. I am not sure about Dynamic Data but with Subsonic as your database grows the process to regenerate classes is very simple. Also, Subsonic works well with views and stored procedures everything can be accessed from the your classes. The tutorial are helpful for setting up data providers and references. Not sure if there is much help with Dynamic Data. So if you are looking for quick and easy I would say SubSonic is the way to go.

一抹微笑2024-07-21 06:52:54

动态数据基本上是一种非常先进的可定制网格解决方案。 如果您想通过一些额外的控件和自定义来进行 CRUD,那么这就是正确的方法。

如果您想要更复杂的逻辑,那么 SubSonic 更有意义。
我认为动态数据非常适合使用一些高级的额外控件来设置 CRUD 模板。

观看 asp.net 上的一些视频以获得良好的印象。

Dynamic data is basically a very advanced customizable grid solution. If you want to do CRUD with some extra controls and customization then that’s the way to go.

If you want more complex logic then SubSonic makes more sence.
I think Dynamic Data is great for setting up templates for CRUD with some advanced extra controls.

Have a look at some videos on asp.net to get a good impression.

旧伤还要旧人安2024-07-21 06:52:54

本质上它们是相同的,但是,对于 Subsonic,您可以对其进行更多自定义,而且您还可以使用 T4 模板生成自己的代码来补充 subsonic 的东西。

Essentially they are the same, however, with Subsonic, you can customize it more, and also, you can use T4 templates to generate your own code to complement the subsonic stuff.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文