HTML 5 and couch-lite

Hi Experts,

I am planning to write one HTML 5 application and want it to be sync with Sync Gateway using Couch-Lite ,i am not getting proper documentation related to this.

can somebody help me please.

Thanks,
Vikas

http://developer.couchbase.com/documentation/mobile/1.2/get-started/get-started-mobile/phonegap/index.html
http://developer.couchbase.com/documentation/mobile/1.2/develop/references/couchbase-lite/rest-api/index.html

Thanks Jens,

Just wondering if above work in case of offline sync ?

Thanks,
Vikas

Yes. The REST API is for communicating with the local database in the app. All communication with the remote database is done by the replicator in Couchbase Lite, not by your code.

Thanks Jens Alot,

I have been searching for some sample but couldn’t get it…

any help is appreciated if we can get it.

Thanks,
Vikas