gwt-ext和ext-gwt之间的区别 [英] Difference between gwt-ext and ext-gwt

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

问题描述

解决方案

在这两个框架上花费了大量时间在这一点上,我会说他们不是非常相似。虽然他们可能都使用相同的图形资产,但他们到达目的地的方式会有很大的不同,并且根据您的需求/开发风格,您可能会发现其中一种比另一种更好。

GWT-EXT通过包装Ext-JS框架来封装Ext-JS,当尝试扩展功能时可能会导致挫败感,因为您无法以足够低的级别访问实现。但是,如果您了解Ext-JS并且想编辑JavaScript,那仍然是一个选项。



EXT-GWT不是一个javascript包装器。如前所述,它使用Ext-JS图形资源,并且其中一些API类似,但它是完全本地的GWT / Java实现。这使得扩展功能变得更容易。当然,这个选择取决于你。


Am I taking crazy pills, or are these two things pretty much identical?

解决方案

Having spent significant time with both frameworks at this point I would say that they are not "pretty much identical". While they may both use the same graphical assets, the way that they go about getting there is very different and depending on your needs/development style you may find one preferable to the other.

GWT-EXT encapsulates Ext-JS by wrapping the Ext-JS framework which can lead to frustration when attempting to extend functionality because you don't have access to the implementation at a low enough level. However, if you understand Ext-JS and feel like editing the javascript, that's still an option.

EXT-GWT is not a javascript wrapper. As mentioned before, it uses the Ext-JS graphical assets and some of the API's are similar but it is a completely native GWT/Java implementation. This makes extending the functionality a lot easier. Of course, the choice is up to you.

这篇关于gwt-ext和ext-gwt之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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