Model-View-Controller
- Tags
- soft-eng
A transform centre architecture for graphical user interfaces.
\begin{figure}
\begin{tikzpicture}[line/.style={very thick, dashed}]
\begin{umlpackage}{Model}\end{umlpackage}
\begin{umlpackage}[x=4, y=-2]{Controller}\end{umlpackage}
\begin{umlpackage}[y=-4]{View}\end{umlpackage}
\draw [line, <->] (Controller) -- (Model);
\draw [line, <->] (Controller) -- (View); \end{tikzpicture}
\caption{MVC visualised}
\end{figure}
MVC | Description |
---|---|
Model | Objects that model the business domain. |
View | GUI objects that display views and detect events. |
Controller | Event handlers that synchronise views and model data. |