On Sat, Jan 10, 2009 at 11:07 AM, Alberto Valverde <[email protected]> wrote:
>
> Dean Landolt wrote:
>>
>>     The only caveat is that it probably doesn't belong inside
>>     tg.controllers... but I do think that TG2 should bundle a bunch of
>>     helpers like this inside since it they're so short and don't need to
>>     pull dependencies (since you can do the imports inside __init__ and
>>     configire the app there). They also make great marketing material ;)
>>
>>     So, should  add some more of these in a separate module? For example,
>>     one for Rum? ;)
>>
>>
>> That would be /fantastic /marketing.
>
Yes indeed this is a great idea.

> We've finally decided (on IRC) to put these helpers in separate eggs or
> recipes. The TracController I mentioned has been moved to the TG docs
> [1]. Rum will have a helper in the TgRum [2] package (which will be
> released this Monday, along with Rum 0.2)
>
I think that a package with all "mayor" wsgi controllers will be the
best thing to do, if we could keep imports at bay (ie inside __init__)
, then we could have controllers for Trac, mercurial, moinmoin, etc.
How about tg.wsgihelpers, to steal the motto of webhelpers?

> Alberto
>
> [1]
> http://trac.turbogears.org/browser/docs/2.0/docs/project_code/trac_controller.py
> [2] http://hg.python-rum.org/TgRum
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to