体系结构问题:GWT或Vaadin创建桌面应用程序? [英] Architecture Question: GWT or Vaadin to create Desktop Application?

查看:124
本文介绍了体系结构问题:GWT或Vaadin创建桌面应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正计划创建 feedreader 作为 Windows桌面和iPad应用。由于我们希望能够在此应用程序中显示网站运行(我们自己的)JavaScript ,我们考虑将应用程序包装为HTML / CSS / JavaScript通过某些.NET控件或Cocoa Touch Web浏览器组件。因此,当前的任务是找出用于创建要嵌入到应用程序中的HTML / CSS / JS文件的框架。

We're planning on creating a feedreader as a windows desktop- and iPad application. As we want to be able to show Websites AND to run (our own) JavaScript in this application, we thought about delivering the application as HTML/CSS/JavaScript, just wrapped by some .NET control or a Cocoa Touch webbrowser component. So the task at hand is to find out which framework to use to create the HTML/CSS/JS files to embed in the application.

用于开发HTML / CSS / JavaScript我们很乐意使用Vaadin,GWT或其他框架,因为Java比JS更好。经过短暂的头脑风暴后,我们赞成Vaadin,因为UI组件非常好,但我担心大多数繁重的工作都将在服务器上,而不是在客户端上(这不会太好)。我们也希望使用GWT,但是Java到JS的编译需要很多时间和额外的步骤,并且在使用它时会减慢过去的开发时间。

For the development of the HTML/CSS/JavaScript we would be happy to use Vaadin, GWT, or some other framework, as we're a lot better with Java than with JS. We favor Vaadin after a short brainstorming, as the UI components are very nice, but I fear that most of the heavy lifting will be on the server and not in the client (and that wouldn't be too nice). We would also like GWT, but the Java-to-JS compiling takes a lot of time and an extra step, and slowed down development time in the past when using it.

问题是:您会选择哪种开发框架(假设您想实施此项目,并且到目前为止大多数情况下都使用Java)??如果有更好的框架选项(富客户端框架列表),请让我知道。

The question is: which development framework would you choose (given you wanted to implement this project and you mostly did Java so far) and why? If there are better framework options (List of Rich Client Frameworks), please let me know.

Edit:应用程序将需要不时与我们的服务器通信(例如,同步已读取的内容),但主要应该是获取XML提要本身。因此,我希望大多数生成的代码都可以嵌入到应用程序中,并且我们的服务器不需要繁琐的工作。

Edit2:我们(实际上,即使您对此表示怀疑)也希望至少有10000个用户。

推荐答案

根据我的经验对于Vaadin,我会这样做,但您的要求在某种程度上偏向于纯GWT。

Based on my experience with Vaadin, I'd go for that, but your requirements are somewhat favoring pure-GWT instead.


  • Vaadin需要服务器和服务器连接。如果构建主要是脱机的桌面应用程序,则可以使用嵌入式Jetty来解决。 (仅在需要时与在线服务同步),但对于iPad,您需要立即在线连接以启动Vaadin应用程序。

  • GWT完全在客户端运行,您可以

由于Vaadin的开发速度更快,因此您可以先构建一个小的Vaadin版本看看这在iPad上是否真的有问题。

Because Vaadin is much quicker to develop, you could build a small Vaadin version first and see if that is actually problem on the iPad.

另一方面,如果您可以立即上线,则可以完全跳过本地服务器的安装。只需在线运行应用程序并使用操作系统默认的浏览器控件(即您建议的.NET控件)来实现桌面版本。这样Vaadin就容易了。

On the other hand, if you can assume going online right away, you can skip the local server installation altogether. Just run the application online and implement the desktop version using operating systems default browser control (i.e. the .NET control you suggested). Then Vaadin is easier.

这篇关于体系结构问题:GWT或Vaadin创建桌面应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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