Pluggable Templating System Proposal
|Reported by:||Owned by:||jonas|
This is a proposal to allow for each plugin to declare what templating system it uses. The idea is to not invalidate all plugins written in between now and the switch to Kid (currently scheduled for 0.11).
The idea has two parts:
- A new extension point called ITemplateSystemProvider.
- A class variable in each componenet called
To maintain backwards compatibility, if not present,
__templatesystem__ would have an implied default of
Each system provider would produce a list of schemes it is responsible for, and a function to be called before running process_request(), allowing the system to initialize any internal states needed, as well as place any needed data into to Request structure.
This is still very loosely defined in my head, so please post any better ideas you might have.