GWT,Smart GWT,GWT-ext 比较 [英] GWT,Smart GWT,GWT-ext comparison

查看:24
本文介绍了GWT,Smart GWT,GWT-ext 比较的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的应用程序中使用 GWT 2.0.3 和 ext.该项目不再处于积极开发阶段,已被 Smart GWT 取代.我正在为此应用程序使用 HMVC 模式.现在使用现有的 GWT 2.0.3 和 ext 版本,我遇到了很多问题.问题与以下内容有关.

I am using GWT 2.0.3 with ext in my application.This project is no longer under active development and has been superseded by Smart GWT.I am using HMVC pattern for this application. Now with existing GWT 2.0.3 and ext version I am getting many issues.Issues are related to the followinng things.

浏览器兼容性HTML 5 合规性

Browser Compatibility HTML 5 Compliance

移动兼容性

分辨率无关

加载速度

控制丰富度

几天前 GWT 2.3 版本也发布了.现在我想将我的应用程序迁移到新技术.因为 ext 不再处于积极开发状态.而且我也遇到了现有版本的许多问题.

Fews days back GWT 2.3 version also released.Now I want to move my application application to new technology.as ext is no longer under active development.and I also I am getting many issues with existing version.

我正在考虑根据要求分析 GWT 2.3、Smart GWT 和 Spring 框架.但我仍然有点困惑在这种情况下该怎么做.如果有人对此情况有想法并给我一些清晰的想法或比较技术然后它对我很有帮助.

I am thinking to analyz GWT 2.3, Smart GWT and Spring framework according ot requirement.But still I am bit confused what to do in this situation.If any one has idea about this situaion and give me some clear idea or comparison of technologies then It will very help ful for me.

请帮帮我.

推荐答案

关于迁移 -将现有代码迁移到普通的 gwt 2.3 并不容易.ext 使用不同的框架和类,您在 gwt 中找不到相同的方式,您最终将不得不重新编码很多东西.

Regarding migrating - It wont be easy to migrate over to your existing code to plain gwt 2.3. ext uses different framework and classes that you will not find in the same way in gwt, you will have to end up re-coding A LOT of the things.

如果你想重新编码,那么选项对你开放-

If you want to re-code, then the options are open to you-

  • Smart GWT 正在积极开发中,并且肯定有更丰富、更分类的小部件集.但是,我发现 LGPL 版本文档缺乏且令人困惑,(如果您选择付费版本,则不是问题)

  • Smart GWT is being actively developed and has a richer classier set of widgets for sure. However, I find the LGPL version documentation lacking and confusing, (if you go for the paid version then not an issue)

另一方面,GWT 2.3 几乎拥有与 smartgwt 相当的所有小部件(仍然缺少内置验证等内容).我发现它比 smartgwt 更轻巧、更优化.但是,您可能需要做更多的 css 工作才能让它看起来像 smartgwt 一样优雅.

GWT 2.3 on the other hand has got mostly all widgets comparable to smartgwt (still missing stuff like inbuilt validation etc). I find it much lighter and more optimized than smartgwt. However, you may have to do a little more css work to get it looking as classy as smartgwt.

如果您想要一组具有侵略性的漂亮小部件,不要介意稍重的应用程序,请使用智能 gwt.如果您有时间编写功能和设计自己,更喜欢轻量级应用程序,请使用 gwt.

If you want an agressive set of good looking widgets, don't mind a slightly heavy application, go with smart gwt. If you have time to code functionality and design urself, prefer a light application, go with gwt.

编辑 -

  • 浏览器兼容性

  • Browser compatibility

GWT- 非常全面,可能会在这里和那里遇到一些 css 小问题.

GWT- Very comprehensive, may face a little css niggles here and there.

Smart GWT- 相当全面,但是,我不得不修改代码等以适应不同版本的 IE.另外 - 不要将 Smart GWT 与 GWT 小部件混合使用!!!它是兼容性的噩梦,smartgwt 并不完全是 gwt 的扩展(smartgwt 包装了很多本机 js 代码).您最终可能会看到奇怪的 js 错误,即使是 smartgwt 团队也发现这些错误很难调试 - 他们的建议 - 不要混合小部件.

Smart GWT- Fairly comprehensive, however, I have had to modify code etc to accomodate different versions of IE. ALSO - do not mix Smart GWT with GWT widgets!!! Its a compatibility nightmare, smartgwt isnt exactly an extension of gwt (smartgwt wraps a lot of native js code). You may end up seeing weird js errors which even the smartgwt team finds hard to debug - their advice - dont mix the widgets.

移动兼容性

我没有在这方面工作过,但是两者都是基于 JS 的,因此应该可以在任何移动设备上运行.您可能需要弄清楚 UI 设计元素并捕获自然触摸事件.在这里,我仍然会使用 gwt,因为它更轻.也许这会有所帮助 - http://traceurl.blogspot.com/2010/11/state-of-gwt-for-mobile.html 不确定 smart gwt 对特定移动事件有什么支持.

I have not worked on this aspect, however both are JS based and so should run on any mobile. You may have to figure out UI design elements and capturing natural touch events. Here I would still go with gwt for that fact that it is lighter. Maybe this will help - http://traceurl.blogspot.com/2010/11/state-of-gwt-for-mobile.html Not sure what support smart gwt has for specific mobile events.

分辨率独立

在这里,Smart gwt 胜出.只需在 %ages 中声明小部件大小,然后让它发挥它的魔力.如果您想要可调整大小,gwt 就不那么简单了 - 您必须捕获调整大小事件

Here Smart gwt wins hands down. Just declare widget sizes in %ages and let it do its magic. Not so straightforward with gwt where if you want resizability - you will have to capture resize events

加载速度

GWT 绝对更轻,加载速度更快.您还可以提高 smart gwt 的加载速度,但是您必须通过取消选择您不使用的代码等来为此做一些工作.如果您有这方面的经验,您可以将速度差异降低到可以忽略不计的程度.

GWT definitely is lighter and loads faster. You can also improve the loading speed of smart gwt, but you will have to work a little for that by deselecting code you dont use etc etc. If you are experienced in that, you may bring down the speed difference to negligible amounts.

控制丰富度

不确定你在要求什么,但如果它丰富的小部件功能,我会选择 Smargwt(这是一件让它变得更重的事情).

Not sure what you are asking for, but if its richness of widget functionality, I will go with Smargwt (that is one thing that makes it heavier sadly).

这篇关于GWT,Smart GWT,GWT-ext 比较的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆