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 |
Is singleton an anti pattern?
What is the use of design patterns?
Can any one suggest me the best institute for Software Design , Design Patterns and architecture in Hyderabad please. Thanks in Advance.
What is synchronizer token pattern?
What do you mean by Design Thinking?
Tell us about some of the projects that have been your favorite.
Explain what is good design?
Where should we use singleton design pattern?
what is the difference between the Adapter Pattern and Proxy Patterns?its seems both are almost similar?
When singleton pattern is used?
Write the code for a singleton class?
Why is singleton used?