到底什么是动态数据?

发布于 2024-11-07 17:13:23 字数 328 浏览 5 评论 0 原文

到底什么是动态数据?我在 msdn 上的ASP.NET 概述中看到了该术语。是不是我们在处理数据时一直使用但没有真正提到的东西?

我已经构建了一些 Web 应用程序,但从未遇到过这个术语。这是应该使用或考虑的东西吗?

更新:我想我不太确定它的用途。我以前在使用 LINQ to SQL 或实体框架时从未遇到过问题。是什么让使用动态数据值得?它只是一个模式吗?

What exactly is dynamic data? I saw the term in the ASP.NET Overview on msdn. Is it something that we use all the time thats not really mentioned when working with data?

I've built a few web applications already and never came across this term. Is it something that should be used or maybe considered?

UPDATE: I guess I'm not really sure what it's for. I've never had a problem doing LINQ to SQL or Entity Framework before. What makes using Dynamic Data worth it? Is it simply a pattern?

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

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

发布评论

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

评论(3

末蓝 2024-11-14 17:13:23

动态数据是 VS 2008 中的一个新项目类型。模板可帮助更快地编写代码。

我看到它的使用的两个重要原因:

  • 真正建立一个管理后端
    很快,一路上做很多事
    修改前端可能不会
    需要。
  • 快速建立 CRUD 应用程序
    简单的。

现在,它可以进行很大的修改。查看这些链接,了解其他人在这方面所做的一些工作。

http://aspnet.codeplex.com/Wiki/View.aspx?title =Dynamic%20Data

Matt Berseth - http://mattberseth.com/blog/dynamic_data/

斯蒂芬·诺顿 - http:// /csharpbits.notaclue.net/

http://weblogs.asp.net/craigshoemaker/archive/tags/Dynamic+Data/default.aspx

http://blogs.msdn.com/rickandy/archive/2009/01/08/dynamic-data-faq.aspx

快进到今天:

作为MVC 已经成熟,他们引入了动态数据中的许多想法。脚手架、模板等...可帮助您快速启动和运行,但也能够更轻松地进行修改,并且专为许多其他所需功能而设计。

如今,动态数据适合什么地方,尤其是考虑到灯开关的情况?很好的问题,我目前唯一的答案是它仍然适合最初提到的两个项目,但随着 MVC 的出现,具有这些功能以及附加功能和灯光开关,它将看到很少的使用。

Dynamic Data was a new project type in VS 2008. It used scaffolding & templates to help code faster.

Two big reasons I saw for its usage:

  • Stand up an admin back-end really
    quickly where doing much on the way
    of modifying the front-end may not be
    needed.
  • Quickly stand up CRUD apps that are
    simple.

Now, it can be modified very heavily. Check out these links for some work others have done on this.

http://aspnet.codeplex.com/Wiki/View.aspx?title=Dynamic%20Data

Matt Berseth - http://mattberseth.com/blog/dynamic_data/

Stephen Naughton - http://csharpbits.notaclue.net/

http://weblogs.asp.net/craigshoemaker/archive/tags/Dynamic+Data/default.aspx

http://blogs.msdn.com/rickandy/archive/2009/01/08/dynamic-data-faq.aspx

Fast Forward to Today:

As MVC has matured they have introduced many of the ideas that were in Dynamic Data. Scaffolding, templates, etc... to help one quickly get up and running BUT also have the ability to modify more easily and is designed for many other desirable features.

Where does Dynamic Data fit today, especially with Light Switch thrown into the mix? Great question and my only answer at this point is it still fits for the two items originally mentioned but with the advent of MVC having these abilities WITH added capabilities and Light Switch it's going to see minimal usage.

转角预定愛 2024-11-14 17:13:23

The page you linked to has a link to the ASP.NET Dynamic Data Overview. Is there something on that page you would like explained?

时光倒影 2024-11-14 17:13:23

动态数据是一种使用数据库架构自动编写 CRUD 数据逻辑的方法。

查看此演练,让您快速了解一下。

这不是我使用的东西,但我可以看到它在真正快速的开发场景中的优点。我不知道它是否能经受住时间的考验,或者被证明是有用的或可维护的。

Dynamic Data is a way to have your CRUD data logic written for you automatically using the Database Schema.

Take a look at this walkthrough to give you a quick jist.

It isn't something I use, but I can see where it has merit in a really rapid development scenario. I don't know if it will stand the test of time or prove useful or maintainable.

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