Recently I have been working on pluggable apps support for TG and
after a few days of testing I decided to make a first public release
(there was a previous announcement, but it was on the tg-trunk ML as
it was mostly targeted at looking for reviews).

http://pypi.python.org/pypi/tgext.pluggable is a framework to create
and plug reusable applications in TurboGears2.1.4
It provides a "paster quickstart-pluggable" command to create
pluggable applications and a framework to hook the various pieces
(models, helpers, templates, websetup and so on).
It also provides some utilities to work with reusable components like
simple and straightforward support for partials and templates
replacement.

To create a partial simply declare a function with an @expose
decorator and then you will be able to render it anywhere.
Templates replacement permits to override templates declared with
@expose decorator, if you are using a partial or an application that
exposes a template and you would like to change the template you can
freely override it.

As it is actually an alpha state release it is possible that some bugs
are there and some functions might change signature.
I'll do my best to avoid changing signature of public functions, so it
is fairly safe to use it.
Any feedback is well appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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?hl=en.

Reply via email to