Edgewall Software

Changes between Version 10 and Version 11 of WorkInProgress/PluggableDirectivesLibraries


Ignore:
Timestamp:
Jun 17, 2010, 10:49:19 PM (14 years ago)
Author:
Carsten Klein <carsten.klein@…>
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WorkInProgress/PluggableDirectivesLibraries

    v10 v11  
    66
    77 - provide for a framework for introducing additional directives into the system, even from different namespace
    8  - existing directives must not be overridden, nor replaced, alternate versions have to be placed in a different namespace
     8 - TODO existing directives may be overridden, i.e. alternate versions will simply replace existing directives from a different library
     9   - might require some configuration by the user for choosing the correct implementation, if multiple such replacements are available
    910 - zero configuration effort by the user
    1011   - detection of available directives libraries is via the [genshi.libraries.directives] entry point
     
    1213 - api for programmatically adding new directives libraries (similar to the current concept of pluggable !DirectiveFactory's)
    1314 - extended text based templates, see [wiki:WorkInProgress/PluggableDirectivesLibraries/TextTemplates]
    14  - process all directives in document order dependent rather than by an order that is defined in-source
    15    - this allows for adding new directives to existing directive namespaces without the user having to figure out a
    16      proper execution priority
     15 - execution order of directives must be redefined so that directives defined by third party libraries will be executed in the correct order, and if a given directive does not impose any restrictions on its execution order, then it will be executed in document order
     16   - this allows for adding new directives to existing directive namespaces
    1717   - this seems more natural since we are not dealing with operators here and as it is also found in common programming
    1818     languages where the in-source order of statements is the normally the same order that they are executed in
    19    - NOTE: this might break existing templates which rely on the previous ordering imposed by genshi
    2019
    2120== Current Development State ==
    2221
    23  - still in early design/prototyping phase
     22 - currently in early alpha phase (existing test cases do not break and performance is similar to standard genshi)
    2423
    2524