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
what is different between activerecord::relation's count, length and size methods?
How is the model view controller framework used in ruby on rails?
what is Polymorphic Association in Ruby on Rails?
What is rails active record?
Explain what is the role of the subdirectories app/controllers and app/helpers in rails?
what is the use of super function in ruby on rails?
what are some advantages of using ruby on rails?
Mention all the naming conventions in ruby on rails.
Explain how you can run rails application without creating databases?
when self.up and self.down method is used?
what is the difference between the Observers and Callbacks in Ruby on Rails?
What do you understand by rails migration and what it can do?
what are helpers and how to use helpers in ror?
What is Rails?
What is difference between form_for and form_tag?