How jplerouzic/coralie works
Main System Components
a) Controller Layer
• Main controller (controller/htmly.php)
• Class structure under controller/classes
• Dispatch and rendering components
b) Model Layer
• In the middle
• Functionality modules (archive, author, category, posts, comments, etc.)
• Flat-file storage system
• Plugin system
c) View Layer
• At the bottom
• Admin interface and theme system
• Editor component
• Static and dynamic page rendering
Key Relationships and Data Flow
• Request flow from user through controller to appropriate model
• Data retrieval from flat-file storage
• View rendering process
• Plugin integration points
• Content serving path
Special Components to Highlight
Create distinct sections for:
• Authentication system (model/login)
• Comment system (model/comments)
• RSS functionality (controller/plugins/php-rss-writer)
• Content management (model/content)
• Voice feature (assets/voice)
Specific Implementation Details
a) File System Structure
• Content storage (/content/)
• Theme management (/views/theme/)
• Plugin architecture (/controller/plugins/)
b) Core Features
• Markdown processing
• RSS generation
• User management
• Content categorization
• Search functionality
Integration Points
Connections for:
• Plugin system (future WordPress plugin compatibility)
• Theme system
• External services
• Voice feature integration
Technical Specifications
• PHP 8.1 compatibility
• Apache/PHP hosting requirement
• Flat-file database structure
• Markdown processing capability
Key Considerations:
1. Separation between infrastructure (/controller/), functionality (/model/), and presentation (/views/)