What's all this business about Flash, Flex, Adobe Air, Java FX and Silverlight? Why would I choose one over the other? and what happened to Java Applets and ActiveX controls?
关于Flash,Flex,Adobe Air,Java FX和Silverlight的所有这些业务是什么?为什么我会选择一个而不是另一个? Java Applet和ActiveX控件发生了什么?
Oh, and where does AJAX fit in to all this? and is Laszlo relevant?
哦,AJAX适合所有这些?和拉斯洛相关吗?
Afteredit (in response to some "d'uh" type answers): the question is a bit tongue-in-cheek. I know about the various RIA technologies. I am, however, interested in the * community's opinion about each - particularly why you would use one over the other
Afteredit(回应一些“呃”型答案):这个问题有点诙谐。我知道各种RIA技术。但是,我对*社区对每个人的看法感兴趣 - 特别是为什么你会使用其中一个
4 个解决方案
#1
Big topic and it would take pages to provide a full answer so here is the "short" version...
大话题,它需要页面提供完整的答案,所以这里是“短”版本...
-
Adobe Flex/AIR is by far the most mature RIA platform out there and it runs in FlashPlayer. You write apps using ActionScript (similar to Javascript) and MXML (markup used primarily for layout/view code). You can also deploy Flex applications easily to the desktop if the user has the AIR runtime installed.
Adobe Flex / AIR是迄今为止最成熟的RIA平台,它在FlashPlayer中运行。您使用ActionScript(类似于Javascript)和MXML(主要用于布局/视图代码的标记)编写应用程序。如果用户安装了AIR运行时,您还可以轻松地将Flex应用程序部署到桌面。
-
Silverlight is Microsoft's offering which is still quite a bit behind Flex but is rapidly gaining ground. The SL runtime is new and slowly gaining a larger install base. You can use C#, VB.NET or other languages supported by the .NET runtime. It runs on Windows and Mac but doesn't run on the desktop.
Silverlight是微软的产品,它仍远远落后于Flex,但正在迅速发展。 SL运行时是新的,并逐渐获得更大的安装基础。您可以使用C#,VB.NET或.NET运行时支持的其他语言。它在Windows和Mac上运行,但不在桌面上运行。
-
JavaFX is a platform, API and scripting language for building RIA on the Java platform. It's the newest entry and just recently had its 1.0 release. It can run in the browser or the desktop and can leverage any and all Java code. Given how much open source Java code exists this can be pretty compelling.
JavaFX是一种用于在Java平台上构建RIA的平台,API和脚本语言。这是最新的条目,最近才发布1.0版本。它可以在浏览器或桌面上运行,并可以利用任何和所有Java代码。鉴于存在多少开源Java代码,这可能非常引人注目。
AJAX / DHTML is primarily an alternative to these technologies, although since FP, SL and Java all have two-way Javascript APIs, you can write applications that use both and allow them to interoperate.
AJAX / DHTML主要是这些技术的替代品,尽管由于FP,SL和Java都具有双向Javascript API,因此您可以编写使用两者并允许它们进行互操作的应用程序。
#2
Flash/Flex, JavaFX, and Silverlight are tools for developing rich internet applications (RIA). You're probably very familiar with Flash applications, which are frequently full of animation and other effects. JavaFX and Silverlight let you develop similar applications. Laszlo fits into the same picture.
Flash / Flex,JavaFX和Silverlight是用于开发富Internet应用程序(RIA)的工具。您可能非常熟悉Flash应用程序,它们经常充满动画和其他效果。 JavaFX和Silverlight允许您开发类似的应用程序。 Laszlo符合相同的情况。
Silverlight is Microsoft's entry, and it is designed to work in the .NET stack. JavaFX is Sun's new offering, and it is designed to work with the Java Virtual Machine. To oversimplify Adobe AIR, it is an attempt to get RIA content to run seamlessly on the desktop (JavaFX provides this as well).
Silverlight是Microsoft的条目,它设计用于.NET堆栈。 JavaFX是Sun的新产品,它旨在与Java虚拟机配合使用。为了过度简化Adobe AIR,它试图让RIA内容在桌面上无缝运行(JavaFX也提供了这一点)。
Applets haven't gone away, they just suffered from a bad implementation of the JVM in web browsers. JavaFX is the new heir to applets.
小应用程序还没有消失,它们只是在Web浏览器中实现了JVM的糟糕实施。 JavaFX是applet的新继承者。
AJAX is very different; AJAX is a way to use a browser's existing capabilities, without plugins, to provide seemingly rich and interactive webpages. It uses JavaScript and XML. While some AJAX applications are undeniably cool, it is not as easy or as natural to develop Flash-style RIAs.
AJAX非常不同; AJAX是一种使用浏览器现有功能而无需插件的方法,可以提供看似丰富的交互式网页。它使用JavaScript和XML。虽然一些AJAX应用程序无疑是很酷的,但开发Flash风格的RIA并不容易或自然。
#3
I know nothing about flex and air, but Flash, Java FX and Silverlight are all web technologies that essentially do the same thing vying for market share because none of these companies (Adobe, Sun, and Microsoft, respectively) wants to give the other an edge and/or not control the major content delivery platform on the web. That's it in a nutshell. Market speak would probably include something like "rich internet applications" or something like that.
我对flex和air一无所知,但Flash,Java FX和Silverlight都是基本上做同样事情争夺市场份额的网络技术,因为这些公司(分别是Adobe,Sun和Microsoft)都没有想要给另一个边缘和/或不控制网络上的主要内容传送平台。简而言之就是这样。市场说话可能包括“富互联网应用程序”之类的东西。
ActiveX was, unless I am mistake, a huge festering security hole, that is largely abandoned even by Microsoft and Java applets never took off in the way sun wanted them to. I am not quite sure why, but I think they lacked the simplicity that attracted people to flash.
除非我犯了错误,否则ActiveX是一个巨大的恶化安全漏洞,即使是微软和Java小程序也从未像太阳那样希望它们起飞。我不太清楚为什么,但我认为他们缺乏吸引人们闪光的简单性。
Ajax has nothing to do with all this. Ajax is just a way to keep an entire page from refreshing by dividing it up into subsections that refresh independently. Again, this is me trying to explain this all as non-technically as possible.
Ajax与这一切无关。 Ajax只是一种通过将整个页面划分为独立刷新的子部分来保持整个页面不被刷新的方法。同样,这是我试图尽可能非技术性地解释这一切。
EDIT: It seems I approached this answer the wrong way. To get alittle more technical; Flash is the most mature of the bunch. Silverlight and JavaFX are essentially babies, and while both Microsoft and Sun are trying to woo developers from their existing base (.net and java), I don't know if anyone can say anything definitive about either technology. It is going to take alittle while to see what technologies take off.
编辑:我似乎错误地接近了这个答案。为了更加技术化; Flash是最成熟的一群。 Silverlight和JavaFX基本上都是婴儿,虽然微软和Sun都试图从他们现有的基础(.net和java)中吸引开发人员,但我不知道是否有人可以对这两种技术做出明确的决定。看看哪些技术起飞,需要花费一些时间。
#4
Sounds like you need to fire up Google and do a little research and reading. Start with "rich Internet application" or "RIA", or simply enter those terms and enjoy.
听起来你需要启动Google并进行一些研究和阅读。从“富Internet应用程序”或“RIA”开始,或者只需输入这些条款即可享受。
Consider the first three to be synonyms; JavaFX is the Sun offering; Silverlight is Microsoft's entry.
考虑前三个是同义词; JavaFX是Sun的产品; Silverlight是微软的入门级产品。
Nothing "happened" to applets or ActiveX controls, they're both still with us. They're a bit dated and fallen out of favor. Applets had their heyday when teapots first danced on the Web; ActiveX controls have some security issues.
小应用程序或ActiveX控件没有“发生”,它们仍然在我们身边。他们有点过时而且失宠了。当茶壶第一次在网上跳舞时,小应用程序已经鼎盛时期; ActiveX控件存在一些安全问题。
Laszlo appears to be the inspiration for Flex, according to this.
据此,Laszlo似乎是Flex的灵感来源。
#1
Big topic and it would take pages to provide a full answer so here is the "short" version...
大话题,它需要页面提供完整的答案,所以这里是“短”版本...
-
Adobe Flex/AIR is by far the most mature RIA platform out there and it runs in FlashPlayer. You write apps using ActionScript (similar to Javascript) and MXML (markup used primarily for layout/view code). You can also deploy Flex applications easily to the desktop if the user has the AIR runtime installed.
Adobe Flex / AIR是迄今为止最成熟的RIA平台,它在FlashPlayer中运行。您使用ActionScript(类似于Javascript)和MXML(主要用于布局/视图代码的标记)编写应用程序。如果用户安装了AIR运行时,您还可以轻松地将Flex应用程序部署到桌面。
-
Silverlight is Microsoft's offering which is still quite a bit behind Flex but is rapidly gaining ground. The SL runtime is new and slowly gaining a larger install base. You can use C#, VB.NET or other languages supported by the .NET runtime. It runs on Windows and Mac but doesn't run on the desktop.
Silverlight是微软的产品,它仍远远落后于Flex,但正在迅速发展。 SL运行时是新的,并逐渐获得更大的安装基础。您可以使用C#,VB.NET或.NET运行时支持的其他语言。它在Windows和Mac上运行,但不在桌面上运行。
-
JavaFX is a platform, API and scripting language for building RIA on the Java platform. It's the newest entry and just recently had its 1.0 release. It can run in the browser or the desktop and can leverage any and all Java code. Given how much open source Java code exists this can be pretty compelling.
JavaFX是一种用于在Java平台上构建RIA的平台,API和脚本语言。这是最新的条目,最近才发布1.0版本。它可以在浏览器或桌面上运行,并可以利用任何和所有Java代码。鉴于存在多少开源Java代码,这可能非常引人注目。
AJAX / DHTML is primarily an alternative to these technologies, although since FP, SL and Java all have two-way Javascript APIs, you can write applications that use both and allow them to interoperate.
AJAX / DHTML主要是这些技术的替代品,尽管由于FP,SL和Java都具有双向Javascript API,因此您可以编写使用两者并允许它们进行互操作的应用程序。
#2
Flash/Flex, JavaFX, and Silverlight are tools for developing rich internet applications (RIA). You're probably very familiar with Flash applications, which are frequently full of animation and other effects. JavaFX and Silverlight let you develop similar applications. Laszlo fits into the same picture.
Flash / Flex,JavaFX和Silverlight是用于开发富Internet应用程序(RIA)的工具。您可能非常熟悉Flash应用程序,它们经常充满动画和其他效果。 JavaFX和Silverlight允许您开发类似的应用程序。 Laszlo符合相同的情况。
Silverlight is Microsoft's entry, and it is designed to work in the .NET stack. JavaFX is Sun's new offering, and it is designed to work with the Java Virtual Machine. To oversimplify Adobe AIR, it is an attempt to get RIA content to run seamlessly on the desktop (JavaFX provides this as well).
Silverlight是Microsoft的条目,它设计用于.NET堆栈。 JavaFX是Sun的新产品,它旨在与Java虚拟机配合使用。为了过度简化Adobe AIR,它试图让RIA内容在桌面上无缝运行(JavaFX也提供了这一点)。
Applets haven't gone away, they just suffered from a bad implementation of the JVM in web browsers. JavaFX is the new heir to applets.
小应用程序还没有消失,它们只是在Web浏览器中实现了JVM的糟糕实施。 JavaFX是applet的新继承者。
AJAX is very different; AJAX is a way to use a browser's existing capabilities, without plugins, to provide seemingly rich and interactive webpages. It uses JavaScript and XML. While some AJAX applications are undeniably cool, it is not as easy or as natural to develop Flash-style RIAs.
AJAX非常不同; AJAX是一种使用浏览器现有功能而无需插件的方法,可以提供看似丰富的交互式网页。它使用JavaScript和XML。虽然一些AJAX应用程序无疑是很酷的,但开发Flash风格的RIA并不容易或自然。
#3
I know nothing about flex and air, but Flash, Java FX and Silverlight are all web technologies that essentially do the same thing vying for market share because none of these companies (Adobe, Sun, and Microsoft, respectively) wants to give the other an edge and/or not control the major content delivery platform on the web. That's it in a nutshell. Market speak would probably include something like "rich internet applications" or something like that.
我对flex和air一无所知,但Flash,Java FX和Silverlight都是基本上做同样事情争夺市场份额的网络技术,因为这些公司(分别是Adobe,Sun和Microsoft)都没有想要给另一个边缘和/或不控制网络上的主要内容传送平台。简而言之就是这样。市场说话可能包括“富互联网应用程序”之类的东西。
ActiveX was, unless I am mistake, a huge festering security hole, that is largely abandoned even by Microsoft and Java applets never took off in the way sun wanted them to. I am not quite sure why, but I think they lacked the simplicity that attracted people to flash.
除非我犯了错误,否则ActiveX是一个巨大的恶化安全漏洞,即使是微软和Java小程序也从未像太阳那样希望它们起飞。我不太清楚为什么,但我认为他们缺乏吸引人们闪光的简单性。
Ajax has nothing to do with all this. Ajax is just a way to keep an entire page from refreshing by dividing it up into subsections that refresh independently. Again, this is me trying to explain this all as non-technically as possible.
Ajax与这一切无关。 Ajax只是一种通过将整个页面划分为独立刷新的子部分来保持整个页面不被刷新的方法。同样,这是我试图尽可能非技术性地解释这一切。
EDIT: It seems I approached this answer the wrong way. To get alittle more technical; Flash is the most mature of the bunch. Silverlight and JavaFX are essentially babies, and while both Microsoft and Sun are trying to woo developers from their existing base (.net and java), I don't know if anyone can say anything definitive about either technology. It is going to take alittle while to see what technologies take off.
编辑:我似乎错误地接近了这个答案。为了更加技术化; Flash是最成熟的一群。 Silverlight和JavaFX基本上都是婴儿,虽然微软和Sun都试图从他们现有的基础(.net和java)中吸引开发人员,但我不知道是否有人可以对这两种技术做出明确的决定。看看哪些技术起飞,需要花费一些时间。
#4
Sounds like you need to fire up Google and do a little research and reading. Start with "rich Internet application" or "RIA", or simply enter those terms and enjoy.
听起来你需要启动Google并进行一些研究和阅读。从“富Internet应用程序”或“RIA”开始,或者只需输入这些条款即可享受。
Consider the first three to be synonyms; JavaFX is the Sun offering; Silverlight is Microsoft's entry.
考虑前三个是同义词; JavaFX是Sun的产品; Silverlight是微软的入门级产品。
Nothing "happened" to applets or ActiveX controls, they're both still with us. They're a bit dated and fallen out of favor. Applets had their heyday when teapots first danced on the Web; ActiveX controls have some security issues.
小应用程序或ActiveX控件没有“发生”,它们仍然在我们身边。他们有点过时而且失宠了。当茶壶第一次在网上跳舞时,小应用程序已经鼎盛时期; ActiveX控件存在一些安全问题。
Laszlo appears to be the inspiration for Flex, according to this.
据此,Laszlo似乎是Flex的灵感来源。