Answer Posted / 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 |
Post New Answer View All Answers
Is singleton scope thread safe?
Is dependency injection a design pattern?
Shall we use abstract classes or interfaces in policy / strategy design pattern?
Why singleton beans are not thread safe?
What is the executor design pattern?
Describe the builder design pattern
What are the disadvantages of singleton pattern?
What is onion architecture?
Write the code for a singleton class?
Is singleton a design pattern?
What are the types of design patterns?
What is lexi design pattern?
What are the most important software design patterns?
Give me example of observer design pattern?
When singleton pattern is used?