How kingsdigitallab/kdl works
Main System Components
a) Frontend
• Static site generator (11ty/Eleventy)
• Public-facing website with blog, projects, and other content
• Asset management (stylesheets, images, fonts)
b) CMS (Content Management System)
• Directus (implied by the structure)
• Data model based on schema.org
• Content management interface
c) ETL (Extract, Transform, Load)
• Data processing pipeline
• Integration with ActiveCollab
• Scraping functionality
Infrastructure Layer
A Docker-based deployment infrastructure:
• Local development environment
• Production environment
• Volume management for persistent data
• Proxy configuration
Data Flow and Relationships
a) Content Flow:
CMS → ETL → Frontend
• Agent (Organization, Person)
• Project
• WebPage
• DefinedTerm
• KDLRole
• LinkRole
[Frontend Layer (11ty, Static Assets)]
• ↑
[ETL Processing Layer]
• ↑
[CMS Layer (Directus)]
• ↑
[Data Storage Layer]
• ↑
[Infrastructure Layer (Docker)]
Critical Paths
a) Content Management Flow:
CMS UI → Data Model → ETL Processing → Static Site Generation → Public Website
b) Development Flow:
Local Development → Git → CI/CD (GitHub Actions) → Production Deployment
Technical Details
• Node.js 18 runtime environment
• Docker containerization
• GitHub Actions for CI/CD
• 11ty static site generator
• Schema.org-based data model
• Cypress for E2E testing
Integration Points
• API connections between components
• Data synchronization paths
• Testing integration points
• Deployment paths
Environment Separation
Create clear boundaries between:
• Development environment
• Production environment
• Testing environment
Remember to include annotations for:
• Security boundaries
• Data persistence points
• User interaction points
• Content workflow paths
This will provide a complete picture of both the technical architecture and the content management workflow that is central to this system's operation.