How are Model views and controllers related?

Answers were Sorted based on User's Feedback



How are Model views and controllers related?..

Answer / ganesh mohan

Model, View and Controller(MVC) is 3 tier architecture.
view consits all HTML, javscript pages. its client side
template. while as Model connects to Database describing all
data fields and the relation between then and all business
calculations are controlled by controller ...

Is This Answer Correct ?    36 Yes 4 No

How are Model views and controllers related?..

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

How are Model views and controllers related?..

Answer / lubna

models ,views and controllers are related side by side.data
if sent to models is first worked upon its database
operations (CRUD) ,then the data is sent to view where its
templates are designed then finally data is sent to
controllers where data is processed and organised...

Is This Answer Correct ?    3 Yes 18 No

Post New Answer

More Ruby on Rails Interview Questions

What are the steps involved in writing and setting up an application in ruby on rails?

0 Answers  


difference between member routes and collection routes ?

0 Answers  


What is action cable?

0 Answers  


Is ruby on rails popular?

0 Answers  


What is the main function of helpers used in ruby on rails?

0 Answers  






Explain the role of sub directory app/controllers and app/helpers.

0 Answers  


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,


when self.up and self.down method is used?

0 Answers  


what are the differences between rails 2.x and rails 3?

0 Answers  


What is the current version of ruby on rails?

0 Answers  


What is the difference between save and save?

0 Answers  


Explain rails caching levels.

0 Answers  


Categories