I have great knowledge in WebForm, but I see a lot of growth in MVC. Will the WebForm be extinct? MVC is better than WebForm.
I have great knowledge in WebForm, but I see a lot of growth in MVC. Will the WebForm be extinct? MVC is better than WebForm.
Hard to talk like this, it's better ..
When we deal with programming types, a lot will depend on your programming knowledge, and of course in the language in question.
The Web Forms.
As a general knowledge, it is such a catch and drag.
It has its importance, of course, it is simpler to use, but the code behind usually ends up having a dirty code, which depending on your application can be difficult.
Nowadays, it is becoming oblivious, if I may say so, or rather, disuse, although Microsoft says it will not be discontinued, it is not part of ASP.NET 5
, so it is out of some resources that this new version can bring.
The MVC
The MVC acronym comes from Model, View, and Controller, an architecture that has been around for a long time, is more complex thanWebForms
but enables a cleaner code, giving tools that encompass the entire application, and of course, this is the team that comes into play in the ASP.NET 5 release
Conclusion
If you are a beginner now, that is, studying to learn, I would recommend MVC
, for a simple and obvious logic, it is the architecture of the moment, and where guys are betting chips, or
But if you are an experienced programmer, already familiar with WebForms
, I ask you, is not it time to upgrade?
References:
There are several differences between the technologies mentioned. MVC is an old standard, but ASP.NET MVC is the natural evolution of ASP.NET.
If you look at the designer side, Asp.NET MVC is much more compatible with the devices we have today. It generates pure HTML, very different from Webforms where a lot of html is injected for support. MVC has no postback and is RestFull.
I would say yes, that MVC is faster than WebForms.
I leave here an article from Israel Aece on this subject: COMPARATIVE: MVC VS. WEBFORMS
Att
William
On the one hand we have years of experience and evolution, with a vast amount of tools that greatly increase productivity, making development fast and easy on WebForms.
On the other side, we have a framework that aims at a more organized division, making it easier to manage large and complex applications, allowing better test-driven development support and giving the developer full control of application behavior.
I think the most appropriate answer to the above question is: both! It will depend a lot on the application that will be developed, the resources involved, the term, and why not, the price. Knowing the differences, the benefits and pitfalls of each of the architectures, the answer will be clear for each situation.
REf: link