What is the functionality of Model views and controllers

Answers were Sorted based on User's Feedback



What is the functionality of Model views and controllers..

Answer / guest

Model:Model is responsible for maintaining the database.

views:View is responsible for generating user interface.

controllers:Getting input request from browser and generate
outgoing response.

Is This Answer Correct ?    12 Yes 0 No

What is the functionality of Model views and controllers..

Answer / 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

More Ruby on Rails Interview Questions

What is the architecture of Model views and controllers

0 Answers   Baidu,


hi am b,tech 2011 passedout now am learnig ROR technology may i knw what is the feature of this one and what is the salary ranges to this i heard there is a less salaries to this technology give me valuable suggestions

0 Answers   Baidu, GTPL,


What is the main difference between procs and blocks?

0 Answers  


what is the difference between the Observers and Callbacks in Ruby on Rails?

0 Answers  


What is rails migration? What can it do?

0 Answers  






Is ruby on rails popular?

0 Answers  


Explain rails migration.

0 Answers  


What are the three methods to install ruby on rails?

0 Answers  


Explain Get and post method?

0 Answers  


what is Rails Active Record in Ruby on Rails?

0 Answers  


what is rake in Rails?

0 Answers  


What are the functions performed by rails migration?

0 Answers  


Categories