Hello Brett, thank you for the updates.
i was trying to work through https://github.com/tgrall/couchbase-node-ideas it seems some of it is outdated / unfinished. i found it difficult to guess what is necessary to work with the views with the different releases of the API and no mention to cb.view(...) on it. there's also an issue trying to get hold of this on http://www.javacodegeeks.com/2013/03/easy-application-development-with-couchbase-angular-and-node-js.html can somebody come in rescue ? Em sexta-feira, 30 de agosto de 2013 21h54min58s UTC-3, Brett Lawson escreveu: > > https://github.com/couchbase/couchnode > > This is a complete rewrite from the 0.0.x releases to significantly > increase speed, stability and consistency. All sample applications have > been rewritten and an API reference has been built to accompany this > release. Additionally, the API itself has been refactored to provide a > much more consistent experience. > > The new API puts a few new arguments in front of the developer, we think > it’s not too obtrusive and makes for a much more uniform interface when > building apps that handle responses. For example, in 0.12.x you would have > done: > > bucket.get( [‘a’, ‘b’], function(err, vals, metas) { > console.log(vals[‘a’], metas[‘a’].cas); > }); > > And now that’s: > > bucket.multiGet( [‘a’, ‘b’], function(err, results) { > console.log(results[‘a’].value, results[‘a’].cas); > }); > > If you’ve used this before, you’ll note that the constructor has changed > slightly as well. Additionally, you can now begin executing operations > against the bucket before it has successfully connected and the operations > will be queued until successful connection or a critical error occurs. > > Before: > couchbase.connect( options, function(err, bucket) { > … handle any errors > bucket.get( … ); > }); > > now is: > > var bucket = new couchbase.Connection(options, function(err) { > … handle any errors > bucket.get( … ); > }); > > or even: > var bucket = new couchbase.Connection(options, function(err) { > > ... handle any errors > }); > bucket.get( … ); > > If you want to see how this comes together in a quick sample and aren’t > offended by browsing beers, check out: > > https://github.com/couchbaselabs/beersample-node > > On performance, this all uses libcouchbase underneath and we’ve made > changes to libcouchbase to work nicely with libuv. Between that and some > other changes, our tests are showing great performance! > > We would like to work quickly toward a 1.0 release. How quickly we get > there depends in part on feedback we receive! We’d love to get your > feedback. > > Brett. > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
