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

difference between member routes and collection routes ?

924


What do you understand by rails?

939


What is bundler?

846


Explain me the log that has to be seen to report errors in ruby rails?

746


Explain the importance of yield statement in rails.

873


What is active record in rails?

964


Write the command to update rvm in rails.

823


Write a program to show the functionality of request.xhr in ruby on rails ?

818


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

815


what are helpers and how to use helpers in ror?

892


what is the difference between Active support’s “HashWithIndifferent” and Ruby’s “Hash” ?

929


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

937


what is the function of garbage collection in Ruby on Rails?

853


How do I find only duplicate entries in a database table?

962


what are some advantages of using ruby on rails?

892