Changes between Version 121 and Version 122 of DeveloperGuidelines


Ignore:
Timestamp:
09/25/10 21:12:52 (14 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines

    v121 v122  
    8282s3_debug('message', value);
    8383}}}
     84
     85Browsers default to only downloading 2 files from the same origin at a time, so many files is very slow on high latency links.
     86
     87We therefore consolidate into fewer, larger files when running in Production mode.
     88
     89Since GIS is a specialised app which requires many files, it's JS & CSS are loaded separately when required.
     90
     91The build script is {{{static/scripts/tools/build.sahana.py}}}
     92
     93There is also a convenience wrapper for Windows to run this & also move results into their respective locations: {{{static/scripts/tools/build.cmd}}}
     94
     95Need to remove the '@' from '@requires' in header of {{{/static/scripts/S3/jquery.form.js}}} as we need to compress this without the main file.
     96
     97Our build process is based on the one used by !MapFish (which is built on the one used by !OpenLayers)
     98 * !MapFish (inc OL): https://trac.mapfish.org/trac/mapfish/wiki/HowToBuild
     99 * !OpenLayers: http://trac.openlayers.org/wiki/Profiles
     100
     101!ToDo: Investigate using other options instead:
     102 * http://developer.yahoo.com/yui/compressor/
     103 * http://www.crowproductions.de/repos/main/public/packer/jspacker.py
    84104== Developer Guidelines ==
    85105