什么是正确的web应用程序文件结构?及其原因


What is correct web-app file structure? And why?

web应用程序的典型文件结构是什么?

你有你的宣传册网站:

[+]根
 [+] images
 [+] css
 [+] javascripts
 [+] pages
     - index.html
     - biographies.html
     - contacts.html
//




你有你的web应用程序(这里是什么?这是我的理解

[+] root

[+]  build 
     [+] classes
         - Database.php
         - User.php
     [+] includes
         - config.php
[+]  public
     [+] css
     [+] js
     [+] img
     [+] pages
         - index.php
         - eventpage.php
         - createabear.php

没有一个"正确"的结构。