Content area
Full text
Abstract. Microsoft presented their vision for the web application development 10 years ago with the new ASP.NET platform. The pattem was Web Forms and this was then considered as a revolutionary approach for developing web applications - no spaghetti code, but code behind, rapid application development; opportunity of debugging; rich/extensive controls choice etc. There is a huge advantage in terms of usability in the Web Forms called View State. It genuinely maintains the state of the controls. Its drawback though is that it makes the web page heavier, hence in the era of fast web application is not really an option and applicable. Microsoft then presented to developers ASP.NET MVC pattern which works without View State and therefore applications based on MVC are lighter and faster than the Web Forms ones. MVC becomes more and more popular and a lot of Software architects withold from using Web Forms. We believe that both: Web Forms and MVC have their pros and cons and we will explain our thesis as to how these should be used simultaneously in one application to make the best of their advantages.
Keywords. Web Development, ASP.NET, Web Forms, MVC
1. Introduction
Microsoft presented their vision about development in 2003 with their multi-lingual .NET Framework. The part of it which is used for creating web applications is called ASP.NET Framework. In the past ASP.NET Framework was accompanying the Web Forms pattem. It is considered as a real revolution - it allowed the Desktop developers to start creating web applications in weeks. This has been really crucial since the development was in a position of having Desktop developers rather than such for Web.
Web Forms allows event driven development, separates back end source code from the HTML, and it uses ViewState to deal with the stateless HTTP and gives users with huge amount of Server Side controls.
Just like every technology Web Forms had some drawbacks. The utmost crucial one was the speed of execution. This is when Microsoft presented the MVC pattem which allows developers to create faster applications. A lot of programmers left behind the Web Forms and in favor of the MVC ones. There've been extensive discussions through the years whether both there's actual need of patterns. Both patterns...