It sounds to me like you are best using 1.04. I've been using it with genshi for a long time with no problem. Genshi is very similar to kid, except it tells you where the mistakes in your templates are. You definitely want this feature! It will save you hours and hours.
I'm still using sqlobject---can't comment on that vs. sqlalchemy, except that I did once try to switch, but decided it would take too long. (I have 35 tables at the moment in my application). So you might be better just using sqlalchemy. from the beginning. Now unless there's been a recent development---mochikit seems to be dead. The last release was in April 2006. The other javascript toolkits seem to be releasing all the time. I decided I didn't want to put any effort into learning mochikit if it's going to end up as a deadend. So I chose extjs. But that turned out to be very poorly documented, and I didn't really get very far. Finally I landed on yui----(yahoo's javascript toolkit). It's extremely well documented, has a great mailing list, is very easy to learn and works really well for me! :) Good luck! On Apr 12, 6:10 pm, scooper <[EMAIL PROTECTED]> wrote: > I've done a couple of very limited Django apps, and now I'm looking to > build something bigger and better in TurboGears. I got frustrated > with Django's more closed structure, and am lured by the openness of > TG. I chose to start with TG 1.1, given that SQLAlchemy and Genshi > look better than Kid/SQLObject. So now I'm working through the Wiki20 > tutorial. After some struggle, I have everything working, except for > the Ajax part on page 6. > > It seems like the MochiKit include in app.cfg is failing as > described. Perhaps the instructions to add "tg.include_widgets = > ['turbogears.mochikit']" is obsolete. But I couldn't find any other > instructions for getting MochiKit loaded. I hear JQuery is better, > but see even less help for getting started with it under TG. The > tutorial uses MochiKit. > > The error I get looks like this... > ... a large stack trace ending in the final error: > RuntimeError: Trying to render a widget, but Kid templating engine > is not yet loaded. > > I assume the error is because the MochiKit widget assumes Kid? How > can I load the library in a Genshi-compatible way? Sorry, this is all > new territory for me. So I'm probably not even asking the questions > well. > > Finally, is 1.1 the best choice? Or should I go back to 1.04 and give > up on SQLAlchemy and Genshi? Or should I boldly go to 2.0? I don't > want a big porting exercise down the road, if it can be avoided. > > Thanks in advance for the help. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

