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
How is visibility of methods changed in ruby (encapsulation) ?
what are the limits of Ruby on Rails?
What is the difference between Render vs. Redirect_to in ruby on rails ?
Explain me what is the role of rails controller?
Who designed active record in rails?
What is the use of the super function in ruby on rails?
At is cross-site request forgery (csrf)?
What is the main function of helpers used in ruby on rails?
what is “Yield” in Ruby on Rails?
Explain how Rails implements Ajax?
What is the purpose of auto_load in ruby?
What is active record in rails?
Tell me what is coc in rails?
What are the functions performed by rails migration?
In how many ways you can create rails layout http response.