Interaction Architecture
The main goal of an interaction-oriented architecture is to separate user interaction from data abstraction and business data processing. Interaction-oriented software architecture breaks down the system into three main partitions −
-
Data Module − Data module provides data abstraction and all business logic.
-
Control Module - The Control Module identifies the flow of control and system configuration actions.
-
View Presentation Module - The View Presentation module is responsible for the visual or audio presentation of data output and provides an interface for user input.
-
There are two main styles of interaction-oriented architecture - Model-View-Controller (MVC) and Presentation Abstraction Control (PAC) . MVC and PAC propose a three-component decomposition and are used for interactive applications such as web applications with multiple sessions and user interactions. Their controls and organizational flows are different. PAC is an agent-based hierarchy, but MVC has no explicit hierarchy.
Model View Controller (MVC)
MVC decomposes a given software application into three interconnected parts that help separate the internal representation of information from what is presented or received to the user.
module | Function |
Model | Encapsulate basic data and business logic |
controller | Respond to user actions and direct application flow |
view | Format and present data from the model to the user. |
Model
The model is a central component of MVC that directly manages the application's data, logic, and