使用ExtJS的富Internet应用程序:我应该选择哪个方向? [英] Rich Internet Applications with ExtJS: Which direction should I choose?

查看:66
本文介绍了使用ExtJS的富Internet应用程序:我应该选择哪个方向?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一些帮助来为我的RIA选择正确的方法。我确实想使用一个javascript小部件库 - 可能是ExtJS。我不确定是否应该尝试通过 ExtGWT 或其他解决方案来绕过Javascript编程例如 Rialto Python 。您对Web应用程序框架的经验是什么,不需要您使用Javascript编程?例如,如果前往GWT,放弃像jQuery这样的技术是不是很大的缺点?

I need some help in choosing the right way for my RIA. I do want to use a javascript widget library - possibly ExtJS. I'm not sure however if I should try to get around programming in Javascript through ExtGWT or other solutions like Rialto Python. What are your experiences with web application frameworks that do not require you to program in Javascript? For instance, is it a big disadvantage to abandon technologies like jQuery if heading for GWT?

推荐答案

你不会失去一吨ext-gwt中的功能,但它也不是ext的完美导入。

You don't lose a ton of functionality in ext-gwt, but it's not a flawless import of ext either.

对我来说决定编译JavaScript的影响最大的是:

The things that most influence deciding about "compiling" JavaScript for me are:


  • 你对ext库和Java库之间添加的层有多高兴?当然,GWT需要粘合剂来将JavaScript代码连接到它的Java代码。他们需要配置库,有时这很烦人。

  • 我发现你通常会对本机库有更好的帮助。一个大本尼。 jQuery的问题很快被打倒了。我没有看到很多GWT问题全面出现。 (也许它只是起作用!现在我听起来像Apple商业广告)

  • 我喜欢在JavaScript中工作多少。我喜欢JavaScript代码。我发现当我在Java中使用严格的类型时,我会发现它有点烦人。

  • 如何调试/修改JavaScript会让我失望?您更喜欢短期工作代码/测试周期吗? GWT风格的方法很漂亮,如果它编译,它通常会按照你的想法做到。 (成本是你失去了即时性,但大多数开发人员习惯了这种情况)

  • How happy will you be with added layers between the ext library and the Java library? Naturally, GWT needs glue to connect your JavaScript code to it's Java code. They library needs to be configured, and sometimes that's annoying.
  • I find you generally get better help with the native libraries in general. A big bennie. The jQuery questions are knocked down pretty dang quick. I don't see many GWT questions come across the board. (maybe it just works! Now I sound like an Apple commercial)
  • How much do I like to work in JavaScript. I love JavaScript code. I find it slightly annoying when I have to meddle with strict types in Java when I could be flying along in JavaScript.
  • How will debugging/tinkering in JavaScript slow me down? Do you prefer a short work code/test cycle? The GWT style approach is beautiful in that if it compiles, it generally does what you think it will. (the cost is you lose immediacy, but most developers are used to that situation)

哦,顺便说一下, GWTQuery 如果您愿意,但同样,一些强大的功能在jQuery的插件中,你会必须写胶水。

Oh, btw, GWTQuery if you prefer that, but again, some of the power is in the plugins for jQuery, which, you'll have to write the glue for.

这篇关于使用ExtJS的富Internet应用程序:我应该选择哪个方向?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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