Mailing List Archive

[The Trac Project] #2602: Pluggable Templating System Proposal
#2602: Pluggable Templating System Proposal
----------------------------------+-----------------------------------------
Reporter: coderanger@yahoo.com | Owner: jonas
Type: enhancement | Status: new
Priority: normal | Milestone: 0.11
Component: general | Version: 0.9.3
Severity: normal | Keywords:
----------------------------------+-----------------------------------------
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:
1. A new extension point called ITemplateSystemProvider.
1. A class variable in each componenet called {{{__templatesystem__}}}.

To maintain backwards compatibility, if not present,
{{{__templatesystem__}}} would have an implied default of
{{{'clearsilver'}}}.

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.

--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2602>
The Trac Project <http://trac.edgewall.com/>
Re: [The Trac Project] #2602: Pluggable Templating System Proposal [ In reply to ]
#2602: Pluggable Templating System Proposal
----------------------------------+-----------------------------------------
Reporter: coderanger@yahoo.com | Owner: jonas
Type: enhancement | Status: new
Priority: normal | Milestone: 0.11
Component: general | Version: devel
Severity: normal | Resolution:
Keywords: |
----------------------------------+-----------------------------------------
Changes (by anonymous):

* version: 0.9.3 => devel

--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2602>
The Trac Project <http://trac.edgewall.com/>
Re: [The Trac Project] #2602: Pluggable Templating System Proposal [ In reply to ]
#2602: Pluggable Templating System Proposal
----------------------------------+-----------------------------------------
Reporter: coderanger@yahoo.com | Owner: jonas
Type: enhancement | Status: new
Priority: normal | Milestone: 0.11
Component: general | Version: devel
Severity: normal | Resolution:
Keywords: |
----------------------------------+-----------------------------------------
Comment (by coderanger):

Please direct all comments about this to the trac-dev mailing list.

--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2602>
The Trac Project <http://trac.edgewall.com/>
Re: [The Trac Project] #2602: Pluggable Templating System Proposal [ In reply to ]
#2602: Pluggable Templating System Proposal
----------------------------------+-----------------------------------------
Reporter: coderanger@yahoo.com | Owner: jonas
Type: enhancement | Status: closed
Priority: normal | Milestone: 0.11
Component: general | Version: devel
Severity: normal | Resolution: wontfix
Keywords: |
----------------------------------+-----------------------------------------
Changes (by Noah Kantrowitz (coderanger) <coderanger@yahoo.com>):

* status: new => closed
* resolution: => wontfix

Comment:

Since Genshi is awesome, this is somewhat useless now.

--
Ticket URL: <http://trac.edgewall.org/ticket/2602#comment:3>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---