"Build command-based architecture in reactive manner" from Alexander Kozlov
Main topic is how to build flexible, scalable and resilient architecture based on command-like actions, RxJava-powered pipes and services. Also we gonna discuss and show how one can effectively split service layer from business logic.
business layer • Working with entities (storage) • Security rules • Other use cases ➡ NetworkManager ➡ UserManager, ChatManager ➡ StorageManager ➡ SecurityManager ➡ (*)Manager
• getSupportedAnnotationType - defines what actions are processed by their class annotation; • sendInternal – is called upon new action is sent to pipe; • cancel – is called upon action is canceled from pipe;
Intercepting, re-routing Decorator for ActionService is used to listen for action status or add additional intercepting logic. Possible solutions: caching middleware, Dagger injector, retry policy, etc.