Difference between revisions of "Developer notes"

From WormBaseWiki
Jump to navigationJump to search
(New page: == File paths == It's important to be consistent with where we place things on the filesystem since it makes it easier to find things, and easier to handle proxy redirects. Here are some ...)
 
Line 25: Line 25:
  
 
Constants should be defined in conf/elegans.pm.
 
Constants should be defined in conf/elegans.pm.
 +
 +
 +
 +
[[Category:Developer documentation]]

Revision as of 18:50, 11 August 2010

File paths

It's important to be consistent with where we place things on the filesystem since it makes it easier to find things, and easier to handle proxy redirects. Here are some rough guidelines.

Static content

html/ - All static content (and only static content) belongs in html/. html/js - javascript files. Create subdirectories as necessary html/css - stylesheets (see below)

Temporary images and files

/tmp
/var/tmp

Temporary files should be placed outside of the document root. This includes any files that need to expire at the end of a given release cycle.

Images


CSS

Please consolidate style information into one of the existing stylesheets or creat a new one if necessary. Please try to avoid using style information inline in a document.

Constants

Constants should be defined in conf/elegans.pm.