• Like

Thu 1500 lacoul_shamod_color

  • 1,139 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,139
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
8
Comments
0
Likes
2

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. NodeJS + NoSQL Shamod Lacoul NoSQLNow 2011
  • 2. whoamiCEO of Netoprise - we make social B2B Collaboration platformNodeJS fanJava coderBPM integration consultantCo-organizer of Silicon Valley Semantic Technology meetup
  • 3. NodeJS: Server-side JavascriptEvented I/O frameworkV8 javascript by Google
  • 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. MVC in NodeJSExpressJS - Sinatra-like (in Ruby on Rails) web framework Jade - html template 
  • 6. Useful NodeJS Development PackagesNode Package Manager (npm) - package installerNodemon - auto-detection node watcherNode-inspector - browser-based debuggerVows.js - Behavior-Driven Development (BDD)
  • 7. More useful packagesBackbone.js - provides models, collections and views toJavascriptUnderscore.js - utility library to add functional programmingto Javascript: "a tie to JQuerys tux"Socket.io - a package to help make realtime appsFind more at http://search.npmjs.org/
  • 8. Benefits of NodeJSExtremely fastEvent-driven2 years old and already a huge communityJavascript all the way down
  • 9. Pitfalls of NodeBoomerang-shaped code (solution: Step or Flow.js)Javascript thinking-curve
  • 10. Demo
  • 11. NoSQL* Document Database* Key-Value Database* Columnar Database* Graph Database
  • 12. Document DB - CouchDB/MongoDB
  • 13. Key-Value Store - Riak/Redis
  • 14. Column Store - Cassandra
  • 15. Graph DB - Neo4J
  • 16. Cradle = CouchDB + NodeJS http://cloudhead.io/cradle
  • 17. Mongoose = MongoDB + NodeJShttp://mongoosejs.com/
  • 18. Riak.js = Riak + NodeJShttp://riakjs.org/
  • 19. node_redis = Redis + NodeJShttps://github.com/mranney/node_redis
  • 20. node-cassandra-client = Cassandra +NodeJShttps://github.com/racker/node-cassandra-client
  • 21. node-neo4j = Neo4J + NodeJShttps://github.com/bobby/node-neo4j
  • 22. Questions?Demo code:https://github.com/shamod/nosqlnow2011demoThank you for listening!