编写使用Adobe空气/ Java的web应用程序,而不是平台specfic语言的优势/劣势? [英] Advantages/disadvantages of writing a web app using Adobe Air/Java as opposed to platform specfic languages?

查看:182
本文介绍了编写使用Adobe空气/ Java的web应用程序,而不是平台specfic语言的优势/劣势?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要编写一个Web应用程序(也可以离线工作),为Windows和Mac(和Linux,以及也许)。

I need to write a web app (that also works offline) for windows and mac (and linux as well perhaps).

我想知道如果我应该使用类似的空气/闪光灯/ Java进行此,其优点是,我将只需要编写应用程序一次。

I was wondering if I should use something like air/flash/java for this, the advantage being I will only need to write the app once.

不过,我想知道是否有这样做的方式,而不是用C#编写它专门窗口,然后任何缺点客观-C /可可/任何的Mac。将应用程序的功能是有限的,如果我这样做在空气/ Java的?是否有任何优势来写它在特定于平台的语言?

However, I was wondering if there are any disadvantages of doing it that way as opposed to writing it in c# for windows specifically and then objective-C/cocoa/whatever for mac. Will the functionality of the app be limited if i do it in Air/Java? Are there any advantages to writing it in the language specific to the platform?

如果可能的话会很高兴地知道什么优势/这两种方法的缺点是,因为这将帮助我(和希望其他人)来的最佳途径决定根据那些需要创建这样一个应用程序。

If possible it would be nice to know what the advantages/disadvantages of both methods are as it would help me (and hopefully others) come to a decision on the best way to create such an app according to ones needs.

任何帮助将是非常美联社preciated!谢谢你。

Any help would be much appreciated! Thanks.

推荐答案

要认识到的第一件事是,编写外观和行为原生每个目标平台上的跨平台的应用程序是一个很难的事情。

The first thing to realise is that writing cross platform applications that look and behave native on each target platform is a hard thing to do.

使用跨平台工具包(AIR / JAVA):

Using a cross platform kit (AIR/java):

  • 少的工作,理论上应该会更快建立
  • 在共同的语言和工具集,只有一件事学习
  • 添加新支持的平台应该很容易(ISH),建设安装,调试提供任何本地平台整合等
  • 在这里只对执行的最小公分母功能的倾向。这方面的一个例子是在Java文件API。它仅支持文件的基本概念,其中包括Windows,OSX和Linux都此外
  • 在可能仍然需要特定平台的整合code(也许本机),以获得积分的一个可接受的水平。

使用本地工具包:

  • 很多东西需要学习,MFC的Windows(或.Net的WinForms)和Cococa之间移动将是相当JARING
  • 你不仅有不同的语言,你也将有不同的工具
  • 在没有任何限制或假天花什么可以使用本地工具来实现,您可以访问所有
  • 使您的应用程序看起来像它所属的平台(重要的Mac电脑)上为pretty的太多开箱

个人建议:去的语言工具包,你知道最好的,这取决于有多厚的程序是(你提到的这部分在线)你可以,一旦你有一个成功的应用程序重写它以另一种语言后

Personal recommendation: go with the language tool kit you know the best, depending on how thick your app is (you mentioned it's part online) you may be able to rewrite it in another language latter once you have a successful application.

这篇关于编写使用Adobe空气/ Java的web应用程序,而不是平台specfic语言的优势/劣势?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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