Edgewall Software

Changes between Version 18 and Version 19 of TracPluggableModules


Ignore:
Timestamp:
Apr 11, 2005, 5:15:59 PM (19 years ago)
Author:
anonymous
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracPluggableModules

    v18 v19  
    125125
    126126A couple of drawbacks become visible here:
    127  * The current timeline code is very efficient by basically consisting of a single SQL query over all the related tables. Under the plug-in model, we'd have at least one query per contributing module. ''Not necessarily: each contributing module could contribute the appropriate SQL fragment for the query, as well as a post-processing routine. The current timeline code could be easily refactored  that way, without loosing its efficiency.''
     127 * The current timeline code is very efficient by basically consisting of a single SQL query over all the related tables. Under the plug-in model, we'd have at least one query per contributing module. ''Not necessarily: each contributing module could contribute the appropriate SQL fragment for the query, as well as a post-processing routine. The current timeline code could be easily refactored  that way, without losing its efficiency.''
    128128 * Similarly, ordering of the events will need to be done in Python in the timeline module after it has collected all events. ''See above.''
    129129
     
    219219
    220220''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
     221