Sunday, 25 November 2012

MVC Basics


What is MVC ?

MVC is an architecture for designing software/web application. MVC stands for Model-View-Controller.
It is design methodology. That’s it. 

Why MVC ?

As an architect we want to design a software in such a way that its major parts or functionality can be easily distinguished and can be tested. So what MVC does is, it separates three main aspects of a software that’s is Business logic which we call as model , presentation or format in which data will be displayed to user which is called as view and third ,controller, one interface between view and model. controller is a like an interface .we need a controller because we don’t want to expose our business logic. 

MVC framework ?

Any framework is designed to help the developer. MVC framework is designed to help the developer to create applications using MVC . IT provides you predefined templates  using which you can develop applications fast which are built on MVC arch.
I am .net developer so for most of my code snippets I will be using .net code in C# language.

No comments:

Post a Comment