gwt 是慢还是正常?

发布于 2024-07-12 04:45:07 字数 133 浏览 9 评论 0原文

我想问一下gwt-ext应用程序的速度 有没有人尝试过 Gwt-ext 应用程序并知道它是慢还是正常?

我可以使用 gwt-ext 处理图像吗?例如我想将图像设为黑白?

谢谢你

萨布纳吉姆

i want to ask about the speed of gwt-ext applications
Are there any one tried Gwt-ext application and know that Is it slow or normal ?

can i handle images with gwt-ext as example i want to make the image black and white ?

thank you

saebnajim

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

情愿 2024-07-19 04:45:07

编译后的应用程序本身运行速度并不慢,但 GWT 编译器比一只被脑白质切除的冷冻蜗牛还慢。

The compiled apps themselves do not run slow, but the GWT compiler is slower than a frozen snail with a lobotomy.

音栖息无 2024-07-19 04:45:07

首先,记住一些区别很重要。

GWT-Ext 并不代表 GWT 技术,因为它只是传统 JavaScript 库的包装器(类似于它的分支 YUI)。

GXT 是同一家公司尝试使用 GWT 按照其预期方式复制 GWT-Ext; 不包装手工编码的 JavaScript,而是让 GWT 完成大部分工作。 不幸的是,恕我直言,他们很糟糕,并产生了大量垃圾。 它非常笨重且缓慢。

普通 GWT 应用程序没有理由不能像 GWT-Ext 一样快或更快。 我将省略许可讨论,因为它与问题无关,但这是另一件事需要考虑。

至于您关于图像处理的附加问题...如果可能的话,我认为您可以做到这一点的唯一方法是使用 Canvas 元素。 GWT 有一个即将推出的小部件库(“孵化器”),其中有一个可用的 Canvas 小部件。

GWT Canvas 演示

First, it's important to remember some distinctions.

GWT-Ext is not representative of GWT's technology because it is simply a wrapper around a traditional JavaScript library (similar to YUI, which is where it branched from).

GXT is the same company's attempt at duplicating GWT-Ext using GWT the way it was intended; not wrapping hand-coded JavaScript, but letting GWT do most of the work. Unfornately, IMHO, they suck at it and have produced a load of garbage. It's very clunky and slow.

There's no reason plain GWT applications cannot be as fast or faster that GWT-Ext. I'll leave out the licensing discussion since it's not relevant to the question, but it's another thing to take into mind.

As for your add-on question regarding image manipulation... if that's possible, the only way I think you could do that is by using a Canvas element. GWT has a library of upcoming widgets (the 'incubator') which has a working Canvas widget.

GWT Canvas Demo

翻了热茶 2024-07-19 04:45:07

我在我的应用程序中使用 GWT-ext,并在一台速度较慢的计算机上的浏览器中对其进行了测试。 它真的很快而且动画也非常流畅。 纯 Java 替代品 GXT 对我来说运行得不太快,尽管我更愿意使用这个,因为它有更好的支持。

I am using GWT-ext for my application and tested it on a slow computer in its browser. It is really fast and the animations are very smooth. The pure Java alternative GXT doesn't run so fast for me, altough i rather used this one because of better support.

泪是无色的血 2024-07-19 04:45:07

GWT-Ext 比纯 GWT 应用程序明显慢。 尤其是在表单渲染方面。

GWT-Ext is significantly slower than pure GWT application. Especially in form rendering.

还在原地等你 2024-07-19 04:45:07

实际上 GWT 应用程序的开发者控制台看起来要慢得多。 但是一旦应用程序被编译& 部署在主服务器中,应用程序变得更加活跃并且响应速度非常快。因此,只有在部署后才决定应用程序的速度。 只需通过部署在 jboss/apache 服务器中并检查它的速度即可。 如果您需要提高应用程序的速度,请使用代码优化技术,这对增加响应时间更有帮助。

Actually Developer console of GWT App looks much slower. but once the app is compiled & deployed in main server the application becomes more active and responds very quickly.. so decide about the speed of the application only after deploying. Just check its speed by deploying in jboss/apache server and check it. If you need to improve speed of application use code optimization tech and which will be more helpful in increasing response time.

醉殇 2024-07-19 04:45:07
  1. 根据我的经验,不是非常复杂的应用程序运行得足够快。
  2. 我注意到的一件事是,如果您在面板中使用面板......则需要花费大量时间来加载。 也许您应该将 Ext Web 应用程序分成几个 html 页面,并在每个页面中包含一些 Ext GWT。
  3. 您应该考虑的其他事情不仅仅是构建 GWT 网页。 我喜欢只在需要时使用它
  1. In my experience, not very complicated apps run quickly enough.
  2. One thing I have noticed is that if you use Panels inside Panels inside Panels .... it takes a lot of time to load. Maby you should divide your Ext web app in several html pages and include a bit of Ext GWT in each of them.
  3. something else you should consider is not building only GWT web pages. I like to use it only when i need it
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文