本文介绍了如何决定哪些是对的,WebForms的MVC或ASP.NET做的时候的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我要为我的会员注册的体育俱乐部做起了小项目,我想的WebForms或MVC的决定。

So I'm about to start of a small project for my sporting club for member registrations and I'm trying to decide between WebForms or MVC.

Allit将是用户登录和数据采集方式(或和数据检索),所以我想initally与FBA的WebForms,但我想和MVC一会儿戏,我想它不会告发'T是太糟糕了一个选择。

Allit will be is a user login and data capture forms (or and data retrieval), so I was initally thinking WebForms with FBA but I've wanted to have a play with MVC for a while and I was thinking that it wouldn't be too bad a choice.

但不是真的有很多MVC的知识,我不知道这是否会是一个错误的选择。

But not really having a lot of knowledge of MVC I don't know if it'd be a wrong fit.

那么,什么是决定是否或的WebForms MVC是正确的选择的好办法?

So what's a good way to decide if WebForms or MVC is the right choice?

推荐答案

这是一个关键,生产水平的应用程序或小一次性的?你可以处理额外的时间MVC的学习曲线会采取或者你需要把它做对,远?你能负担得起报废整个事情,从头再来,如果MVC不工作了?你是否愿意让平台的变化(可能没有太大的现在,它是处于测试阶段),而你正在开发?有另一个项目,是不太重要的,你可以使用MVC,了解它。

Is this a critical, production level application or a small one-off? Can you deal with the extra time that the learning curve of MVC will take or do you need to have it done right-away? Can you afford to scrap the whole thing and start over if MVC doesn't work out? Are you willing to have the platform change (probably not much now that it's in beta) while you are developing? Is there another project that is less critical that you could use MVC on to learn it.

根据您如何回答这些问题,在这个项目上学习MVC可能是值得的。就个人而言,我认为这是一个更好的架构,但在这一点上一个不太成熟的技术。这无疑增加了我的网络code的可测性。我预计在未来一年左右的时间将所有我的发展在这个方向,但我怀疑我会在任何我所正在开发过一段时间的项目换挡。我刚开始在MVC我的第一个新项目。我是不是愿意承担它,直到它进入测试阶段,我认为它会在生产前,我与该项目完成了。

Depending on how you answer these questions, learning MVC on this project might be worth it. Personally, I think it is a better architecture, but a less mature technology at this point. It has certainly increased the testability of my web code. I expect to move all of my development in this direction over the next year or so, though I doubt if I will change gears in any of the projects that I have had under development for awhile. I've just started my first new project in MVC. I wasn't willing to commit to it until it went into beta and I think that it will be in production before I'm finished with the project.

这篇关于如何决定哪些是对的,WebForms的MVC或ASP.NET做的时候的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-27 23:48