Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How are Model views and controllers related?

Answer Posted / abhi2810

MVC is a pattern for the architecture of a software
application. It separates an application into the following
three components:

* models, for handling data and business logic
* controllers, for handling the user interface and
application logic
* views, for handling graphical user interface objects
and presentation logic

This separation results in user requests being processed as
follows:

1. The browser, on the client, sends a request for a page
to the controller on the server.

2. The controller retrieves the data it needs from the
model in order to respond to the request.

3. The controller renders the page and sends it to the view.

4. The view sends the page back to the client for the
browser to display.

Is This Answer Correct ?    21 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is visibility of methods changed in ruby (encapsulation) ?

766


what are the limits of Ruby on Rails?

872


What is the difference between Render vs. Redirect_to in ruby on rails ?

822


Explain me what is the role of rails controller?

806


Who designed active record in rails?

786


What is the use of the super function in ruby on rails?

802


At is cross-site request forgery (csrf)?

935


What is the main function of helpers used in ruby on rails?

804


what is “Yield” in Ruby on Rails?

835


Explain how Rails implements Ajax?

759


What is the purpose of auto_load in ruby?

859


What is active record in rails?

891


Tell me what is coc in rails?

931


What are the functions performed by rails migration?

802


In how many ways you can create rails layout http response.

803