On Oct 1, 2014, at 1:57 PM, pjac...@surgeforward.com wrote:[Error] Failed to load resource: the server responded with a status of 400 (Bad Request) (workMax, line 0){"status":400,"error":"Invalid database\/document\/revision ID"}
--
You received this message because you are subscribed to a topic in the Google Groups "Couchbase Mobile" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mobile-couchbase/VwKv2PpF1Pw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/002181B4-B18E-4792-956A-EF2049211F88%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.
On Oct 1, 2014, at 2:16 PM, Peter Jacobson <pjac...@surgeforward.com> wrote:The database name is "workMax"
--
You received this message because you are subscribed to a topic in the Google Groups "Couchbase Mobile" group.
To unsubscribe from this topic, visithttps://groups.google.com/d/topic/mobile-couchbase/VwKv2PpF1Pw/unsubscribe.
To unsubscribe from this group and all its topics, send an email tomobile-couchba...@googlegroups.com.
To view this discussion on the web visithttps://groups.google.com/d/msgid/mobile-couchbase/3409052B-C9D6-41BC-83BB-55757D896344%40mooseyard.com.
For more options, visithttps://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/97524115-038A-4D63-BA17-7E331DE5A32E%40surgeforward.com.
On Oct 1, 2014, at 8:55 PM, Jens Alfke <je...@couchbase.com> wrote:412 just means the db already exists, so you're good.--Jens [via iPhone]
d’oH! I read the docs as “not BEGIN” with capital letter. Database is now showing as created. Progress…Now I’m getting a 412, [Error] Failed to load resource: the server responded with a status of 412 (Precondition Failed) (workmax, line 0)--On Oct 1, 2014, at 4:28 PM, Jens Alfke <je...@mooseyard.com> wrote:
On Oct 1, 2014, at 2:16 PM, Peter Jacobson <pjac...@surgeforward.com> wrote:The database name is "workMax"
As I said in the last message, database names cannot contain capital letters. "M" is a capital letter.—Jens--
You received this message because you are subscribed to a topic in the Google Groups "Couchbase Mobile" group.
To unsubscribe from this topic, visithttps://groups.google.com/d/topic/mobile-couchbase/VwKv2PpF1Pw/unsubscribe.
To unsubscribe from this group and all its topics, send an email tomobile-couchba...@googlegroups.com.
To view this discussion on the web visithttps://groups.google.com/d/msgid/mobile-couchbase/3409052B-C9D6-41BC-83BB-55757D896344%40mooseyard.com.
For more options, visithttps://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email tomobile-couchba...@googlegroups.com.
To view this discussion on the web visithttps://groups.google.com/d/msgid/mobile-couchbase/97524115-038A-4D63-BA17-7E331DE5A32E%40surgeforward.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Couchbase Mobile" group.
To unsubscribe from this topic, visithttps://groups.google.com/d/topic/mobile-couchbase/VwKv2PpF1Pw/unsubscribe.
To unsubscribe from this group and all its topics, send an email tomobile-couchba...@googlegroups.com.
To view this discussion on the web visithttps://groups.google.com/d/msgid/mobile-couchbase/042BCDDE-885C-4193-BB21-F466D8DA5092%40couchbase.com.
On Oct 1, 2014, at 7:02 PM, Peter Jacobson <pjac...@surgeforward.com> wrote:freakin awesome. Can’t believe I missed that one.
--
You received this message because you are subscribed to a topic in the Google Groups "Couchbase Mobile" group.
To unsubscribe from this topic, visithttps://groups.google.com/d/topic/mobile-couchbase/VwKv2PpF1Pw/unsubscribe.
To unsubscribe from this group and all its topics, send an email tomobile-couchba...@googlegroups.com.
To view this discussion on the web visithttps://groups.google.com/d/msgid/mobile-couchbase/D0C50AF7-5409-4753-8929-653A6FE1B684%40mooseyard.com.
On Oct 2, 2014, at 9:52 AM, Peter Jacobson <pjac...@surgeforward.com> wrote:For me maybe the biggest undocumented thing to date is, “what is the host url for a local device when you are not using couchbase server at all?” I ended up doing a check and getting it then trimming the last “/“ to use it in the app. iOS and Android are completely different.
--
You received this message because you are subscribed to a topic in the Google Groups "Couchbase Mobile" group.
To unsubscribe from this topic, visithttps://groups.google.com/d/topic/mobile-couchbase/VwKv2PpF1Pw/unsubscribe.
To unsubscribe from this group and all its topics, send an email tomobile-couchba...@googlegroups.com.
To view this discussion on the web visithttps://groups.google.com/d/msgid/mobile-couchbase/53FF6677-7FA0-44A8-9A09-B15EA71F9DE1%40couchbase.com.
On Oct 2, 2014, at 11:25 AM, Peter Jacobson <pjac...@surgeforward.com> wrote:"Are you talking about the base URL to use with PhoneGap? That’s the same whether or not you use sync”I would have thought there would be some canonical localhost-type URL to talk to a local vs a remote couchbase daemon.
I didn’t realize there isn’t one and that you have to get it from the plugin, so I spent several hours assuming I had a bad URL (in part because of the 400 error message) and trying different URLs (e.g. couchdb uses http://0.0.0.0:5984). Some clearer indication of that in the docs would be a big help - I couldn’t find anything that specified this.
On Oct 2, 2014, at 4:27 PM, Jens Alfke <je...@couchbase.com> wrote:
On Oct 2, 2014, at 11:25 AM, Peter Jacobson <pjac...@surgeforward.com> wrote:"Are you talking about the base URL to use with PhoneGap? That’s the same whether or not you use sync”I would have thought there would be some canonical localhost-type URL to talk to a local vs a remote couchbase daemon.No, you never talk directly to a server. Only the replicator does that. (As you probably by now realize.)
I didn’t realize there isn’t one and that you have to get it from the plugin, so I spent several hours assuming I had a bad URL (in part because of the 400 error message) and trying different URLs (e.g. couchdb useshttp://0.0.0.0:5984). Some clearer indication of that in the docs would be a big help - I couldn’t find anything that specified this.
I think this isn't documented because we assume devs will start from a PhoneGap example project and build the app from there, instead of trying to start from scratch with just the PhoneGap plugin. (But I don't work on our PhoneGap integration so I shouldn't speculate too much.)FYI, the reason for the different URLs is that while iOS uses a URL-protocol plugin to catch the request before it hits the wire, you apparently can't do that on Android; so the Android version has to open a real live TCP listener socket. That socket will end up with an effectively-random port number, so the URL can't be hardcoded.—Jens
--
You received this message because you are subscribed to a topic in the Google Groups "Couchbase Mobile" group.
To unsubscribe from this topic, visithttps://groups.google.com/d/topic/mobile-couchbase/VwKv2PpF1Pw/unsubscribe.
To unsubscribe from this group and all its topics, send an email tomobile-couchba...@googlegroups.com.
To view this discussion on the web visithttps://groups.google.com/d/msgid/mobile-couchbase/E3D87489-9038-4B0C-9441-6BEDC06B5F52%40couchbase.com.
On Oct 2, 2014, at 3:06 PM, Peter Jacobson <pjac...@surgeforward.com> wrote:I would suggest it’s a bad assumption to make about starting from the example app. In my case, since all the sample apps are built assuming sync gateway it didn’t answer that question for me.
--
You received this message because you are subscribed to a topic in the Google Groups "Couchbase Mobile" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mobile-couchbase/VwKv2PpF1Pw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/01c5469a-a496-4f74-8319-610fa94174ad%40googlegroups.com.
On Dec 4, 2014, at 5:53 AM, Daniel Matejka <danielma...@gmail.com> wrote:I have to agree with Peter. Step-by-step tutorial on CRUD app with explanation would save a lot of pain in the .. would help a lot. I know the stuff seems to be basic and obvious for you, but not for those who see it for the first time.
On Dec 4, 2014, at 10:28 AM, Jens Alfke <je...@couchbase.com> wrote:
On Dec 4, 2014, at 5:53 AM, Daniel Matejka <danielma...@gmail.com> wrote:I have to agree with Peter. Step-by-step tutorial on CRUD app with explanation would save a lot of pain in the .. would help a lot. I know the stuff seems to be basic and obvious for you, but not for those who see it for the first time.
We have a bunch of recorded webinarson Couchbase Lite, such as this onethat I gave on getting started on iOS. Is that the sort of thing you're looking for? (The list of webinars doesn't let you filter by topic, so you'll have to page through it to find the mobile ones, sorry.)—Jens--
You received this message because you are subscribed to a topic in the Google Groups "Couchbase Mobile" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mobile-couchbase/VwKv2PpF1Pw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/6AD6AA11-7D1F-4E6D-87F5-72A478BE615F%40couchbase.com.
On Dec 4, 2014, at 8:33 AM, Pete Jacobson <pjac...@surgeforward.com> wrote:For me it wasn’t iOS, there are plenty of docs on that (well, relatively plenty). For Phonegap it’s difficult to find anything.
On Dec 5, 2014, at 1:09 PM, Daniel Matejka <danielma...@gmail.com> wrote:I think couchbase lite would be much more popular if you would spend some more time on tutorials and docs for phone gap.
the hybrid is only starting as the performance gap diminishes.. ionic is still in beta, foundation released their app framework just today.. mobiles are getting faster and javascript css3 and html5 are providing viable alternative to produce apps that cannot be distingushed from native.. it is just starting and will be more and more important.
especially data driven apps are best fit for web apps...morover angular is talking JSON natively... can you see the fit? I certainly do...
best regards
Daniel
--
You received this message because you are subscribed to a topic in the Google Groups "Couchbase Mobile" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mobile-couchbase/VwKv2PpF1Pw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/6EADDDBB-04B2-4C2C-B811-8B990D0F96B0%40couchbase.com.
On Dec 5, 2014, at 3:55 PM, Jens Alfke <je...@couchbase.com> wrote:
On Dec 5, 2014, at 1:09 PM, Daniel Matejka <danielma...@gmail.com> wrote:I think couchbase lite would be much more popular if you would spend some more time on tutorials and docs for phone gap.
According to some statisticsI just looked up, PhoneGap is used in about 6% of mobile apps, representing 1% of installs. So it wouldn't be that big a boost. But I agree that we should provide more resources for developing with it.—Jens--
You received this message because you are subscribed to a topic in the Google Groups "Couchbase Mobile" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mobile-couchbase/VwKv2PpF1Pw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/6EADDDBB-04B2-4C2C-B811-8B990D0F96B0%40couchbase.com.
You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/EDE8C7DD-CB24-4B40-A396-37B2B68A0F78%40surgeforward.com.