/Submarine

My personal PHP framework project for deepening my understanding of web framework principles

Primary LanguagePHP

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.