How ned3y2k/perminator works
Main Components Identification
a. Core Framework Components:
• Request/Response Handling System
• MVC Architecture
• Database Layer
• API Processing System
• Security Layer
• Configuration System
b. Supporting Components:
• Console System
• Testing Framework
• Utility Services
HTTP Request Entry Point
↓
**Dispatcher Layer (src/classes/web/dispatch/*)**
↓
Middleware/Interceptors (src/classes/web/IHandlerInterceptor.php)
**Controller Layer (src/classes/web/mvc/*)**
**← → Context Management (src/classes/context/*)**
← → View Layer (PageBuilder system)
← → Model Layer
**Query Mapper System (src/classes/database/query/mapper/*)**
↓
**Database Connections (src/classes/database/*)**
↓
Physical Database
Detailed Component Breakdown
Database Layer:
Query Mapper
• Dynamic Query Builder
• Query Node System
• Database Statements
MVC Layer:
Controllers
• Action Controllers
• Exception Handlers
• Page Builders
Context Management:
Application Context
• Request Context
• Response Context
• User Session Context
Integration Points
Integration points for:
• External API connections
• SMS Integration (src/classes/sms/*)
• File System Interactions
• Session Management
Notes Section
Notes about:
• PHP 7.1 requirement
• mod_rewrite dependency
• Framework initialization flow
• Error handling patterns
Remember to emphasize the framework's flexibility by showing extension points and plugin architecture capabilities, as suggested by the "Easy & Flexible PHP Web Framework" description in the README.
This architectural representation will help developers understand both the high-level structure and the detailed component interactions within the Perminator framework.