Changes between Version 32 and Version 33 of NERCPortals


Ignore:
Timestamp:
02/04/08 14:22:52 (11 years ago)
Author:
mkochan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NERCPortals

    v32 v33  
    162162== Source code notes == 
    163163 
    164 This section describes how source code is organised.  
    165 The two  
     164This section describes how source code is organised. 
    166165 
    167 === Development notes for {{{csml2kml}}}  === 
     166=== Source code notes for {{{csml2kml}}}  === 
    168167 
    169168The egg's {{{csml2kml}}} directory contains all Python modules, and the following 4 sub-directories: 
     
    171170 - {{{tests}}} - contains tests, which simply print output (rather than fail/pass messages), and are runnable as {{{python test_filename.py}}}, but please look at the contents first to see what the test does 
    172171 - {{{config}}} - a preferred location for config files for the scripts, in XML format, which define locations of used Web services etc. 
    173  - {{{output}}} - empty after installation, optionally usable for output of scripts and tests 
     172 - {{{output}}} - has {{{svn:ignore='*'}}} set on it, usable for output of scripts and tests. Ou 
    174173 
    175 The modules... 
     174The EpyDoc for the modules is available at ???. 
    176175 
    177176There is a naming convention that wrappers of entities which normally exist as XML elements are prefixed with XML spacename. For instance, a class WMSLayer is a wrapper for an element ''<wms:Layer>''. Wrappers for KML elements (in {{{kml}}} namespace), which are used for output, contain a {{{build()}}} method, which builds each instance into an {{{ElementTree.Element}}} object. On the contrary, wrappers for elements in {{{wms}}} and {{{np}}} namespaces contain {{{parseXML()}}} method, as they are used for input. 
    178177 
    179 === Development notes for {{{csml2kmlpylon}}}  === 
     178=== Source code notes for {{{csml2kmlpylon}}}  === 
    180179 
     180The EpyDoc for the whole Pylon is available at ??? (especially look at {{{controllers.csmlGrapher}}}).