Edgewall Software

Changes between Version 8 and Version 9 of HelperFunctions


Ignore:
Timestamp:
Sep 12, 2006, 12:13:34 PM (18 years ago)
Author:
cmlenz
Comment:

s/Markup/Genshi

Legend:

Unmodified
Added
Removed
Modified
  • HelperFunctions

    v8 v9  
    1 = Helper functions for use in Markup templates =
     1= Helper functions for use in Genshi templates =
    22[[PageOutline(2)]]
    3 Often you need non-trivial presentation logic in templates, but Markup does not (yet) let you drop into straight Python. In Markup, such presentation logic must be either performed in the controller (i.e. the Python code feeding the template with date), or in ''helper functions'' that are called from within template expressions.
    4 
    5 This page serves as a place where generalized functions that solve common tasks in presentation logic can be collected. At some point, Markup might include a library of such functions.
     3Often you need non-trivial presentation logic in templates, but Genshi does not (yet) let you drop into straight Python. In Genshi, such presentation logic must be either performed in the controller (i.e. the Python code feeding the template with date), or in ''helper functions'' that are called from within template expressions.
     4
     5This page serves as a place where generalized functions that solve common tasks in presentation logic can be collected. At some point, Genshi might include a library of such functions.
    66
    77== Python Standard Library ==
     
    305305
    306306----
    307 See also: MarkupGuide, MarkupRecipes
     307See also: [wiki:Documentation], GenshiRecipes