Skip to content
/ ushiro Public

Experimental, but battle-proven, library for unidirectional UI in C++

Notifications You must be signed in to change notification settings

ltjax/ushiro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ushiro

ushiro is an experimental, but battle proven, small library supporting the "backend" of a typical UI application. It helps to implement a unidirectional UI architecture similar to redux.

  • Experimental means that the interface is not stable! Use with caution
  • Battle-proven means that it (or the "predecessor" code) is actively used in a couple of production projects

Design

ushiro uses a generic event_bus to implement the forward "action path", i.e. reacting to user or remote input. For the backward "store to view" path, it uses a lightweight "diffing" approach that makes it easy to read and react to changes in the data model in the same way. It is usually used together with a Qt based UI.

Interesting links

  • lager is a great unidirectional UI library for C++
  • redux is probably the most famous unidrectional UI library, but for JavaScript

About

Experimental, but battle-proven, library for unidirectional UI in C++

Resources

Stars

Watchers

Forks

Packages

No packages published