Submarine is a personal MVC (Model-View-Controller) framework built with vanilla PHP, aimed at deepening understanding of web framework principles and architecture.
- Application: Initializes the framework and handles application bootstrapping.
- Controller: Implements controllers to handle user requests and generate responses.
- Request: Encapsulates HTTP request details such as headers, parameters, and input data.
- Response: Manages HTTP responses including headers, status codes, and content.
- Router: Implements a routing system to map URLs to specific controller actions.
- Simple Validator: Provides basic validation capabilities for input data.