Tuesday, August 12, 2014

Re: GWT seems deprecated according to Thoughtworks

My comments to ThoughtWorks radar (I guess they are not from Martin Fowler, but from some more novice JS developer):

>> write Swing-like Java code...
GWT widgets are much simpler and cleaner than Swing. But you don't have to use GWT widgets - you can use UI Binder with pure HTML and style it with CSS...

>> Second, if the JavaScript doesn't behave exactly as you want you will have to hack the generated code.
This comment shows, that the writer has no deep knowladge of GWT. I've been using it since 2008 on MANY projects and never needed to hack the generated code.

>> Third, using Java to generate JavaScript means that you can't take direct advantage of the powerful features of JavaScript or numerous libraries such as JQuery.
This is also not true. On one of my project I've integrated JQuery and GWT.

>> Finally, the JUnit support is quite limited, for example code using reflection cannot be tested.
Please show me your JavaScript code with reflection you would like to test... :-) I rarely use reflection anyway...

>> First, in many ways, JavaScript is more powerful and expressive than Java
This is a very subjective one. I feel exactly the other way around... :-9

>> Secondly, it is impossible to hide a complex abstraction difference like that from event-driven desktop to stateless-web without leaky abstraction headaches eventually popping up.
Stateless web means request-based web apps, which is very bad for me. I like client based event-driven UI (AJAX / GMail-like).

>> Third, it suffers from the same shortcomings of many elaborate frameworks, where building simple, aligned applications is quick and easy, building more sophisticated but not supported functionality is possible but difficult, and building the level of sophistication required by any non-trivial application becomes either impossible or so difficult it isn't reasonable.
Once again the author show it has no deep knowledge of GWT. With GWT you can build very complex apps in a structured way. Everything is type and compile-time checked...

And some have said before me: GWT is not perfect, but up until now I haven't seen any better alternative...

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment