Appearance
Frontend Architecture
Overview
The Frontend provides operational dashboards and user interfaces through configuration-based development. Applications are defined through structured configurations that specify interface components, data connections, and user interactions.
Configuration-Driven Architecture
Applications are built through configuration rather than code implementation. Configurations define what to display, how data connects, and what actions users can take.
Benefits:
- Rapid Development — Applications built through configuration
- Consistency — Standardized interface patterns
- Maintainability — Changes made through configuration updates
- Type Safety — Validated data connections throughout
- Accessibility — Visual tools for interface design
Application Components
Panels
Application screens displaying information and controls. Each panel contains components arranged to serve specific operational needs.
Components
Interface elements for data display and user interaction:
- Data visualizations (charts, graphs, metrics)
- Data displays (tables, lists, cards)
- Forms (inputs, selectors, validation)
- Maps (geographic visualizations)
- Custom components for specialized needs
Data Connections
Links to data services providing operational information. Connections are type-safe with automatic error and loading state handling.
Navigation
Application structure defining how users move between panels and access functionality.
Architecture Principles
Separation of Concerns
Configuration layer defines application structure. Runtime layer executes the application. Changes to implementation don't affect configurations.
Convention Over Configuration
Standard patterns for application structure, component behavior, data integration, and navigation reduce configuration complexity.
Extensibility
Standard functionality handles common patterns. Custom functionality extends capabilities for specialized requirements.
Data Integration
Data Service Connections
Applications connect to Data Layer services for operational data:
- Configuration specifies data endpoints
- Type-safe queries validated against service schemas
- Automatic error and loading state management
- Real-time data updates
Type Safety
Data connections validated throughout:
- Configuration validates against data service schemas
- Component data requirements checked
- Runtime type enforcement
Component Library
Established component designs:
Data Visualization
Charts, graphs, and metrics for operational data display with configuration-driven styling and data binding.
Data Display
Tables, lists, and cards for structured data presentation with filtering, sorting, and pagination.
Forms
Input components with validation and submission handling. Form behavior configured without custom validation code.
Maps
Geographic visualizations for location-based operational data with marker clustering and layer support.
Custom Components
Extension mechanism for specialized interface requirements beyond standard components.
Configuration Structure
Application Configuration
Top-level structure defining panels, navigation, and global settings.
Panel Configuration
Panel-specific structure defining components, layout, and data connections.
Component Configuration
Individual component settings including data binding, styling, and behavior.
Data Connection Configuration
Service endpoints, query definitions, and data transformations.
Development Approach
Configuration Definition
Applications defined through structured configuration files specifying all interface aspects.
Validation
Configuration validated against schemas ensuring type safety and correctness before deployment.
Deployment
Applications deployed from validated configurations with automatic runtime generation.
Comparison to Traditional Development
Configuration-Driven Advantages
- Rapid application creation
- Consistent interface patterns
- Type-safe data integration
- Visual development tools
- Reduced complexity
Traditional Development Advantages
- Highly specialized interactions
- Unique visual designs
- Custom behavior beyond standard patterns
- Consumer-facing applications
Many applications use both: configuration for standard interfaces, custom code for specialized features.
Use Cases
Operational Dashboards
Real-time operational data display with metrics, charts, and status indicators.
Data Visualization Interfaces
Complex data analysis and visualization with interactive charts and filtering.
Control Panels
Operational controls for system management and workflow execution.
Monitoring Interfaces
System monitoring and alerting with real-time updates and status tracking.
Best Practices
Start Simple
Begin with core functionality and standard components. Add complexity incrementally as requirements emerge.
Reuse Components
Define components once and reuse across panels. Build component libraries for common patterns.
Type-Safe Connections
Leverage data service schema validation to ensure correct data connections.
Version Control
Track configuration changes for review and rollback capability.
Modular Design
Keep data connections and components independent for easier maintenance.
See Also
- Data Layer Architecture — Data service integration
