TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Anyone using GWT in an app?

3 点作者 monkeybusiness大约 16 年前
I was thinking about using GWT on App Engine but the more I think about it, the less I see the need for writing Java code for my client-side JS. Anyone else feel this is overkill and a JS library like jquery makes more sense?<p>Come to think of it, is there ever a good justification for using GWT?

1 comment

warfangle大约 16 年前
No JS library like jQuery (especially jQuery) makes sense. jQuery is useful, but the code written with it tends to be fragile (and when things blow up because of an IE6 bug in jQuery - and they do happen - you're pretty much SOL)..<p>In fact, the only kind of library I could consciously condone is one that promotes object oriented design by not giving you so many easy (but SLOW) ways to access DOM elements (I'm looking at you, $()).<p>Of course, it all depends on what you're trying to do. GWT tends to ease the data transfer a bit, from what I know, plus being easier (I assume) to integrate with Gears. So if you're doing a lot of data manipulation and storage with AJAX, GWT may actually be the way to go.<p>If you feel comfortable writing JavaScript, that's probably the direction you want to take. GWT seems like a platform for Swing programmers who don't want to deal with JavaScript's idiosyncrasies and browser quirks.<p>But for all I know, I could just be blowing smoke - I've not delved that far into GWT. Seemed like too much trouble for what you got from it...
评论 #564225 未加载