<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>cashplk的心路历程 &#187; RESTful Web Services</title>
	<atom:link href="http://cashplk.com/tag/restful-web-services/feed/" rel="self" type="application/rss+xml" />
	<link>http://cashplk.com</link>
	<description>学无止境，梦如夏花～</description>
	<lastBuildDate>Sat, 31 Jul 2010 10:15:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>RESTful Web Services 中文版 读后摘抄（一）</title>
		<link>http://cashplk.com/2009/05/23/restful-web-services-%e4%b8%ad%e6%96%87%e7%89%88-%e8%af%bb%e5%90%8e%e6%91%98%e6%8a%84%ef%bc%88%e4%b8%80%ef%bc%89/</link>
		<comments>http://cashplk.com/2009/05/23/restful-web-services-%e4%b8%ad%e6%96%87%e7%89%88-%e8%af%bb%e5%90%8e%e6%91%98%e6%8a%84%ef%bc%88%e4%b8%80%ef%bc%89/#comments</comments>
		<pubDate>Sat, 23 May 2009 05:07:32 +0000</pubDate>
		<dc:creator>cashplk</dc:creator>
				<category><![CDATA[Reading]]></category>
		<category><![CDATA[RESTful Web Services]]></category>

		<guid isPermaLink="false">http://cashplk.com/?p=24</guid>
		<description><![CDATA[RESTful Web Services 中文版 读后摘抄（一） 第 1 章 Programmable Web及其分类 1.传统网（human web）返回HTML文档。 2.可编程网（programmable web）返回XML文档。 Amazon S3的作用是“在桶（一种带标签的容器）里存放对象（一种带标签的数据）”。 Programmmable web是基于HTTP和XML技术的。 HTTP：信封里的文档 HTTP是一种基于文档的协议。客户端把文档放在信封里，然后发给服务器，作为回应，服务器把响应文档放在信封里，然后发给客户端。 HTTP响应可分为三个部分： 1.HTTP响应代码（HTTP response code） 2.相应报头（request headers） 3.实体主体（entity-body）或表示（representation） XPath介绍 利用它，可以方便的将XML文档进行切分。关键的一点是：把XPath表达式看成一种从XML文档里提取标签（tag）或元素（elements）的规则。要知道一个XPath表达式是什么意思，只要从右边往左读就是了。 比如：表达式 //photo 的意思是： 寻找所有photo标签  photo 无论它在文档里何处  // 用REXML::XPath.each(doc,&#8217;//photo&#8217;)这行简单的Ruby代码可以实现遍历每一个photo标签，而不必遍历整个XML树。]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: x-small;"><strong>RESTful Web Services 中文版 读后摘抄（一）</strong></span></p>
<p><span style="font-size: x-small;"><strong><span style="font-size: small;">第 1 章 Programmable Web及其分类</span></p>
<p></strong><span>1.传统网（human web）</span><span>返回HTML文档。<br />
2.可编程网（programmable web）返回XML文档。</p>
<p>Amazon S3的作用是“在桶（一种带标签的容器）里存放对象（一种带标签的数据）”。<br />
Programmmable web是基于HTTP和XML技术的。</p>
<p><span><strong><span style="font-size: small;">HTTP：信封里的文档</span><br />
</strong><br />
</span></span></span><span style="font-size: x-small;"><span> </span></span><span style="font-size: x-small;"><span><span><span>HTTP是一种基于文档的协议。客户端把文档放在</span><span>信封里，然后发给服务器，作为回应，服务器把响应文档放在信封里，然后发给客户端。</p>
<p>HTTP响应可分为三个部分：<br />
1.HTTP响应代码（HTTP response code）<br />
2.相应报头（request headers）<br />
3.实体主体（entity-body）或表示（representation）</p>
<p><strong>XPath介绍</strong><br />
</span></span></span></span><span style="font-size: x-small;"><span> </span></span><span style="font-size: x-small;"><span><span><span>利用它，可以方便的将XML文档进行切分。关键的一点是：把XPath表达式看成一种从XML文档里提取标签（tag）或元素（elements）的规则。</span><span>要知道一个XPath表达式是什么意思，只要从右边往左读就是了。</p>
<p>比如：表达式 //photo 的意思是：<br />
寻找所有photo标签  photo<br />
无论它在文档里何处  //</p>
<p></span></span></span></span><span style="font-size: x-small;"><span> </span></span><span style="font-size: x-small;"><span><span><span>用REXML::XPath.each(doc,&#8217;//photo&#8217;)这行简单的Ruby代码可以实现遍历每一个photo标签，而不必遍历整个XML树。</span></span></span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://cashplk.com/2009/05/23/restful-web-services-%e4%b8%ad%e6%96%87%e7%89%88-%e8%af%bb%e5%90%8e%e6%91%98%e6%8a%84%ef%bc%88%e4%b8%80%ef%bc%89/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->