Please share references to articles, preferably in Russian, which describe the rules for good code writing and drawing up a good project structure. This applies to the names of variables for php and js, class names and IDs for CSS, proper location of files in the project, creation of a high-quality and properly working autoload on php, competent database structure, in the end correct indents and so on. It may not be whole huge tutorials, but it would be nice to see practical tips for creating a high-quality, large project that will constantly grow. Sometimes knowledge of a language is not enough to be a good programmer. I realize this, so please share the experience of professionals. Thank you very much in advance.

1 answer 1

Regarding the project structure in PHP, you need to dig towards MVC:

In general, all this and a bit more is implemented in frameworks such as Symfony and Laravel.

About the quality of PHP code to dig in the direction of PSR http://svyatoslav.biz/misc/psr_translation/

PS All this and more is described here. PHP the right way

  • @vtvz_ru, If you are given a comprehensive answer, mark it as correct (click on the check mark next to the selected answer). - Denis Pavlik
  • It won't be enough ... I would like to study this topic more extensively - Vitaly Zaslavsky