what is MVC Pattern?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Hi, I have 9backlogs in btech and i am 2008 passed out,am working with an MNC from past 3 years.now, am willing to do MS, will it be any problem for me?
Can we make the reference instance non static?
What is synchronizer token pattern?
Describe the builder design pattern
What is the difference between factory and builder design pattern?
What is the difference between proxy and adapter?
What is the methodology to follow in collaboration with other team members like researchers, product managers, and developers?
Which design patterns have you used in your project ?
Why have we used synchronized here?
. What makes rival companies better or worse than us in terms of UI UX?
Which design pattern is mvc?
What is a pattern library?