How dooboostore-develop/packages works
This monorepo is an isomorphic TypeScript framework ecosystem. Its central runtime is simple-boot: applications configure and resolve services, then route intents; browser components and HTTP services reuse that engine, while dom-render/front-end and the SSR package provide rendering paths. The README documents the package-level layering and major capabilities; sampled source confirms SimpleApplication’s manager wiring and SWC’s router/application setup. Most package internals were not sampled, so cross-package links below reflect documented architecture rather than inspected calls.
Main entry points: SimpleApplication.ts Application lifecycle · src/index.ts Browser utilities · SwcAppEngine.ts Web components · src/index.ts Core utilities
Components 21
Shared foundations
- Core utilities
@dooboostore/core/src/index.ts - Browser utilities
@dooboostore/core-web/src/index.ts - Node utilities
@dooboostore/core-node/src/index.ts
Application engine
- Application lifecycle
@dooboostore/simple-boot/src/SimpleApplication.ts - DI container
@dooboostore/simple-boot/src/simstance/SimstanceManager.ts - Metadata decorators
@dooboostore/simple-boot/src/decorators/SimDecorator.ts - Intent routing
@dooboostore/simple-boot/src/route/RouterManager.ts - Intent dispatch
@dooboostore/simple-boot/src/intent/IntentManager.ts
Browser runtime
- Web components
@dooboostore/simple-web-component/src/SwcAppEngine.ts - Client routing
@dooboostore/core-web/src/routers/Router.ts - Reactive DOM rendering
@dooboostore/dom-render/src/DomRenderProxy.ts - SPA components
@dooboostore/simple-boot-front/src/component/ComponentRouterBase.ts
Server runtime
- HTTP services
@dooboostore/simple-boot-http-server/src/session/SessionManager.ts - WebSocket RPC
@dooboostore/simple-boot-http-server/src/websocket/WebSocketManager.ts - Server rendering
@dooboostore/simple-boot-http-server-ssr/src/filters/SSRWorker.ts - Server-side DOM
@dooboostore/dom-parser/src/node/Node.ts
Product extensions
- Component library
@dooboostore/simple-web-component-library/src/StockChart.ts - Trading algorithms
@dooboostore/algorithm/src/stock/TradingSimulator.ts - Web image tools
@dooboostore/lib-web/src/canvas/ImageEditorCanvas.ts - Node image tools
@dooboostore/lib-node/src/RandomImage.ts
Other components
- Application developer
Connections 27
- Application developer → Application lifecycle: configures
- Application lifecycle → DI container: creates
@dooboostore/simple-boot/src/SimpleApplication.ts - Application lifecycle → Intent routing: creates
@dooboostore/simple-boot/src/SimpleApplication.ts - Application lifecycle → Intent dispatch: creates
@dooboostore/simple-boot/src/SimpleApplication.ts - DI container → Metadata decorators: reads metadata
@dooboostore/simple-boot/src/simstance/SimstanceManager.ts - Intent dispatch → Intent routing: resolves routes
@dooboostore/simple-boot/src/intent/IntentManager.ts - Core utilities → Application lifecycle: underpins
- Browser utilities → Application lifecycle: supports
- Core utilities → Browser utilities: supports
- Core utilities → Node utilities: supports
- Application lifecycle → Web components: provides DI
- Browser utilities → Web components: provides routing
- Web components → Client routing: selects router
@dooboostore/simple-web-component/src/SwcAppEngine.ts - Client routing → Web components: notifies navigation
- Application lifecycle → HTTP services: provides DI
- Node utilities → HTTP services: supports server
- HTTP services → WebSocket RPC: offers RPC
- HTTP services → Server rendering: serves rendering
- SPA components → Server rendering: provides SPA
- Server-side DOM → Server rendering: provides DOM
- Reactive DOM rendering → SPA components: renders components
- Application lifecycle → Reactive DOM rendering: supports components
- Browser utilities → Reactive DOM rendering: provides browser helpers
- Web components → Component library: extends components
- Core utilities → Trading algorithms: supports algorithms
- Browser utilities → Web image tools: supports tools
- Node utilities → Node image tools: supports tools