How edificeio/infra-front works
Main Components Identification
The system should be represented with these key components:
a) Core Framework Layer:
• Angular.js Integration (src/ts/libs/angular)
• Core Services (HTTP, Authentication, Rights Management)
• Theme Engine (src/ts/skin.ts, src/ts/theme.ts)
• Widget System (src/ts/widget.ts)
• Sniplet System (src/ts/sniplets.ts)
b) UI Components Layer:
• Basic UI Components (src/ts/directives)
• Advanced Media Components:
• Rich Text Editor (src/ts/editor)
• Image Editor (src/ts/image-editor)
• Sound Recorder (src/ts/recorder.ts)
• Media Library (src/ts/directives/mediaLibrary.ts)
• Video Components (src/ts/video)
c) Integration Layer:
• Workspace Integration (src/ts/workspace)
• Template System (src/template)
• Tracking System (src/ts/tracking)
┌─────────────────────────────────────────┐
• Integration Layer │
• ┤
• UI Components Layer │
• ┤
• Core Framework Layer │
• ┘
Component Relationships
a) Core Dependencies:
• Angular.js → Core Framework Layer
• Core Framework Layer → UI Components Layer
• UI Components Layer → Integration Layer
b) Cross-cutting Concerns:
• Theme Engine → All Layers
• Rights Management → All Components
• Tracking System → All Interactive Components
┌─────────── Multimedia Components ───────────┐
• ┌─────────┐ ┌──────────┐ ┌──────────────┐ │
• Editor │ │ Image │ │ Media │ │
• Editor │ │ Library │ │
• ┘ └──────────┘ └──────────────┘ │
• ┘
External Integration Points
Integration with:
• ENT Core Backend
• Springboard
• Audio Recorder Service (Port 6502)
Implementation Details
Use these symbols:
• Double lines: Data flow
• Diamonds: Component containers
• Circles: Services
• Rectangles: Modules
Additional Notes
• Component types
• Relationship types
• Version information
• Build/deployment considerations
This architecture should emphasize the framework's modular nature and how it supports building and running ODE applications through its various components and services.