Domino Brix is a lightweight, annotation-processor-driven MVP framework for DominoKit GWT/J2CL apps. It wires routing, view slotting, events, startup tasks, and security using Dagger DI plus Domino history/UI utilities.
- Presenter and view lifecycle management with
PresenterandViewable. - Routing over
domino-historywithRouterManagerandAppHistory. - Slotting via
BrixSlotswith default body and popup slots. - Event bus via
BrixEventswith lightweight listener registration. - Startup task orchestration via ordered
BrixStartupTask. - Security checks through
Authorizerstrategies andSecurityContext.
domino-brix-client: runtime and APIs.domino-brix-processor: annotation processor and source generation.domino-brix-shared: shared models (events and user abstractions).
- Java 17 project (compiler release 11 bytecode).
- Run
mvn verifyat the repository root.
- Implement a view and annotate the concrete class with
@UiView. - Create a presenter extending
Presenter<ViewType>and annotate with@BrixPresenter(optionally@BrixRoute). - Wrap the feature in
@BrixComponent(presenter=YourPresenter.class). - Initialize and start Brix from the client entry point.
Brix.get().init(config);
Brix.get().start(startupTasks, () -> {
// app started
});- Draft docs live in
docs/. docs/samplecontains a sample Domino Brix application layout.
See LICENSE.
