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...

What is the functionality of Model views and controllers

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 ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is unit testing (in classical terms)? What is the primary technique when writing a test ?

843


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

803


what is active record?

841


Explain me what is the role of rails controller?

805


What is the difference between save and save?

952


What is the purpose of require_relative in ruby?

819


what are helpers and how to use helpers in ror?

839


What is the difference between render and redirect?

835


What are the servers supported by ruby on rails?

814


Difference between argument and parameter in ruby on rails ?

782


Why ruby on rails is used for?

821


What are naming conventions?

805


What is rails scaffolding?

950


what is the difference between calling super() and super call?

870


Do you know what is sweeper in rails?

774