MVC-Model View Controller

All Incoming Request to application is handled by Controller. The controller decides respective Model  and View.

Capture

for instance,if a request is made with URL “www.site.com/Home /About” ,then  following happens

1.Find Controller with name Home.

2. Find a Method named About in controller  which returns the respective View(View pulls data that has to be displayed from Model).

To summarize :

1.Model takes care of DataAcesss stuffs.

2.View takes care all of UI Components.

3.Controller maps the View and Model.

 

 

 

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s