ASP.Net 动态数据还是 MVC2?
我一直在使用 Web 表单,并且我想根据一些事实和我在其中看到的其他优点切换到 MVC 模式。当我遇到最新的动态数据(过去称为动态数据模板)时,我对 MVC 审查进展顺利。
如果我错了,请纠正我,但我相信 MVC2 和 MVC2 都支持后端。 DD 使用 MVC 模式,但 DD 支持服务器端控件,并使用其最新的脚手架技术实现大量自动化。我们可以在几个小时内创建一个正在运行的网站,DD 会为我们处理大部分工作。
MS 人们认为它“非常”灵活且可配置。然而,当我继续寻找在线资源时,我感到很失望(与 MVC 中提供的解决方案相比),asp.net 论坛最近的一篇文章给了我很大的打击 -
回复:为什么我不会使用动态数据 更多 - 请阅读此 Microsoft!
http ://forums.asp.net/t/1604037.aspx?PageIndex=2ums.asp.net/t/1604037.aspx?PageIndex=2
看起来非 MS 人员在 DD 中所做的工作比实际的要多团队! 他的网站有一些复杂的解决方案 - http://csharpbits.notaclue.net/
所以,是MVC2& DD实际上是两个不同的东西或者它们有多相似?此外,我对 DD 的一个主要担忧是它在运行时生成所有内容 - 与 MVC 相比,这是否会使其速度缓慢且性能意识较差?
下面附上我的一些 我已经完成的屏幕 网络表单(我需要能够插入 我的网络应用程序中有这样的功能)。为了 例如,网格级联,优化 分页、标头过滤器、冻结 网格标题、批量编辑等...网格标题、批量编辑等...
请分享一下您的经验,是等到 DD 成熟并有足够的文档和解决方案才明智,还是 MVC 随时更好?
一些屏幕:
I've been working with web-forms and I want to switch to the MVC pattern based on some facts and other goodies that I see in it. I was going good with MVC review when I came across the latest Dynamic Data (which in past was called Dynamic Data Templates).
Correct me if I'm wrong but I believe in backend both MVC2 & DD use the MVC pattern but then DD supports server-side controls and has a lot of automation using its latest scaffolding technique. We can make a running website with-in a few hours and DD handles most of it for us.
MS people day it is 'massively' flexible and configurable. However, as I went on looking for online resources I was disappointed (compared to the solutions available in MVC) a recent post from the asp.net forum hit me hard -
Re: Why I won't be using Dynamic Data
any more - please read this Microsoft!http://forums.asp.net/t/1604037.aspx?PageIndex=2ums.asp.net/t/1604037.aspx?PageIndex=2
And it looks like a non-MS guy has done more in DD then the actual team!
His website has some complex solutions - http://csharpbits.notaclue.net/
So, are MVC2 & DD actually two different things or how similar are they? Besides, a major concern I thought about DD is that it generates everything at runtime - doesn't that make it slow and less performance conscious compared to MVC?
Below, I've attached some of my
screens which I've accomplished in
Web-forms (I need to be able to plug
such features in my web-app). For
example, Grid-cascading, optimized
pagination, header-filters, frozen
grid-header, bulk edit, etc...grid-header, bulk edit, etc...
Please share your experience whether its wise to wait until DD matures and has enough documentation and solutions or is MVC anytime better?
Some Screens:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,那是错误的。 DD是“泥球”图案。
它们是完全独立的,几乎没有做任何相同的事情,只共享共同的语言和框架。
这对于您和您的项目来说是非常本地化的。如果不成熟的项目能解决个人项目的需求,我会使用它们,但在工作中我愿意等待稳定。
Yeah, thats wrong. DD is "ball of mud" pattern.
They are completely separate, do almost nothing the same and only share a common language and framework.
This is very localized to you and your project. I will use immature projects if they solve a need for personal projects but at work I'm willing to wait for stability.