written 8.5 years ago by | • modified 8.5 years ago |
Mumbai University > Computer engineering > Sem 7 > Software Architecture.
Marks: 10 M
Year: May14, Dec14, Dec13
written 8.5 years ago by | • modified 8.5 years ago |
Mumbai University > Computer engineering > Sem 7 > Software Architecture.
Marks: 10 M
Year: May14, Dec14, Dec13
written 8.5 years ago by |
An architectural pattern is a named collection of architectural design decisions that are applicable to a recurring design problem parameterized to account for different software development contexts in which that problem appears.
The three basic types of patterns used are:
Web-based applications.
Model-view-controller: is an architectural pattern which separates information (M), presentation (V) and user interaction(C). This pattern has dominance in graphical user interface.
Sense-compute-control: is typically used in structuring embedded control applications. This may range from simple device such as those found in kitchen appliances to sophisticated system used in automotive applications or robotic control.
Model-View-Controller
An example of MVC pattern can be seen in the world-wide-web.
i. Web resources correspond to the model objects.
ii. The browser corresponds to a view (the HTML rendering object
iii. The controller corresponds to the code that is part of the browser that responds to user input and which causes either interactions with a web server or modifies the browser’s display in some manner.
MVC has also inspired the development of other related architectural patterns, such as presentation abstraction-controller (PAC).