adspace
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