How yupiik/fusion works
Main Components
a) Core Framework Layer:
• fusion-api: Core framework APIs and container management
• fusion-processor: Build-time processing and code generation
• fusion-build-api: Build system integration
b) Web Layer:
• fusion-http-server: HTTP server implementation
• fusion-jsonrpc: JSON-RPC support
• fusion-httpclient: HTTP client functionality
c) Data Layer:
• fusion-json: JSON processing
• fusion-persistence: Database integration
• fusion-handlebars: Template engine
d) Infrastructure Layer:
• fusion-kubernetes-operator-base: Kubernetes integration
• fusion-jwt: Security and authentication
• fusion-tracing: Distributed tracing
• fusion-observability: Metrics and monitoring
Relationships and Flow
Build Time Runtime
• Processor |-------------->| Container |
• generates | Runtime |
• v
• HTTP Server |
• JSON Processing |
• Persistence |
Component Details
• Blue rectangles: Core components
• Green hexagons: Web-related components
• Purple diamonds: Infrastructure services
Integration Points
Integration with:
• GraalVM native image
• Kubernetes clusters
• Database systems
• Monitoring systems
Architectural Patterns
Emphasize:
• Build-time processing
• Dependency injection
• Event-driven components
• Modular design
This architecture should reflect Fusion's core values of build-time orientation, flexibility, and native-friendliness while showing how all components work together to create a high-performance web framework.