Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | refactor: Functional design for controllers | Kristóf Marussy | 2021-12-28 |
| | |||
* | refactor: Get rid of dependency injector | Kristóf Marussy | 2021-12-28 |
| | |||
* | refactor: Inversion of control with typed-inject | Kristóf Marussy | 2021-12-27 |
| | |||
* | refactor: Clarify main process architecture | Kristóf Marussy | 2021-12-26 |
| | | | | | | | | * stores: reactive data structures to hold application state * controllers: subscribe to store changes and call store actions in response to external events from services * services: integrate with the nodejs and electron environment (should be mocked for unit testing) | ||
* | refactor: Config persistence architecture | Kristóf Marussy | 2021-12-26 |
The architecture in the main process is split into 3 main parts: * services: interfaces for services are injected into the stores through the MainEnv interface (for testability) * services/impl: electron-specific implementations of services * stores: the actions of the stores can invoke (asynchronous) services |