Wednesday, 27 November 2013

ASP.NET MVC 4, Model View Controller in asp.net,MVC c#,Introduction of MVC in asp.net

MVC

MVC or Model View Controller is very improved software development structure that removes the dependency of graphical interface of an application from the application code.
As the term model view controller specifying the meaning itself, its a general words that comes in routine life and it has same meaning but in context of development .
Model- consist of application data or we can say that it relates the database basically as well as the business rule. Model is representation of the database and its tables in   application , it maps to database tables and entries in tables. It feeds database table data to the view without worrying about the design and format of the look and display
Controller-manage the user interaction, it gets data from view and manage the whole input and output from the models. It also pass the information from the view. Controller handles the action comes from view and give response back. In short  , view is connected to controller and controller is connected to model and it pass the data in that defined way .
View-is a output web page that used to get the input and display the result . Basically view s call the action , defined in controller to get or send the data from model. View is graphical representation of data, it gives look and feel with css , scripts ,various input output controls and custom design .  


In short MVC is a framework for building web applications using a MVC (Model View Controller) design:
The Model  is related to database
The View  is related to design
The Controller  is related to logic or action
The MVC   provides full support with HTML, CSS, and JavaScript,jquery, ajax, and other customer tools and controls.
The MVC separation helps you manage complex applications, because  it gives focus and attention to specific section and all the section are not tightly coupled with each other so it becomes easy to mange them individually and can make any combination between all of these modules
The MVC separation also easy and simple  development with a group of developers in a team. Different developers can work on the view, the controller logic, and the business logic in parallel.

Advantages of MVC?
1.  Development structure or we can say that development modules  are separate so it gives parallel access and fast speed of development.
2. Testing becomes easy
3. Clean URL
4.  MVC give high  Search Engine Optimization support in development
5. HTML design implementation has improved
6. Each module  can be tested independently.
7. Reusability is very higher the other technology.
8. Application performance increases at very high level
9. Inbuilt default  security logic comes .
10. Simple and highly scalable development

No comments:

Post a Comment