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
What is ORM in Rails?
What I have to do to view my project always on browser?
what is ORM (Object-Relationship-Model) in Rails?
How you run your Rails Application without creating database ?
What is the difference between concern and application_controller.rb in ruby on rails?
Explain bundler in rails.
What are generators in ruby on rails?
what is active record?
Write a program to generate and run the application without the use of database
What is unit testing (in classical terms)? What is the primary technique when writing a test ?
Explain what are the servers supported by ruby on rails?
what is a rails migration? Write up a short example of a simple rails migration with a table called customers, a string column called name, and a text column called description?
What are the three methods to install ruby on rails?
What is Rails?
What is the naming convention for variables?