From c380a85db68432a712be47b8ab655f107daab6d2 Mon Sep 17 00:00:00 2001 From: Brian Rodriguez Date: Mon, 12 Aug 2024 18:57:54 -0500 Subject: [PATCH] [Add] Android roadmap: Docs MVVM and MVC (#6519) * [Add] Docs MVVM and MVC * [Change] Docs formatted --- .../android/content/mvc@w1A6wPKSd3Yh2luuHV-aE.md | 14 ++++++++++++++ .../android/content/mvvm@pSU-NZtjBh-u0WKTYfjk_.md | 14 ++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/src/data/roadmaps/android/content/mvc@w1A6wPKSd3Yh2luuHV-aE.md b/src/data/roadmaps/android/content/mvc@w1A6wPKSd3Yh2luuHV-aE.md index e69de29bb..6d4d6b777 100644 --- a/src/data/roadmaps/android/content/mvc@w1A6wPKSd3Yh2luuHV-aE.md +++ b/src/data/roadmaps/android/content/mvc@w1A6wPKSd3Yh2luuHV-aE.md @@ -0,0 +1,14 @@ +# MVC or Model View Controller + +MVC or `Model View Controller` is a software design pattern commonly used for developing user interfaces that divides the related program logic into three interconnected components. + +Components: + +- `Model`: The internal representations of information. This can often be an Interactor or UseCase +- `View`: The interface that presents information to and accepts it from the user +- `Controller`: The controller contains logic that updates the model and/or view in response to input from the users of the app. + +Visit the following resources to learn more: + +- [@article@MVC](https://developer.mozilla.org/en-US/docs/Glossary/MVC) +- [@article@Model–view–controller](https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller) \ No newline at end of file diff --git a/src/data/roadmaps/android/content/mvvm@pSU-NZtjBh-u0WKTYfjk_.md b/src/data/roadmaps/android/content/mvvm@pSU-NZtjBh-u0WKTYfjk_.md index e69de29bb..8521196d1 100644 --- a/src/data/roadmaps/android/content/mvvm@pSU-NZtjBh-u0WKTYfjk_.md +++ b/src/data/roadmaps/android/content/mvvm@pSU-NZtjBh-u0WKTYfjk_.md @@ -0,0 +1,14 @@ +# MVVM + +The `Model-View-ViewModel` (MVVM) pattern is a software architectural pattern commonly used in UI development. It is designed to separate the concerns of an application, making the code more modular, testable, and maintainable. + +Components: + +- `Model`: Refers either to a domain model, which represents real state content (an object-oriented approach), or to the data access layer, which represents content. +- `View`: The view is the structure, layout, and appearance of what a user sees on the screen. +- `View model`: The view model is an abstraction of the view exposing public properties and commands. The view model has been described as a state of the data in the model. + +Visit the following resources to learn more: + +- [@article@Android Developers: View Model](https://developer.android.com/topic/libraries/architecture/viewmodel) +- [@article@Wikipedia](https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93viewmodel) \ No newline at end of file