北漂IT民工 的博客

”HTML5是RIA杀手”的说法正确吗?

[

发现中国特色的转载与一群垃圾编辑是传播这个错误认识的始作佣者,

缺少基本的分辨能力,将错就错,是中国IT编辑们的特色。

]


每个新事物的产生都是有其背景的。

在IT领域,很多词汇来自于英语,这就造成了一定的语言理解障碍,

导致很多人根据自己的理解将某些词的范围扩大或者缩小。

结果有时会让自己难圆其说。

比如

http://www.oschina.net/bbs/thread/1614

指出HTML5与RIA是平台与插件的关系,结果发现他所承认的RIA里的Ajax不是插件。


那我们来明确一样,到底什么是RIA。

RIA 是Rich Internet Application的缩写,意思是富互联网应用,从这个意思理解,只要不是简单的互联网应用都是富互联网应用。

他不是特定的一种技术或者方案,也没有限定了只有Adobe的Flash, M$的Silverlight或者ORACLE的JavaFX才是RIA.

只要不是最原始的FORM表单加上GET请求的基本都可以称为是富互联网应用。差异只在于富的程度。


根据文章观点,既然Ajax是一种RIA,那HTML5为什么不是RIA呢?

HTML5里即有HTML的方面,也有JAVASCRIPT的部分,同时有很多为RIA准备的新的特性。

这里显然又是矛盾的。


如果说HTML5是RIA杀手,那就是说HTML5出来后富互联网的应用会越来越少,如果这样HTML5有出来的必要吗?


下面是维基百科里RIA词条的部分原文:


Rich Internet Applications (RIAs) are web applications that have many of the characteristics of desktop applications, typically delivered either by way of a site-specific browser, via a browser plug-in, or independently via sandboxes or virtual machines.[1] Adobe Flash, Java and Microsoft Silverlight are currently the three top frameworks, with penetration rates around 95%, 80% and 45% respectively.[2]. Apple has consistently not allowed the use of the top three RIAs in its iPhone, iPod or iPad devices and has instead delivered the applications through its own software and is now promoting HTML5, while developing a standards based Gianduia framework.

Users generally need to install a software framework using the computer’s operating system before launching the application, which typically downloads, updates, verifies and executes the RIA.[3] This is the main differentiator from JavaScript-based alternatives like Ajax which use built-in browser functionality to implement comparable interfaces. While some consider such interfaces to be RIAs, some consider them competitors to RIAs and others, including Gartner, treat them as similar but separate technologies.[4][5]

RIAs dominate in online gaming as well as applications which require access to video capture (with the notable exception of Gmail, which uses its own task-specific browser plug-in[6]). As web standards such as HTML5 have developed and the compliance of web browsers with those standards has improved, the need for plug-in based RIAs has diminished[citation needed]. The emergence of a range of JavaScript-based desktop-like widget sets have continued this trend.[citation needed]


从最后一句话,我们可以看出来,HTML5的出现应该是导致基于插件的RIA消失,而不是RIA本身消失。


如果你用Google搜索HTML5 VS 你会发现下面是flash, silverlight, xhtml,但是你找不到

HTML5 VS RIA,为什么? 因为英语国家的人不会这样思考,因为他们不是对等的事物。


如果你强行搜索HTML5 VS RIA你会得到第一个页面的第一个结果,它的标题是:Flex vs. HTML5 for RIAS

什么意思呢?就是比较Flex与HTML5作为RIA那个更强?


同时你会看到这样的提问:Is there an HTML5 RIA toolkit already available?

http://stackoverflow.com/questions/1508473/is-there-an-html5-ria-toolkit-already-available

什么意思?就是问HTML5 RIA的功具包是不是可用了。


这样我想事情的答案就会非常的清楚了。


所以说,如果把HTML5与RIA进行比较,那么与把iPhone与手机进行有什么区别呢?