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

Is singleton an anti pattern?

0 Answers  


What is the use of design patterns?

0 Answers  


Can any one suggest me the best institute for Software Design , Design Patterns and architecture in Hyderabad please. Thanks in Advance.

2 Answers   IBM, KPIT,


What is synchronizer token pattern?

0 Answers  


What do you mean by Design Thinking?

4 Answers  






Tell us about some of the projects that have been your favorite.

1 Answers  


Explain what is good design?

0 Answers  


Where should we use singleton design pattern?

0 Answers  


what is the difference between the Adapter Pattern and Proxy Patterns?its seems both are almost similar?

1 Answers   RBS,


When singleton pattern is used?

0 Answers  


Write the code for a singleton class?

0 Answers  


Why is singleton used?

0 Answers  


Categories