Changes between Version 10 and Version 11 of WorkInProgress/PluggableDirectivesLibraries
- Timestamp:
- Jun 17, 2010, 10:49:19 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WorkInProgress/PluggableDirectivesLibraries
v10 v11 6 6 7 7 - 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 9 10 - zero configuration effort by the user 10 11 - detection of available directives libraries is via the [genshi.libraries.directives] entry point … … 12 13 - api for programmatically adding new directives libraries (similar to the current concept of pluggable !DirectiveFactory's) 13 14 - 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 17 17 - this seems more natural since we are not dealing with operators here and as it is also found in common programming 18 18 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 genshi20 19 21 20 == Current Development State == 22 21 23 - still in early design/prototyping phase22 - currently in early alpha phase (existing test cases do not break and performance is similar to standard genshi) 24 23 25 24