简体   繁体   English

gwt-ext和ext-gwt之间的区别

[英]Difference between gwt-ext and ext-gwt

我服用疯狂的药片,还是这两件事几乎相同?

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. GWT-EXT通过包装Ext-JS框架来封装Ext-JS,这可能会在尝试扩展功能时导致失败,因为您无法以足够低的级别访问实现。 However, if you understand Ext-JS and feel like editing the javascript, that's still an option. 但是,如果您了解Ext-JS并且想要编辑javascript,那仍然是一个选项。

EXT-GWT is not a javascript wrapper. EXT-GWT不是一个javascript包装器。 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. 如前所述,它使用Ext-JS图形资源,其中一些API类似,但它是一个完全原生的GWT / Java实现。 This makes extending the functionality a lot easier. 这使得扩展功能变得更加容易。 Of course, the choice is up to you. 当然,选择取决于你。

http://roberthanson.blogspot.com/2008/04/gwt-ext-vs-ext-gwt.html http://roberthanson.blogspot.com/2008/04/gwt-ext-vs-ext-gwt.html

that should answer your question. 那应该回答你的问题。

Quote: 引用:

"For us GWT developers there is a project that wraps the Ext-JS library for GWT, namely GWT-EXT (GWT before Ext). The initial release was in July of 2007, and since then it encapsulates most of the functionality of Ext-JS. “对于我们GWT开发人员来说,有一个项目包含了GWT的Ext-JS库,即GWT-EXT(Ext之前的GWT)。最初版本是在2007年7月,从那时起它封装了Ext的大部分功能。 JS。

Now just yesterday something happened that could undermine this project. 就在昨天发生的事情可能会破坏这个项目。 The same team that developed Ext-JS has now released an initial beta of Ext-GWT (Ext before GWT)." 开发Ext-JS的团队现在已经发布了Ext-GWT的初始测试版(在GWT之前的Ext)。“

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM