邪恶八进制信息安全团队技术讨论组's Archiver

crey 2006-3-12 22:39

[转载]Web 2.0 简介

<P>信息来源:zh.wikipedia.org</P>
<P><B>Web 2.0</B>是一个新生的术语,它的应用可以让人了解目前<A title=万维网 href="http://zh.wikipedia.org/wiki/%E4%B8%87%E7%BB%B4%E7%BD%91">万维网</A>正在进行的一种改变——从一系列<A title=网站 href="http://zh.wikipedia.org/wiki/%E7%BD%91%E7%AB%99">网站</A>到一个成熟的为<A class=new title=最终用户 href="http://zh.wikipedia.org/w/index.php?title=%E6%9C%80%E7%BB%88%E7%94%A8%E6%88%B7&action=edit">最终用户</A>提供网络应用的服务平台。这种概念的支持者期望Web 2.0服务将在很多用途上最终取代<A class=new title=桌面计算机 href="http://zh.wikipedia.org/w/index.php?title=%E6%A1%8C%E9%9D%A2%E8%AE%A1%E7%AE%97%E6%9C%BA&action=edit">桌面计算机</A>应用。</P>
<TABLE class=toc id=toc summary=目录>
<TBODY>
<TR>
<TD>
<DIV id=toctitle>
<H2>目录</H2></DIV>
<UL>
<LI class=toclevel-1><A href="http://zh.wikipedia.org/wiki/Web_2.0#.E6.A6.82.E8.A7.88"><SPAN class=tocnumber>1</SPAN> <SPAN class=toctext>概览</SPAN></A>
<UL>
<LI class=toclevel-2><A href="http://zh.wikipedia.org/wiki/Web_2.0#.E8.AF.A5.E8.AF.8D.E7.9A.84.E6.9D.A5.E6.BA.90"><SPAN class=tocnumber>1.1</SPAN> <SPAN class=toctext>该词的来源</SPAN></A>
<LI class=toclevel-2><A href="http://zh.wikipedia.org/wiki/Web_2.0#.E5.90.8C.E8.AF.AD.E4.B9.89.E7.BD.91.E7.9A.84.E6.AF.94.E8.BE.83"><SPAN class=tocnumber>1.2</SPAN> <SPAN class=toctext>同语义网的比较</SPAN></A> </LI></UL>
<LI class=toclevel-1><A href="http://zh.wikipedia.org/wiki/Web_2.0#.E6.8A.80.E6.9C.AF"><SPAN class=tocnumber>2</SPAN> <SPAN class=toctext>技术</SPAN></A>
<UL>
<LI class=toclevel-2><A href="http://zh.wikipedia.org/wiki/Web_2.0#.E5.86.85.E5.AE.B9.E8.81.94.E5.90.88.E7.BB.84.E7.BB.87"><SPAN class=tocnumber>2.1</SPAN> <SPAN class=toctext>内容联合组织</SPAN></A>
<LI class=toclevel-2><A href="http://zh.wikipedia.org/wiki/Web_2.0#Web.E6.9C.8D.E5.8A.A1"><SPAN class=tocnumber>2.2</SPAN> <SPAN class=toctext>Web服务</SPAN></A>
<LI class=toclevel-2><A href="http://zh.wikipedia.org/wiki/Web_2.0#.E6.9C.8D.E5.8A.A1.E5.99.A8.E8.BD.AF.E4.BB.B6"><SPAN class=tocnumber>2.3</SPAN> <SPAN class=toctext>服务器软件</SPAN></A> </LI></UL>
<LI class=toclevel-1><A href="http://zh.wikipedia.org/wiki/Web_2.0#.E7.A4.BE.E4.BC.9A.E5.BD.B1.E5.93.8D"><SPAN class=tocnumber>3</SPAN> <SPAN class=toctext>社会影响</SPAN></A>
<LI class=toclevel-1><A href="http://zh.wikipedia.org/wiki/Web_2.0#.E5.95.86.E4.B8.9A.E5.BD.B1.E5.93.8D"><SPAN class=tocnumber>4</SPAN> <SPAN class=toctext>商业影响</SPAN></A>
<LI class=toclevel-1><A href="http://zh.wikipedia.org/wiki/Web_2.0#.E5.A4.96.E9.83.A8.E9.93.BE.E6.8E.A5"><SPAN class=tocnumber>5</SPAN> <SPAN class=toctext>外部链接</SPAN></A>
<UL>
<LI class=toclevel-2><A href="http://zh.wikipedia.org/wiki/Web_2.0#.E4.BE.8B.E5.AD.90"><SPAN class=tocnumber>5.1</SPAN> <SPAN class=toctext>例子</SPAN></A> </LI></UL></LI></UL></TD></TR></TBODY></TABLE>
<P>
<SCRIPT type=text/java script>
//<![CDATA[
if (window.showTocToggle) { var tocShowText = "显示"; var tocHideText = "隐藏"; showTocToggle(); }
//]]>
</SCRIPT>
</P>
<P><A name=.E6.A6.82.E8.A7.88></A></P>
<H2>概览</H2>
<P>Web(在这里,指代“Web 1.0”)最早的概念包括不常更新(甚至不更新)的静态<A title=HTML href="http://zh.wikipedia.org/wiki/HTML">HTML</A>页面。而<A class=new title=.com href="http://zh.wikipedia.org/w/index.php?title=.com&action=edit">.com</A>时代的成功则是依靠一个更加动态的Web(指代“Web 1.5”),其中<A title=CMS href="http://zh.wikipedia.org/wiki/CMS">CMS</A>(内容管理系统)可以从不断变化的<A class=new title=内容 href="http://zh.wikipedia.org/w/index.php?title=%E5%86%85%E5%AE%B9&action=edit">内容</A><A title=数据库 href="http://zh.wikipedia.org/wiki/%E6%95%B0%E6%8D%AE%E5%BA%93">数据库</A>中即时生成动态<A title=HTML href="http://zh.wikipedia.org/wiki/HTML">HTML</A>页面。从这两种意义上来说,所谓的眼球效应则被认为是固有的Web感受,也因此页面点击率和外观成为了重要因素。</P>
<P>Web 2.0的支持者认为Web的使用正日渐以交互性和未来的<A title=社会性网络 href="http://zh.wikipedia.org/wiki/%E7%A4%BE%E4%BC%9A%E6%80%A7%E7%BD%91%E7%BB%9C">社会性网络</A>为导向,所提供的服务内容,通过或不通过创建一个可视的、交互的网页来充分挖掘<A class=new title=网络效应 href="http://zh.wikipedia.org/w/index.php?title=%E7%BD%91%E7%BB%9C%E6%95%88%E5%BA%94&action=edit">网络效应</A>。某种观点认为,和传统网站相比,Web 2.0的网站更多表现为<A class=extiw title=en:Point_of_presence href="http://en.wikipedia.org/wiki/Point_of_presence">Point of presence</A>或者是依赖用户的<A title=门户网站 href="http://zh.wikipedia.org/wiki/%E9%97%A8%E6%88%B7%E7%BD%91%E7%AB%99">门户网站</A>。</P>
<P><A name=.E8.AF.A5.E8.AF.8D.E7.9A.84.E6.9D.A5.E6.BA.90></A></P>
<H3>该词的来源</H3>
<P>这个术语是由<A class=extiw title="en:O'Reilly_Media" href="http://en.wikipedia.org/wiki/O%27Reilly_Media">O'Reilly Media</A>的Dale Dougherty 和 MediaLive 的 Craig Cline 在共同合作的脑力激荡(brain storming)会议上,提出来的。Dougherty提出了Web目前正处于<A title=复兴 href="http://zh.wikipedia.org/wiki/%E5%A4%8D%E5%85%B4">复兴</A>时期,有着不断改变的规则和不断演化的<A class=new title=商业模式 href="http://zh.wikipedia.org/w/index.php?title=%E5%95%86%E4%B8%9A%E6%A8%A1%E5%BC%8F&action=edit">商业模式</A>。而Dougherty则是举例说明——“<A class=new title=DoubleClick href="http://zh.wikipedia.org/w/index.php?title=DoubleClick&action=edit">DoubleClick</A>是Web 1.0,Google AdSense 则是Web 2.0。 <A class=extiw title=en:Ofoto href="http://en.wikipedia.org/wiki/Ofoto">Ofoto</A>是Web 1.0;<A title=Flickr href="http://zh.wikipedia.org/wiki/Flickr">Flickr</A> 则是Web 2.0”,而不是给出确切的定义,和补充一个商业前景,同时O'Reilly Media、Battelle和MediaLive 在2004年10月启动了第一个Web 2.0大会。第二次的年会已在2005年10月举办。</P>
<P>在他们的会议开场白上,O'Reilly和Battelle总结了他们认为的表现了Web 2.0应用特色的一些关键原则:</P>
<UL>
<LI>将Web作为平台;
<LI>将数据变成“Intel Inside”;
<LI><A class=new title=分享和参与的架构 href="http://zh.wikipedia.org/w/index.php?title=%E5%88%86%E4%BA%AB%E5%92%8C%E5%8F%82%E4%B8%8E%E7%9A%84%E6%9E%B6%E6%9E%84&action=edit">分享和参与的架构</A> 驱动的网络效应;
<LI>通过带动分散的、独立的开发者把各个系统和网站组合形成大汇集的改革;
<LI>通过内容和服务的联合使轻量的业务模型可行;
<LI>软件采购循环的终结(“永久的Beta版”)
<LI>软件凌驾于单一设备的层次之上;
<LI>拉动<A title=长尾 href="http://zh.wikipedia.org/wiki/%E9%95%BF%E5%B0%BE">长尾</A>的能力; </LI></UL>
<P>这种软件发布中的<A class=new title=版本号 href="http://zh.wikipedia.org/w/index.php?title=%E7%89%88%E6%9C%AC%E5%8F%B7&action=edit">版本号</A>的使用从某一方面也暗示了整个Web已经被看作是一种有着重大增值意义的新产品,而且正在被重新编写和发布。</P>
<P><A name=.E5.90.8C.E8.AF.AD.E4.B9.89.E7.BD.91.E7.9A.84.E6.AF.94.E8.BE.83></A></P>
<H3>同语义网的比较</H3>
<P>Web 2.0这个词的一个较早的出现是作为<A title=语义网 href="http://zh.wikipedia.org/wiki/%E8%AF%AD%E4%B9%89%E7%BD%91">语义网</A>的同义词。这两个概念有点相似而且是互补的。结合了基于标签的<A title=分众分类法 href="http://zh.wikipedia.org/wiki/%E5%88%86%E4%BC%97%E5%88%86%E7%B1%BB%E6%B3%95">Folksonomy(分众分类法)</A>的<A title=社会性网络 href="http://zh.wikipedia.org/wiki/%E7%A4%BE%E4%BC%9A%E6%80%A7%E7%BD%91%E7%BB%9C">社会性网络</A>系统如<A class=extiw title=en:FOAF href="http://en.wikipedia.org/wiki/FOAF">FOAF</A>和<A class=extiw title=en:XFN href="http://en.wikipedia.org/wiki/XFN">XFN</A>,以及通过<A title=Blog href="http://zh.wikipedia.org/wiki/Blog">Blog</A>和<A title=Wiki href="http://zh.wikipedia.org/wiki/Wiki">Wiki</A>进行发表,已经创建了一个语义环境的天然基础。</P>
<P><A name=.E6.8A.80.E6.9C.AF></A></P>
<H2>技术</H2>
<P>Web 2.0技术基础比较复杂而且还在演化中,但可以肯定的是包括服务器端软件、内容联合组织、消息协议、基于标准的浏览器和各种不同的客户端应用程序。(一般会避免使用非标准浏览器的一些增强功能和插件)这些不同但是互补的方法提供了Web2.0信息存储、创建和分发的能力,这些能力远远超出了先前人们对网站的期望。</P>
<P>如果一个网站使用了以下一些技术作为特色的话,就说他是利用了Web 2.0技术:</P>
<P>技术方面:</P>
<UL>
<LI><A title=CSS href="http://zh.wikipedia.org/wiki/CSS">CSS</A>, 语义化有效的<A title=XHTML href="http://zh.wikipedia.org/wiki/XHTML">XHTML</A>标记,和<A class=extiw title=en:Microformats href="http://en.wikipedia.org/wiki/Microformats">Microformats</A>
<LI>不突出的丰富应用技术(例如<A class=new title=Ajax href="http://zh.wikipedia.org/w/index.php?title=Ajax&action=edit">Ajax</A>)
<LI>数据的联合,RSS/ATOM
<LI>RSS/ATOM数据的聚合
<LI>规则且有意义的<A title=URL href="http://zh.wikipedia.org/wiki/URL">URL</A>
<LI>支持对网志发帖子
<LI><A class=new title=REST href="http://zh.wikipedia.org/w/index.php?title=REST&action=edit">REST</A> 或者是XML Web服务API
<LI>某些社会性网络方面 </LI></UL>
<P>通用概念:</P>
<UL>
<LI>网站不能是封闭的——它必须可以很方便地被其他系统获取或写入数据。
<LI>用户应该在网站上拥有他们自己的数据。
<LI>完全地基于Web —— 大多数成功的Web 2.0网站可以几乎完全通过浏览器来使用 </LI></UL>
<P><A name=.E5.86.85.E5.AE.B9.E8.81.94.E5.90.88.E7.BB.84.E7.BB.87></A></P>
<H3>内容联合组织</H3>
<P>Web 2.0的首要的也是最重要的发展,包括了使用标准化协议的网站内容的联合,这可以让最终用户在其他环境中使用网站的数据,包括另一个网站、浏览器插件、或者一个单独的桌面应用程序。这些联合协议包括<A title=RSS href="http://zh.wikipedia.org/wiki/RSS">RSS</A>,<A class=new title=资源描述框架 href="http://zh.wikipedia.org/w/index.php?title=%E8%B5%84%E6%BA%90%E6%8F%8F%E8%BF%B0%E6%A1%86%E6%9E%B6&action=edit">资源描述框架</A>(RDF),和<A title=Atom href="http://zh.wikipedia.org/wiki/Atom">Atom</A>,这些都是基于<A title=XML href="http://zh.wikipedia.org/wiki/XML">XML</A>的。特别的协议如<A class=extiw title=en:FOAF href="http://en.wikipedia.org/wiki/FOAF">FOAF</A>和<A class=extiw title=en:XFN href="http://en.wikipedia.org/wiki/XFN">XFN</A>(XHTML朋友网络)——这两者都是为了<A title=社会性网络 href="http://zh.wikipedia.org/wiki/%E7%A4%BE%E4%BC%9A%E6%80%A7%E7%BD%91%E7%BB%9C">社会性网络</A>开发的——扩展了网站的功能或者可让最终用户不集中于网站就可以进行交互。参见<A class="external text" title=http://microformats.org/ href="http://microformats.org/" rel=nofollow>microformats</A>,以查询更多的专门数据格式。</P>
<P>由于发展太快,很多这些协议都是<A class=extiw title=en:de_facto href="http://en.wikipedia.org/wiki/de_facto">事实上的标准</A>而不是正式的标准。</P>
<P><A id=Web.E6.9C.8D.E5.8A.A1 name=Web.E6.9C.8D.E5.8A.A1></A></P>
<H3>Web服务</H3>
<P>双向的消息协议是Web 2.0架构的关键元素之一。两个主要的类型是<A class=new title=RESTful href="http://zh.wikipedia.org/w/index.php?title=RESTful&action=edit">RESTful</A>和<A title=SOAP href="http://zh.wikipedia.org/wiki/SOAP">SOAP</A>方法。REST(Representational State Transfer)表示了一种Web服务 客户端传送所有的事务的状态。SOAP(Simple Object Access Protocal)和类似的轻量方法都依赖服务器来保存状态信息。两种情况下,服务是通过一个<A title=API href="http://zh.wikipedia.org/wiki/API">API</A>调用的。这个API常常是根据网站的特殊需求定义的,但是标准的Web服务API(例如,给<A title=Blog href="http://zh.wikipedia.org/wiki/Blog">Blog</A>发帖)的API依然被广泛使用。一般来说Web服务的通用语言是<A title=XML href="http://zh.wikipedia.org/wiki/XML">XML</A>,但并不一定,还存在大量不同的其他语言,如<A class=new title=JSON href="http://zh.wikipedia.org/w/index.php?title=JSON&action=edit">JSON</A>,<A class=new title=YAML href="http://zh.wikipedia.org/w/index.php?title=YAML&action=edit">YAML</A>等。</P>
<P>最近,出现了一个被称之为<A class=new title=Ajax href="http://zh.wikipedia.org/w/index.php?title=Ajax&action=edit">Ajax</A>的混合形式,用来增强基于浏览器的Web应用的用户体验。这可以用于一些特别的形式(如<A class="external text" title=http://maps.google.com/ href="http://maps.google.com/" rel=nofollow>Google Maps</A>、<A class="external text" title=http://www.urmap.com/ href="http://www.urmap.com/" rel=nofollow>UrMap</A>)或是一些开放的形式,可以直接利用Web服务API、数据联合,甚至是绘画。</P>
<P>宽泛得说,联合是一种Web服务的形式,但是Web服务形式的使用却不是很常见的。</P>
<P>参见 <A title=WSDL href="http://zh.wikipedia.org/wiki/WSDL">WSDL</A>(Web服务描述语言)和<A class=new title=Web服务规范表 href="http://zh.wikipedia.org/w/index.php?title=Web%E6%9C%8D%E5%8A%A1%E8%A7%84%E8%8C%83%E8%A1%A8&action=edit">Web服务规范表</A> .</P>
<P><A name=.E6.9C.8D.E5.8A.A1.E5.99.A8.E8.BD.AF.E4.BB.B6></A></P>
<H3>服务器软件</H3>
<P>Web 2.0 的功能是在已有的<A title=Web服务器 href="http://zh.wikipedia.org/wiki/Web%E6%9C%8D%E5%8A%A1%E5%99%A8">Web服务器</A>架构上建立的,但是更加强调后台软件。数据联合不仅仅是名称上和内容管理发布方法不同,而且Web服务要求更加强壮的<A title=数据库 href="http://zh.wikipedia.org/wiki/%E6%95%B0%E6%8D%AE%E5%BA%93">数据库</A>和<A title=工作流 href="http://zh.wikipedia.org/wiki/%E5%B7%A5%E4%BD%9C%E6%B5%81">工作流</A>的支持,并且变得与传统的企业内部网的<A class=new title=应用服务器 href="http://zh.wikipedia.org/w/index.php?title=%E5%BA%94%E7%94%A8%E6%9C%8D%E5%8A%A1%E5%99%A8&action=edit">应用服务器</A>功能更加相似。供应商不管是用一个<A class=new title=通用服务器 href="http://zh.wikipedia.org/w/index.php?title=%E9%80%9A%E7%94%A8%E6%9C%8D%E5%8A%A1%E5%99%A8&action=edit">通用服务器</A>方法,可以把所有需要的功能都集中到一个服务器平台上,或者是一个Web服务器<A title=插件 href="http://zh.wikipedia.org/wiki/%E6%8F%92%E4%BB%B6">插件</A>的方法,可以使用增强了API接口的标准发布工具和其他工具。不管选择的是哪种途径,Web 2.0的进化不会为这些选择做出重大改变。</P>
<P><A name=.E7.A4.BE.E4.BC.9A.E5.BD.B1.E5.93.8D></A></P>
<H2>社会影响</H2>
<P>Web 2.0中出现的数据联合和消息传送能力,提出了潜在的一种可能性——在完全不同的在线社区之间创建一个更加紧密的社会构造。同时还出现了一些新的术语来集合性地代表这些共同的社团,包括<A class=new title=Blogshpere href="http://zh.wikipedia.org/w/index.php?title=Blogshpere&action=edit">blogshpere</A>:<A title=网志 href="http://zh.wikipedia.org/wiki/%E7%BD%91%E5%BF%97">网志</A>的世界,<A class=new title=Syndisphere href="http://zh.wikipedia.org/w/index.php?title=Syndisphere&action=edit">syndisphere</A>:内容<A class=new title=联合 href="http://zh.wikipedia.org/w/index.php?title=%E8%81%94%E5%90%88&action=edit">联合</A>发布,以及 wikisphere,然而其他的观察者认为这些措辞和内在的含义太空泛了。</P>
<P><A name=.E5.95.86.E4.B8.9A.E5.BD.B1.E5.93.8D></A></P>
<H2>商业影响</H2>
<P>可能的由WEB2.0带来的指数级增长的业务的原因,可归结为以人为本的消费和以计算机为本的消费的区别。</P>
<P>对于价值的鉴定和消费的过程中无需不同人为参与,由于Web2.0的出现,也是完全可能的事情了。各个组织会不断使用诸如RSS/Atom/RDF之类的联合格式来联合他们的价值提案。除了价值的联合外,Web服务终点发布将简化联合的价值的消费过程。</P>
<P><A name=.E5.A4.96.E9.83.A8.E9.93.BE.E6.8E.A5></A></P>
<H2>外部链接</H2>
<UL>
<LI><A class="external text" title=http://www.web2con.com/ href="http://www.web2con.com/" rel=nofollow>Web 2.0 大会</A>
<LI><A class="external text" title=http://ifindkarma.typepad.com/relax/2004/10/web_20.html href="http://ifindkarma.typepad.com/relax/2004/10/web_20.html" rel=nofollow>Relax, Everything Is Deeply Intertwingled: Web 2.0</A>
<LI><A class="external text" title=http://www.kottke.org/04/10/design-for-web-20 href="http://www.kottke.org/04/10/design-for-web-20" rel=nofollow>Design for Web 2.0</A>
<LI><A class="external text" title=http://www.readwriteweb.com/archives/002645.php href="http://www.readwriteweb.com/archives/002645.php" rel=nofollow>Web 2.0 Definition and Tagging</A>
<LI><A class="external text" title=http://groups-beta.google.com/group/web2 href="http://groups-beta.google.com/group/web2" rel=nofollow>Web 2.0 Forum</A> </LI></UL>
<P><A name=.E4.BE.8B.E5.AD.90></A></P>
<H3>例子</H3>
<P>这些公司,被认为是获得了巨大的成功的主要的“Web 1.0”网站,提供某些内容联合和Web服务相结合的服务:</P>
<UL>
<LI><A class="external text" title=http://www.amazon.com/gp/browse.html/102-9325021-3580115?_encoding=UTF8&node=3435361 href="http://www.amazon.com/gp/browse.html/102-9325021-3580115?_encoding=UTF8&node=3435361" rel=nofollow>Amazon.com Web Services</A>
<LI><A class="external text" title=http://www.google.com/apis/ href="http://www.google.com/apis/" rel=nofollow>Google Web APIs</A>
<LI><A class="external text" title=http://developer.yahoo.net/ href="http://developer.yahoo.net/" rel=nofollow>Yahoo! Search Web Services</A> </LI></UL>
<P>这些公司被广泛认为是Web2.0的范例:</P>
<UL>
<LI><A class="external text" title=http://urmap.com href="http://urmap.com/" rel=nofollow>UrMap</A>, 台湾地图行动资讯平台
<LI><A title=Flickr href="http://zh.wikipedia.org/wiki/Flickr">Flickr</A>
<LI><A class="external text" title=http://del.icio.us href="http://del.icio.us/" rel=nofollow>del.icio.us</A>, 共享书签服务,使用<A class=extiw title=en:Tags href="http://en.wikipedia.org/wiki/Tags">标签</A>
<LI><A class="external text" title=http://maps.google.com href="http://maps.google.com/" rel=nofollow>Google Maps</A>, and more specifically, sites like <A class="external text" title=http://www.housingmaps.com href="http://www.housingmaps.com/" rel=nofollow>housingmaps.com</A> that are enabled by Google Maps
<LI><A class="external text" title=http://www.youtube.com/ href="http://www.youtube.com/" rel=nofollow>YouTube</A>, 'The Flickr of Video' <A class="external autonumber" title=http://slashdot.org/articles/05/08/14/1320217.shtml?tid=95&tid=129 href="http://slashdot.org/articles/05/08/14/1320217.shtml?tid=95&tid=129" rel=nofollow>[1]</A>
<LI><A class=extiw title=en:24SevenOffice href="http://en.wikipedia.org/wiki/24SevenOffice">24SevenOffice</A> ERP CRM WebApp 应用程序 </LI></UL><!-- Saved in parser cache with key zhwiki:pcache:idhash:128482-0!1!0!0!!zh-cn!2!zh-cn and timestamp 20060311133337 -->
<DIV class=printfooter>取自"<A href="http://zh.wikipedia.org/wiki/Web_2.0">[url]http://zh.wikipedia.org/wiki/Web_2.0[/url]</A>"</DIV>

页: [1]
© 1999-2008 EvilOctal Security Team