Edgewall Software

Changes between Version 9 and Version 10 of TracPluggableModules


Ignore:
Timestamp:
Nov 22, 2004, 7:07:34 PM (19 years ago)
Author:
Christopher Lenz
Comment:

Added note about sample code

Legend:

Unmodified
Added
Removed
Modified
  • TracPluggableModules

    v9 v10  
    106106
    107107This is probably just the price to pay for a cleaner architecture, but optimizations may be possible.
     108
     109See the attachment {{{moduly.py}}} (at the bottom of this page) for an example how this might work. Note that the example uses new-style Python classes and meta-classes, and as such requires at least Python 2.2. I've only tested it on Python 2.3 myself.
    108110
    109111=== By using ExtensionPoint Interfaces ===
     
    263265--James Moger
    264266
    265 ''James, the idea I was trying to get through with this proposal is that modularizing the current core of Trac, while allowing the mechanism to be used for plugging in new or custom functionality, would probably be easier and than developing a well designed plug-in interface, '''and''' come with more benefits.'' --ChristopherLenz
     267''James, the idea I was trying to get across with this proposal is that modularizing the current core of Trac, while allowing the mechanism to be used for plugging in new or custom functionality, would probably be easier and than developing a well designed plug-in interface, '''and''' come with more benefits.'' --ChristopherLenz