Roger Demetrescu schrieb: > On Fri, May 23, 2008 at 8:48 PM, Christopher Arndt <[EMAIL PROTECTED]> wrote: >> Two immediate questions spring to mind: >> >> - What are the disadvantages of the dotted path system? >> - What are the advantages of the proposed new system? > > I dunno If you missed Jorge Varga's reply, but he wrote this: > > """ > I read this a while ago and it totally convinced me > http://wiki.pylonshq.com/display/pylonscookbook/Template+plugins+(for+developers) > under "History, dotted notation vs URI notation, and the future" > """ > > I think that URL answers your first 2 questions... :)
But this page also says: "However, again, the template lookup is handled entirely by the plugin, so it can do whatever it wants. A future plugin may load templates from a database, using a completely different notation to identify them." and also mentions that dotted-path notation is required for template engines whose inheritance model relies on Python modules, so I don't understad why dotted-path notation should be deprecated. Or should this only apply to the Genshi and Mako engines? Then what about all the existing TG1 sites that use Genshi? For these the Genshi plug-in must still support the dotted-path notation, or they will break. Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
