Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ArtemkaKun/MVU.v
MVU pattern (The Elm Architecture) implemented in V programming language
https://github.com/ArtemkaKun/MVU.v
elm mvu patterns v vlang vlang-module
Last synced: 3 months ago
JSON representation
MVU pattern (The Elm Architecture) implemented in V programming language
- Host: GitHub
- URL: https://github.com/ArtemkaKun/MVU.v
- Owner: ArtemkaKun
- License: apache-2.0
- Archived: true
- Created: 2023-01-23T18:30:02.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-07T18:43:16.000Z (over 1 year ago)
- Last Synced: 2024-05-01T20:03:47.451Z (6 months ago)
- Topics: elm, mvu, patterns, v, vlang, vlang-module
- Language: V
- Homepage:
- Size: 20.5 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-v - MVU.v - MVU pattern (The Elm Architecture) implemented in V programming language. (Other / Patterns)
README
This repo contains examples of MVU pattern (the Elm architecture),
implemented in V programming language.
The MVU is an alternative to MVC and MVVM patterns and can be used in UI, web, and game apps.The logic of the pattern is pretty simple:
- you have a Model that defines your data
- you have an Update that reacts to Messages and returns updated Model
- you have a View that displays your current ModelYou can read more [here](https://guide.elm-lang.org/architecture/).
## Examples
- [CLI counter](https://github.com/ArtemkaKun/MVU.v/blob/main/cli_counter/main.v)
- [V UI counter](https://github.com/ArtemkaKun/MVU.v/blob/main/ui_counter/main.v)# Thanks
[Nu game engine](https://github.com/bryanedds/Nu) for the insipration.
# Donations
If you like this project, please consider donating to me or the V language project.
Your donations will help me to continue to develop this project and the V language.