<?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>Erlang-China &#187; CouchDB</title>
	<atom:link href="http://erlang-china.org/tag/couchdb/feed" rel="self" type="application/rss+xml" />
	<link>http://erlang-china.org</link>
	<description>erlang 中文社区</description>
	<lastBuildDate>Tue, 24 Apr 2012 05:39:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>CouchDB —— 可以期待的美好未来</title>
		<link>http://erlang-china.org/study/couchdb_good_future_to_expect.html</link>
		<comments>http://erlang-china.org/study/couchdb_good_future_to_expect.html#comments</comments>
		<pubDate>Tue, 16 Mar 2010 18:38:07 +0000</pubDate>
		<dc:creator>jackyz</dc:creator>
				<category><![CDATA[study]]></category>
		<category><![CDATA[CouchAPP]]></category>
		<category><![CDATA[CouchDB]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://erlang-china.org/?p=675</guid>
		<description><![CDATA[有关 CouchDB 的最新动向是： Damien Katz 已经离开了 IBM ，他和他的团队，在 200w $ 投资的帮助之下，开始创业。美国投资人的魄力与专业素养，让我这个中国软件人羡慕不已，什么时候我们中国也会出现这种“纯粹谈技术就能够决定是否投你”的投资人呢？新公司名叫 Couch IO (请注意，名字当中，没有出现 DB 这两个字母)。是的，开源软件界备受瞩目的新星 —— CouchDB 团队已经踏上了全新的旅程，他们正朝着下一个目标进发。我很愿意见到他们取得成功！ 在 CouchDB 狐狸书 中，作者 Jan Lehnardt 描述了一种全新的 Web 开发模式，有这样一句话来形容这种新的开发方式。 CouchDB has changed the way I think about developing web applications 在有着 10+ 年 Web 开发经验的我看来，尤其是在确实理解了他们心目中的开发方式之后，我觉得，这并不是一句阿谀奉承的面子话。而是，实事求是地说 —— 完全没有夸张的成分。 我在这里极其“概略”的介绍一下这种匪夷所思开发方式的若干基本要素： CouchDB 是一个 NO-SQL 的“文档数据库”，以 B-Tree 提供 Powerful 的数据存储与访问能力 [...]]]></description>
			<content:encoded><![CDATA[<p>有关 CouchDB 的最新动向是： Damien Katz 已经离开了 IBM ，他和他的团队，在 200w $ 投资的帮助之下，开始创业。美国投资人的魄力与专业素养，让我这个中国软件人羡慕不已，什么时候我们中国也会出现这种“纯粹谈技术就能够决定是否投你”的投资人呢？新公司名叫 Couch IO (请注意，名字当中，没有出现 DB 这两个字母)。是的，开源软件界备受瞩目的新星 —— CouchDB 团队已经踏上了全新的旅程，他们正朝着下一个目标进发。我很愿意见到他们取得成功！</p>
<p><img src="http://covers.oreilly.com/images/9780596155902/cat.gif" alt="CouchDB 狐狸书" /></p>
<p>在 <a href="http://books.couchdb.org/relax/" target=_blank>CouchDB 狐狸书</a> 中，作者 Jan Lehnardt 描述了一种全新的 Web 开发模式，有这样一句话来形容这种新的开发方式。</p>
<blockquote><p>CouchDB has changed the way I think about developing web applications</p></blockquote>
<p>在有着 10+ 年 Web 开发经验的我看来，尤其是在确实理解了他们心目中的开发方式之后，我觉得，这并不是一句阿谀奉承的面子话。而是，实事求是地说 —— 完全没有夸张的成分。</p>
<p>我在这里极其“概略”的介绍一下这种匪夷所思开发方式的若干基本要素：<br />
<span id="more-675"></span></p>
<ol>
<li>CouchDB 是一个 NO-SQL 的“文档数据库”，以 B-Tree 提供 Powerful 的数据存储与访问能力</li>
<li>CouchDB 是追加型数据库，其内部以 MVCC 机制管理每个文档的不同版本</li>
<li>CouchDB 采用了一种没有中心节点的架构设计，数据可以以数据库为单位，在多个 CouchDB 节点之间互相同步，数据同步时，也用 MVCC 来保证数据同步的一致性</li>
<li>CouchDB 以 Http Restful 的方式对其中存储的文档提供最基本的 CRUD 接口，也就是说能够直接以 Ajax 方式使用这些接口</li>
<li>CouchDB 实现了服务端逻辑的扩展机制，即，可采用 JavaScript (也可以用其他语言)定义 View ，这个 View 会在 Server 端以 Map-Reduce 方式来运行，中间结果也被 B-Tree 保存，当数据变化时，只需重新 Map 此条数据即可保持同步。也就是说，一旦 View 定义好，查询结果就已经准备好了，取用之时，无须计算</li>
<li>上述逻辑扩展机制的“服务端代码”也被储存在一类特殊的文档之中，简而言之，这些“服务端代码”在绝大部分的情况下，都可以被当作“普通数据”来对待，尤其是，同样可以在节点之间同步</li>
<li>文档可以带附件，想带多少带多少，想带什么带什么，随便带，没限制。比方说，Browser 客户端会用到的 HTML、CSS、脚本、图片什么的</li>
</ol>
<p>PS. 上面描述的这些正处在迅速的进化之中……包括身份验证，同步过滤，URL Mapping 等等，所有需要用到的一切，正在迅速被增加进来。</p>
<p>已经呼之欲出 —— CouchDB 将会进化成为一个 AppServer！虽然还处在非常早期的阶段，仍然缺少拼图的一些重要部分，但我们已经可以大致的窥见这头犀利 AppServer 的一些只鳞片爪。</p>
<ul>
<li>服务端脚本 —— 纯 JavaScript 开发环境</li>
<li>特殊文档 —— Web 应用本身就是一个文档</li>
<li>程序同步 —— 一键安装 Web 应用</li>
<li>数据同步 —— 离线 Web 应用</li>
<li>……</li>
</ul>
<p>基于前面提到要素，不难组合出更多妙不可言的特性来，对于日益得到重视的 JavaScript 程序员们而言(实际上，其他程序员也是一样，只是，稍微没有那么“显而易见”而已)，未来是一件多么值得期待的事？</p>
]]></content:encoded>
			<wfw:commentRss>http://erlang-china.org/study/couchdb_good_future_to_expect.html/feed</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>{转}Relax with CouchDB, first three chapters available</title>
		<link>http://erlang-china.org/news/relax_with_couchdb_first_three_chapters.html</link>
		<comments>http://erlang-china.org/news/relax_with_couchdb_first_three_chapters.html#comments</comments>
		<pubDate>Fri, 12 Dec 2008 01:29:37 +0000</pubDate>
		<dc:creator>KrzyCube</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[Book]]></category>
		<category><![CDATA[CouchDB]]></category>

		<guid isPermaLink="false">http://erlang-china.org/?p=297</guid>
		<description><![CDATA[http://jan.prima.de/~jan/plok/archives/164-guid.html Release early, release often they say. Chris,Noah and I published the first results of our hard work on the CouchDB Book. The chapters haven’t seen any editing by O’Reilly (our publisher) and we know that there are areas that need work. But we would like to know which areas are the most important ones by letting our readers have the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jan.prima.de/~jan/plok/archives/164-guid.html">http://jan.prima.de/~jan/plok/archives/164-guid.html</a></p>
<p><em>Release early, release often</em> <a href="http://www.catb.org/~esr/writings/cathedral-bazaar/cathedral-bazaar/ar01s04.html">they say</a>. <a href="http://jchris.mfdz.com/">Chris</a>,<a href="http://tumbolia.org/nslater">Noah</a> and I <a href="http://books.couchdb.org/relax/">published the first results</a> of our hard work on the <a href="http://books.couchdb.org/relax/">CouchDB Book</a>.</p>
<p>The chapters haven’t seen any editing by O’Reilly (our publisher) and we know that there are areas that need work. But we would like to know which areas are the most important ones by letting our readers have the material as soon as possible.</p>
<p>That is, we are looking for feedback. Each paragraph on the website has a link where you can leave your comment. We highly appreciate any input. It will help us to write a quality book. Thanks!</p>
<p>We are trying to get the next batch of chapters to you as soon as possible. Stay tuned!</p>
]]></content:encoded>
			<wfw:commentRss>http://erlang-china.org/news/relax_with_couchdb_first_three_chapters.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

