@gordon.bsky.social Do you have links to the "island architecture w message bus" approach? :o
@gordon.bsky.social Oh cool I do a similar approach for Agregore actually. But instead of components listening on window I wire them up in a main "script.js" so I can keep the components separate from the data and general app shape. https://github.com/AgregoreWeb/agregore-browser/blob/master/app/ui/script.js
Got any code I could read?
@gordon.bsky.social Linux desktop uses the message bus approach FWIW :o https://en.wikipedia.org/wiki/D-Bus
I've come to believe there are basically two good architectures for apps: - Elm App Architecture: strict tree of state machines - Message bus: no direct parent-child relationships, everything connected via messages over one bus