I can not understand how to properly arrange folders for php codes, pictures, pages, etc. according to the standard (if there is one =)) well or in a normal human way so that later there is no confusion)

  • Do you have a samopisny engine? - Gena Tsarinny
  • without the engine) I want from scratch myself .. try it - Dikaz
  • yes yes samopisny - Dikaz

3 answers 3

Everything is simple - it is enough not to throw everything in one pile. Flies separately, cutlets separately. For example, you can do this:

/www /img -- изображения /js -- скрипты /css -- стили /pages -- php-страницы index.php -- заглавная страница 

In general, do as you wish.

    in your place I would take any popular framework and see how the structure is organized there. Bike is good, but I would like to see someone else’s project immediately understand what is where.

    • even better the opposite. you can make a bike, and then see how the right guys do it - heleg
     app ... system ... www css js img index.php 
    • And other pages? Where to insert? - Dikaz
    • what are the others? - ukroficer
    • @ukroficer; To format a code, select it with the mouse and click on the {} button of the editor. - Rules
    • I wonder what to throw in the system directory? core? - heleg 1:51 pm
    • there you can’t change the core files and the project in the project database classes, etc. - ukroficer