Changes between Version 13 and Version 14 of BluePrint/SocialMedia/GHC2013SocialMediaHITProcessing


Ignore:
Timestamp:
10/05/13 08:09:02 (11 years ago)
Author:
Pat Tressel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrint/SocialMedia/GHC2013SocialMediaHITProcessing

    v13 v14  
    4949User interface:
    5050http://demo.eden.sahanafoundation.org/eden/msg/
     51
     52=== Fill in required "new module" boilerplate ===
     53Look at the lesson on "making a new module" in the Eden book:[[BR]]
     54http://booki.flossmanuals.net/sahana-eden/_draft/_v/1.0/building-a-new-application/
     55
     56That puts the model file in the {{{eden/models}}} directory, but that is just to avoid complication.
     57Models in {{{eden/models}}} are loaded on every http request, whether they're needed or not.
     58Most Eden models are in {{{eden/modules/s3db}}}, and are only loaded by http requests that need them.
     59Since our message processing won't be used by most types of requests, we want it in {{{eden/modules/s3db}}}.
     60
     61Add the new module to the list of enabled modules. This is normally specified in a "template" that has the
     62customizations for a particular site. Here, we will "cheat" and just add the new module to our configuration
     63file {{{eden/models/000_config.py}}}.  Get the default module list from
     64{{{eden/private/templates/default/config.py}}}, copy it to {{{models/000_config.py}}} and add an entry for
     65the hit module.
     66
    5167=== Add database tables for message processing tasks ===
    5268