Node.js + NoSQL

5,618 views

Published on

A talk on NodeJS + NoSQL at NoSQLNow2011 in San Jose, CA.

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
5,618
On SlideShare
0
From Embeds
0
Number of Embeds
28
Actions
Shares
0
Downloads
91
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Node.js + NoSQL

  1. 1. NodeJS + NoSQL Shamod Lacoul NoSQLNow 2011
  2. 2. whoamiCEO of Netoprise - we make social B2B Collaboration platformNodeJS fanJava coderBPM integration consultantCo-organizer of Silicon Valley Semantic Technology meetup
  3. 3. NodeJS: Server-side Javascript Evented I/O framework on top of V8 javascript by Google
  4. 4. Node codevar http = require(http);http.createServer(function (req, res) { res.sendHeader(200, {Content-Type: text/plain}); res.sendBody(Hello World!); res.finish();}).listen(8000);console.log(Listening on port 8000);
  5. 5. MVC in NodeJSExpressJS - Sinatra-like (in Ruby on Rails) web frameworkJade - html template
  6. 6. Useful NodeJS Development PackagesNode Package Manager (npm) - package installerNodemon - auto-detection node watcherNode-inspector - browser-based debuggerVows.js - Behavior-Driven Development (BDD)
  7. 7. More useful packagesBackbone.js - provides models, collections and views toJavascriptUnderscore.js - utility library to add functional programming toJavascript: "a tie to JQuerys tux"Socket.io - a package to help make realtime appsCoffeescript - a little language that compiles into JavaScriptFind more at http://search.npmjs.org/
  8. 8. Benefits of NodeJSExtremely fastEvent-driven2 years old and already a huge communityJavascript all the way down
  9. 9. Pitfalls of NodeBoomerang-shaped code (solution: Step or Flow.js)Javascript thinking-curve
  10. 10. Demohttps://github.com/shamod/nosqlnow2011demo
  11. 11. NoSQL* Document Database* Key-Value Database* Columnar Database* Graph Database
  12. 12. Document DB - CouchDB/MongoDB
  13. 13. Key-Value Store - Riak/Redis
  14. 14. Column Store - Cassandra
  15. 15. Graph DB - Neo4J
  16. 16. Cradle = CouchDB + NodeJShttp://cloudhead.io/cradle
  17. 17. Mongoose = MongoDB + NodeJShttp://mongoosejs.com/
  18. 18. Riak.js = Riak + NodeJShttp://riakjs.org/
  19. 19. node_redis = Redis + NodeJShttps://github.com/mranney/node_redis
  20. 20. node-cassandra-client = Cassandra +NodeJShttps://github.com/racker/node-cassandra-client
  21. 21. node-neo4j = Neo4J + NodeJShttps://github.com/bobby/node-neo4j
  22. 22. Questions?Thank you for listening!

×