ArtemkaKun / MVU.v

MVU pattern (The Elm Architecture) implemented in V programming language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 Model

You can read more here.

Examples

Thanks

Nu game engine 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.

About

MVU pattern (The Elm Architecture) implemented in V programming language

License:Apache License 2.0


Languages

Language:V 100.0%