On Wed, 26 Jul 2006, Jorge Vargas wrote: > On 7/26/06, Martin <[EMAIL PROTECTED]> wrote: >> >> I mean I am concerned that I could end up getting stuck in >> idiosyncrasies of JavaScript and browser dependent behaviour. My >> instinct is to awoid hands on approach to JavaScript technology and >> instead focus on GWT provided offcourse that GWT has no major bugs >> offcourse. With Eclipse, it's debugging and productivity of Java the >> reasons are compelling (provided GWT works well).
GWT does look nice. You're right to be afraid of vanilla JS, of course, but it's not necessary to jump all the way to something like GWT (though I've been grumbling for years there's no reason that sort of thing couldn't be done, so it's nice to see people actually going that way seriously). No doubt GWT's approach will have its own costs, especially in the near-term, which will differ from those of the Mochikit / TG approach. At this point, both approaches seem likely to be reasonable trade-offs. Of course, using GWT means you don't get to use Python. The productivity of Java-the-language isn't usually regarded as compelling by Python users ;-) For the future: http://pyjamas.pyworks.org/ http://pyworks.org/mailman/listinfo/py-gwt http://wiki.python.org/moin/SummerOfCode Compilation of Python to JS in a (now defunct) Python web framework has already been done, of course. Of more practical interest, though, is that the PyPy people have a JS backend for RPython. PyPy is run by some very serious and talented core Python people: this is not a throw-away project, so it seems quite plausible that in the not-too-distant future TG will move in that direction, or at least grow support for that way of working. TG has already shown itself very capable of keeping up with new developments, and I'm sure it'll continue to do that nicely even after 1.0 and the constraints of strict backwards-compatibility. As a useable web framework, though, this is of course vapourware, unlike GWT! And hey, Guido (creator of Python) is doing web development at Google, so who knows where that might lead!-) > The main objective of mochikit is to take out browser to take out all the > platform dependancies. ...and add some of the missing basic stuff that should have been in JS from the start. Which involves making JS look more like Python, of course :-) (FWIW, Brendan Eich obviously shares that sentiment, in spades, as you'll see if you read his plans for JS 2). > about ecplise many people say that pydev (one of > eclipse python's plugin) is the best IDE for python outhere, and recently > it's author made a blogentry or video I don't know about setting it up to > work with TurboGears. A nice IDE it may be, but Python doesn't gain the same benefits from Eclipse that Java does, AFAICT. Python seems too dynamic to fit perfectly into the semantic editing thing. Net of everything, Python still comes out well on top, of course ;-) John --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

