Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 744 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 744 Bytes

Submarine: Personal PHP MVC Framework

Submarine is a personal MVC (Model-View-Controller) framework built with vanilla PHP, aimed at deepening understanding of web framework principles and architecture.

Core Components

  • 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.