On Jan 19, 2007, at 12:55 AM, Jeff Kowalczyk wrote:
I'd like to get a look at code and output of ToscaWidgets with TurboGears-1.0. I'm at the start of a project that may require many simple and compound widgets, and I'd like to use Genshi, and possibly other template engines in certain cases. Are the tgsample add_user.kid template and tw_samples/js_forms.py addUserForm a good (updated) representation of what ToscaWidgets look like in code and output, and what the included widgets can do at the moment?
Yes. I try always try to keep those examples up-to-date making sure their install requirements reflect the minimum revision needed to make them work. Every thing you download from toscawidgets.org/ download should play nice with it's dependencies, as well as all the repository's HEADS.
Is there another open-source TG project which uses TW more extensively than the sample?
http://code.ostsystems.com/wiki/Sphyra is using them, though not more extensively than the sample. I'm using them in about 4 in-house apps which are not OS.
I do realize that ToscaWidgets is a work in progress and possibly targets a future version of TurboGears, and also that it might be a long while before something as complete and polished as the tg-admin toolbox widget browser is available for ToscaWidgets.
ToscaWidgets is targeted as official TG widgets for 2.0 but doesn't only target TG. It's been used succesfully by some people in Pylons too, and I've read other people use it with web.py too. It should be usable *now* in any WSGI compliant app/framework where you can stack it's middleware (which takes care of providing an isolated environment to all widgets in one app to pass messages among them and serve static resources). Their API is mostly stabilizied, in fact If today goes as planned I might release the first alpha in a couple of hours which will freeze the API... :) Any further changes to the API will give DeprecationWarnings and provide aliases so they don't break code without notice. Hopefully some less lame docs, examples and a tutorial will follow in a couple of days.
A widget browser is a planned feature but haven't got much time at the moment to start coding it. It shouldn't be too difficult to implement... maybe for the second alpha....
Alberto --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

