Skip to content
usename-PoezdPublic

About

MVC implementation with no libs

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

⚙️ My MVC pattern with NO LIBS ⚙️

🚧 Project struct

root/
├── app
│   ├── Contracts
│   ├── Core
│   ├── Exceptions
│   └── Routing
├── assets
│   └── views
│       └── home
├── docker
│   └── nginx
│       └── conf.d
├── public
├── routes
└── src
   └── Controllers

app/

Project core. It loads the service settings, initializes the framework, and searches for the required controller.

assets/

Folder for any front-end stuff and views

docker/

Folder for configs of docker containers

public/

The entry point to the project.

routes/

Routes folder, which stores descriptions of all routes of service

src/

Framework extension point. This is where developers put their code. Implemented based on the MVC pattern. Controller - contains controllers. The entry point of all requests to the server and the subsequent formation of the response. Model - contains models. Gets data from various sources (DB, external api, etc.). Service - business logic layer. Contains code that is most likely to be refactored and modified. Generates json server response.

About

MVC implementation with no libs

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages