From 9efbdc9c4d874af41d1dfd9a410c3dfe17fcda4c Mon Sep 17 00:00:00 2001 From: MPostol Date: Tue, 18 Jun 2024 16:41:33 +0200 Subject: [PATCH] ExDM Add documentation to the selected parts of the code #369 - working on the MVVM in the README.MVVM.md document --- ExDataManagement/GraphicalData/README.MVVM.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ExDataManagement/GraphicalData/README.MVVM.md b/ExDataManagement/GraphicalData/README.MVVM.md index b22de86..efcbe7b 100644 --- a/ExDataManagement/GraphicalData/README.MVVM.md +++ b/ExDataManagement/GraphicalData/README.MVVM.md @@ -11,7 +11,7 @@ //_________________________________________________________________________________________________________________________ --> -# MVVM Programming Design Pattern +# MVVM Program Design Pattern ## Table of content @@ -55,7 +55,7 @@ Manipulating an image, i.e. changing its features, such as color and appearance, ### 2.2. Layered Model -should have a layered architecture. Layered architecture means that one layer may be recognized as upper and a second one as a lower one although there are usually more layers. So that we can distinguish which one is higher. To achieve this only the upper layer may refer to the underneath layer. In contrast, the lower layer must be composed in such a way that it doesn't depend on the upper layer. hence, the inter-layer reference must be unidirectional, often called hierarchical. +According to well-known principles of software engineering, the program should have a layered architecture. Layered architecture means that one layer may be recognized as upper and a second one as a lower one although there are usually more layers. So that we can distinguish which one is higher. To achieve this only the upper layer may refer to the underneath layer. In contrast, the lower layer must be composed in such a way that it doesn't depend on the upper layer. hence, the inter-layer reference must be unidirectional, often called hierarchical. The program should have a layered structure - it's easy to say, but what is a layer? The program is text and has a stream structure instead - it is a sequence of characters. Of course, in this principle the concept of a layer is abstract, but to say that the program architecture is layered, we must somehow implement this concept so that everyone knows what a layer is. We will learn a specific implementation called MVVM which stands for model, view, and view-model.