What is MVC?

MVC- Model, View, Controller - is simply
Model -  contains data access code and all of you business logic code.
View - Contains markup/design code, generally html,xml, json.
Controller -  contains very little code, just whatever is needed to call the Model code and render the View code.