what is MVC Pattern?

Answers were Sorted based on User's Feedback



what is MVC Pattern?..

Answer / devarathnam c,kotagudibanda(po

Hi... MVC is the one of the design pattern which enables
you to de-coupling the modules.
MODEL:It cane be used to store the database objects.
VIEW: It can be used to view purpose,to giving the user
input.
CONTROLLER:It is the main component in the MVC
pattern,which can handle request and response mechanism.

Is This Answer Correct ?    6 Yes 2 No

what is MVC Pattern?..

Answer / ak

MVC is basically a layered design patterl in which separate
conceptual units are set to function independently.

For example: there may be multiple VIEW ( display monitors,
fone communicators, AVR's ) at a railway platform showing
timings of perticular train. Its sole purpose is to
display. How it will display is its responsibility which no
other layer of the design is concerned with. To get what to
display it just interacts with a MODAL which in this case
is a database.

MODAL layer is completely independent from collecting data
( controller layer) and showing it on platform ( view
layer ). Its sole responsibility is to save and retrieve
data from and to respective clients.

CONTROLLER layer is something which is involved with other
complex tasks like tracking time, distance, speed etc of
the trains.

Comments are appreciated.

Is This Answer Correct ?    4 Yes 2 No

what is MVC Pattern?..

Answer / ashish

MVC stands for model view controller.If you take a Struts
web application then view consists of JSP . Its only to
show the client the view part not any other part. The
Controller will the action Servlet. Action Servlet
basically controlls the request from the view part and
calls respective Action class for business logic processing
and fetching data from the database.The model part consists
of Action class and helper class. It purely consists of the
business logic as well as the interface to access the
layer. The advantage of this pattern is Loose coupling.
Lets say you want to add the text field in JSP. That will
not required to change your Action class or Action Servlet.

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More Design Patterns Interview Questions

Give me example of observer design pattern?

0 Answers  


How can we design/implement singleton object?

3 Answers   HP,


What are the categories in which the design patterns can be divided?

0 Answers  


What is the difference between adapter and facade?

0 Answers  


What are the different types of Design Patterns and Explain them?

3 Answers   Genpact, Gradatim, Gul Ahmed, TCS, Wipro,






If there is a Model class,View class,Controller class then How these are internally related? Which layer objects instantiated in which layer? How they communicates?

4 Answers   Honeywell,


What are sequence diagrams, collaboration diagrams and difference between them ?

8 Answers   ACET, CT, CTS, Infosys,


how to pring 10 item per page in smartform

0 Answers  


Identify three types of systems or system upgrades that may be ideal candidates for a Waterfall Development Model strategy.

1 Answers  


What is the difference between architecture and design?

0 Answers  


Contact a small, medium, and a large contract program within your organization. Interview the Technical Director or Project Engineer to identify the following information: a. Request the individual to graphically depict their development strategy? b. What factors drove them to choose the implementation strategy? c. What were some of the lessons learned from developing and implementing the strategy that would influence their approach next time? d. How was the V & V strategy implemented?

0 Answers  


Explain three types of components comprise an application design?

0 Answers  


Categories