Appearance
Data Layer
Overview
The Data Layer provides structured data services with automatic CRUD operations, relationship handling, and database persistence. It enables workflows and applications to store and retrieve operational data.
Every operational workflow needs structured data storage: network configurations, operational records, equipment inventories, scheduling data, and analysis results. The Data Layer provides data services that handle this persistence automatically.
Core Capabilities
Structured Data Storage
The Data Layer manages structured data for workflows and applications. Data services provide automatic storage, retrieval, and management of operational information without custom database code.
Automatic CRUD Operations
Data services automatically provide create, read, update, and delete operations for all data types. This includes single-entity operations and list queries with filtering and pagination.
Relationship Management
The Data Layer handles complex relationships between data entities including one-to-one, one-to-many, and many-to-many relationships with automatic navigation and consistency.
Database Integration
Data services include full database persistence with built-in caching for performance. Database operations are handled automatically with transactional consistency.
Custom Business Logic
Data services can be extended with custom operations for domain-specific logic while preserving these extensions as data models evolve.
Integration Points
Workflow Engine
The Workflow Engine uses the Data Layer for storing workflows, experiments, studies, models, and execution results. Workflows access data through connection tasks that link to Data Layer services.
Applications
Frontend applications connect to Data Layer services to display and modify operational data. The integration provides type-safe queries with automatic error and loading state handling.
Data Flow
Workflows can:
- Read operational data from Data Layer services
- Execute models and transformations
- Write results back to Data Layer services
- Export data to external systems
Key Features
Automatic Operations
Data services provide complete create, read, update, and delete operations for all entity types with filtering, sorting, and pagination built in.
Schema-Driven
Data models are defined declaratively, specifying entity structures, relationships, constraints, and validation rules. The Data Layer generates the complete data service from these definitions.
Type Safety
All data operations are type-safe, with validation of entity structures, relationship constraints, and field requirements enforced automatically.
Performance Optimization
Data services include built-in caching, optimized queries, and efficient relationship loading to ensure responsive data access.
Use Cases
Workflow Data Persistence
Store workflow inputs, intermediate results, and final outputs in structured data services. The Workflow Engine itself uses Data Layer services for experiment and trial management.
Operational Data Management
Maintain operational data like network configurations, equipment inventories, schedules, and event records with automatic CRUD operations and relationship handling.
Application Data Backends
Provide data services for operational applications, handling all data persistence, querying, and relationship management automatically.
Result Storage
Store analysis results, simulation outputs, and model predictions in structured services that applications and workflows can query.
Go Deeper
- Architecture — How Data Layer services are structured
- Schema Guide — Guide to data model definition and relationships
- Usage — Working with Data Layer services
- Examples — Real-world data model examples and patterns
- Frontend — Visual interface for data model design
Related Components:
- Workflow Engine — Uses Data Layer services for workflow and experiment storage
