mirdaki / ping

A cross-platform and blazingly fast Matrix client focused on group and gaming chat.
MIT License
54 stars 1 forks source link

MVU vs MVVM vs ? #8

Closed mirdaki closed 3 years ago

mirdaki commented 3 years ago

Need to investigate Rust support for either the MVU or MVVM pattern, pariticually how it would work across Crates and being called by other languages. Ideally we have as much non-UI specific code in a shared Crate that each platform can then pull in and add their UI and other specific features. Both the MVU and MVVM patterns support this and their may be other ones Rust supports.

mirdaki commented 3 years ago

I'm going with iced for now. It has an MVU style, which I'd like to try out and supports the major desktop environments and the web. iced also has a module enough architecture that supporting mobile devices would be feasible in the future. It is still in very early stages, but so is the matrix-rust-sdk, so that isn't a huge determent. It also gives a good opportunity to help give feedback and potentially contribute to the Rust ecosystem.