沙发床和沙发床Lite之间的区别? [以前称为touchDB] [英] Difference between couchbase and couchbase lite? [Previously called as touchDB]

查看:109
本文介绍了沙发床和沙发床Lite之间的区别? [以前称为touchDB]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是Couchbase?什么是Couchbase Lite?两者之间有什么区别吗?我该如何在移动设备中创建长沙发Lite,又如何与服务器通信?

What is Couchbase and what is Couchbase Lite? Is there any difference between the two? How could I create couchbase lite in mobile and how could i communicate to a server?

推荐答案

您是否偶然知道 CouchDB ?我不知道 couchdb和couchbase 的距离有多远片刻,但我想的很远。到目前为止,我了解到的是Couchbase,Inc接受了长沙发代码,并决定他们希望专注于速度。

Do you happen to know about CouchDB? I don't know how far apart couchdb and couchbase are at the moment but I think very far. What I've understood so far is, Couchbase, Inc took the couchdb code and decided that they wanted to focus on speed.

couchdb最困难的部分之一(速度方面)是同步,因此他们放弃了同步。然后他们开始对代码进行重组,以专注于速度和客户希望的其他问题(或长沙发认为潜在客户想要的问题)。

One of the most difficult parts (speed wise) of couchdb is the synchronisation, so they dropped the synchronisation. Then they began restructuring the code to focus on speed and other issues their customers wanted (or what couchbase thinks potential customers want).

为了增加同步能力,他们开始开发同步网关。同时,他们开发了TouchDB,这是一种轻量级的CouchDB兼容数据库引擎,适合嵌入到移动应用程序中。如文档中所述,请这样考虑:如果CouchDB是MySQL,则TouchDB是SQLite。他们使用现有的CouchCocoa框架在远程CouchDB服务器和本地TouchDB之间进行交互。
后来,他们改进了touchDB代码以消除对CouchCocoa的使用,并将touchDB重命名为Couchbase-Lite(又名TouchDB 1.5)。他们想使TouchDB成为真正的产品(此链接上的演示文稿可能会帮助您此处)。

To add the ability to synchronise they started developing the sync gateway. Meantime, They developed TouchDB, a lightweight CouchDB-compatible database engine suitable for embedding into mobile apps. As mentioned in doc's, think of it this way: If CouchDB is MySQL, then TouchDB is SQLite. They used existing CouchCocoa framework to make the interaction between remote CouchDB server and local TouchDB. Later on, they improved the touchDB code to eliminate the use of CouchCocoa and also renamed touchDB into Couchbase-Lite (aka TouchDB 1.5). They wanted to make TouchDB, a real product (The presentation on this link might help you, Here).

然后他们开始更改CBL(也称为touchdb 1.5),以便它可以与同步网关一起使用(沙发式服务器可以同步的唯一方法),并在此过程中

They then started to alter CBL (aka touchdb 1.5) so it could work with the sync gateway (the only way a couchbase server can synchronise) and in the process make the synchronisation code in Couchbase-Lite better.

复制是CBL可以为您完成的最酷的事情之一。github回购上有足够的文档供您参考。如果您有些迟疑,请访问CBL的邮件列表 Mobile Couchbase。也许,您在那里找不到与您类似的问题。

Replication is one of coolest thing CBL can do it for you.There are enough doc's on github repo to hit the road. If you are held up at some point, reach CBL's mailing list named 'Mobile Couchbase'. Perhaps, you can find few questions there which are similar to yours.

希望有帮助。

这篇关于沙发床和沙发床Lite之间的区别? [以前称为touchDB]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆