H
H
Human2020-03-07 18:50:14
PHP
Human, 2020-03-07 18:50:14

How to properly organize the file structure?

Good afternoon, for two weeks now I have been inventing square wheels, studying the structures of ready-made solutions ... I tried enough options, but due to lack of knowledge I can’t decide.

At the moment, a similar structure of the entire application is used:

platform
- modules
- - Users
- packages
- system
- - api
- - core
- - - Routing
- - services
- - - Validation
storage - all content is stored here.
- cache
- config
- - routes
- debug
- - logs
- public
- - languages
​​- - assets
web - applications are located here.
- app - application
- - controllers
- - models
- - view

Explain the cons of my solution and is the structure built correctly?

I would like to achieve from the structure:
- scalability
- everything is on the shelves, beautiful to the eye and a logical arrangement

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2020-03-07
@rafxxxa

as convenient for you personally, and right. there is no single correct approach - the concept of beauty is very individual.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question