Development

ref/DirWeb (diff)

You must first sign up to be able to contribute.

Changes from Version 1 of ref/DirWeb

Show
Ignore:
Author:
bshirley (IP: 206.231.146.2)
Timestamp:
01/19/09 22:45:15 (9 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ref/DirWeb

    v0 v1  
     1= web = 
     2 
     3This is the top-level web directory that must be visible to the web server.  It generally contains only resources (images, css, javascript).  The executable php does not exist under this directory and need not be visible on the server.   
     4 
     5It also contains the front controllers for each combination of application and available environment.  Also, it will contain symbolic links to the resources of plugins that have been installed. 
     6 
     7== Locations == 
     8 
     9{{{ 
     10/<projname>/web 
     11}}} 
     12 
     13== Contents == 
     14 
     15Contains common sub directories by convention: [wiki:ref/DirCss css], [wiki:ref/DirImages images], [wiki:ref/DirJs js].  It can contain anything, however you like to organize your website.  Subdirectories can be added at will as desired. 
     16 
     17== Examples == 
     18 
     19listing from [http://www.symfony-project.org/jobeet/1_2/Propel/en/ Jobeet]: 
     20 
     21{{{ 
     22> ls -l web 
     23-rw-r--r--   1 user  staff   235 Jan  5 15:17 backend.php 
     24-rw-r--r--   1 user  staff   594 Jan  5 15:17 backend_dev.php 
     25drwxr-xr-x   8 user  staff   272 Jan  7 14:06 css 
     26-rw-r--r--@  1 user  staff  1406 Dec 15 09:58 favicon.ico 
     27-rw-r--r--   1 user  staff   595 Dec  4 16:23 frontend_dev.php 
     28drwxr-xr-x  14 user  staff   476 Dec 15 10:21 images 
     29-rw-r--r--   1 user  staff   236 Dec  4 16:23 index.php 
     30drwxr-xr-x   3 user  staff   102 Dec  8 16:51 js 
     31-rw-r--r--   1 user  staff    26 Dec  4 16:23 robots.txt 
     32lrwxr-xr-x   1 user  staff    54 Jan  5 16:28 sfDoctrinePlugin -> ../lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/web 
     33lrwxr-xr-x   1 user  staff    52 Jan  5 16:28 sfPropelPlugin -> ../lib/vendor/symfony/lib/plugins/sfPropelPlugin/web 
     34lrwxr-xr-x   1 user  staff    57 Jan  5 16:28 sfProtoculousPlugin -> ../lib/vendor/symfony/lib/plugins/sfProtoculousPlugin/web 
     35drwxrwxrwx   4 user  staff   136 Dec  8 16:51 uploads 
     36}}} 
     37 
     38== References == 
     39 
     40 * Task [wiki:ref/TaskPluginInstall plugin:install]