GWT 主题和组件库
GWT 有什么好的主题或组件库吗? 对于我的目的来说,内置主题相当简单。 我见过 gwt-ext 和 smartgwt,但它们看起来不太好看。 还有其他人有真正好看的吗? 我知道 vaadin,我真的很喜欢它的外观,但据我了解,这只是一个全新的框架。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
首先要注意的是,有两个框架使用 EXT 和 GWT:
两者都是基于 Ext JS 组件库。
Gwt-Ext 基于 Ext JS 的旧版本,当时它仍然是 LGPL,但 不再开发。
Ext GWT 来自同一家公司,他们仍在开发 Ext JS。 它仍在开发中,并且可以在免费和商业许可下使用,我将使用其中的一个。
SmartGWT 是一种替代方案(也是 GWT-Ext 人们正在转向的方案)。 我的一位同事查看了它,并没有像 Ext GWT 那样喜欢它,因为它是 SmartClient JavaScript 的一个相当薄的包装,而 Ext GWT 有相当多的 Java 代码。 不同之处在于,如果您在托管模式下运行 Ext GWT 应用程序并附加调试器,您可以看到 Ext GWT 正在做什么,但是使用 SmartGWT,您只会看到大量 IDispatch 调用,这些调用消失在本机 JavaScript 中,而调试器不会这样做。无法跟上。
The first thing to be careful of is that there are two frameworks which use EXT and GWT:
Both are based on the Ext JS component library.
Gwt-Ext is based on an old version of Ext JS when it was still LGPL but is no longer developed.
Ext GWT is from the same company who are still developing Ext JS. It's still being developed and is available under free and commercial licenses, and of the two is the one I would use.
SmartGWT is an alternative (and is what the GWT-Ext people are moving to). A colleague of mine looked at it and did not like it as much as Ext GWT as it's a fairly thin wrapper around the SmartClient JavaScript whereas Ext GWT has quite a lot of Java code. The difference being that if you run an Ext GWT application in Hosted Mode and attach your debugger you can see what Ext GWT is doing, but with SmartGWT you'll just see lots of IDispatch calls where it disappears into native JavaScript where your debugger won't be able to follow.
可以在以下位置找到一些为 EXT GWT 开发的主题:
Olive 主题: http:// /extjs.com/forum/showthread.php?t=15505
深灰色主题: http://extjs.com/forum/showthread.php?t= 15341
紫色主题: http://extjs.com/forum/showthread.php?t=15377
黑色主题: http://extjs.com/forum/showthread.php?t=15504
为了使用这些主题,您还需要使用 EXT GWT 小部件,而不是 GWT 库提供的小部件。
There are some themes developed for EXT GWT that can be found at:
Olive Theme: http://extjs.com/forum/showthread.php?t=15505
Dark Grey Theme: http://extjs.com/forum/showthread.php?t=15341
Purple Theme: http://extjs.com/forum/showthread.php?t=15377
Black Theme: http://extjs.com/forum/showthread.php?t=15504
In order to use these themes you will also need to use the EXT GWT widgets instead of the ones supplied with the GWT library.
我目前也在评估 ExtGWT:至少在今天刚刚发布的新 2.0 版本中,它不依赖于 ExtJS 库,而是几乎完全用 GWT 编写,这是一件好事。 例外的是图表小部件,包装了开放的 flash 图表库,依赖于额外的 javascript(显然还加上 flash)。
I am also currently evaluating ExtGWT: at least with the new 2.0 release, that just came out today, it is not relying on the ExtJS library but is almost completely written in GWT, which is a nice thing. Exceptions are the chart widgets, wrapping the open flash charts library, that rely on additional javascript (plus flash obviously).
尝试 Extjs GWT 基本上与 ext-gwt 但采用另一种方法。
在 google 中搜索发现另一个:
对我来说 Extjs GWT 是你能找到的最好的,并且是由基金会开发的,这意味着你有支持。
Try Extjs GWT basically is the same framework of ext-gwt but in another approach.
Searching in google in found another:
For me Extjs GWT is the best you can find, and is developed by an foundation, this means you have support.