Changes between Version 8 and Version 9 of DeveloperGuidelines


Ignore:
Timestamp:
12/20/08 06:02:27 (13 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines

    v8 v9  
    2323=== Controller ===
    2424Python functions in {{{/controllers/module.py}}}
     25
    2526e.g.
    2627{{{
     
    3233=== View ===
    3334HTML/Javascript templates in {{{/views/module/function.html}}}
    34    - these are normal HTML/JS files with the ability to add in Python code (e.g. variables) surrounded by brackets: {{ interpreted python here }}
    35    - there should be an .html file available for each function in the module (name normally being the same as the function)
    36    - these normally inherit from {{{views/layout.html}}} which also includes the Javascript from {{{views/web2py_ajax_t2.html}}}
    37    - if there is no view defined then a default view will be displayed, which will show the values of all the data it can see, but not be formatted nicely
     35 * these are normal HTML/JS files with the ability to add in Python code (e.g. variables) surrounded by brackets: {{ interpreted python here }}
     36 * there should be an .html file available for each function in the module (name normally being the same as the function)
     37 * these normally inherit from {{{views/layout.html}}} which also includes the Javascript from {{{views/web2py_ajax_t2.html}}}
     38 * if there is no view defined then a default view will be displayed, which will show the values of all the data it can see, but not be formatted nicely
    3839
    39    CSS/Javascript files are stored in {{{/static}}}      (equivalent of {{{www/res}}})
     40CSS/Javascript files are stored in {{{/static}}}      (equivalent of {{{www/res}}})
    4041
    4142