flxf/Pinterest-Right-Click — Issue #7: Services and RewriteRule boundaries are blurry
Author: flxf
Created: 2012-02-28 09:10:49+00:00
State: open

RewriteRules needs to be powerful. Services needs to be powerful. We don't really have a clear distinction between what should be done where. Things are kind of pushed around to make dependencies work but it's really case by case and it's uglier than I like it... even now.

Idea:
Do all rewriting before context menu is shown and addMenuItem can be called by rewrite rules.

Pros:
Should clean up code nicely.

Cons:
Hurts performance.