Thu 1500 lacoul_shamod_color
 

Thu 1500 lacoul_shamod_color

on

  • 1,515 views

 

Statistics

Views

Total Views
1,515
Views on SlideShare
1,515
Embed Views
0

Actions

Likes
2
Downloads
8
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-NonCommercial-NoDerivs LicenseCC Attribution-NonCommercial-NoDerivs LicenseCC Attribution-NonCommercial-NoDerivs License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Thu 1500 lacoul_shamod_color Thu 1500 lacoul_shamod_color Presentation Transcript

  • NodeJS + NoSQL Shamod Lacoul NoSQLNow 2011
  • whoamiCEO of Netoprise - we make social B2B Collaboration platformNodeJS fanJava coderBPM integration consultantCo-organizer of Silicon Valley Semantic Technology meetup
  • NodeJS: Server-side JavascriptEvented I/O frameworkV8 javascript by Google
  • 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);
  • MVC in NodeJSExpressJS - Sinatra-like (in Ruby on Rails) web framework Jade - html template 
  • Useful NodeJS Development PackagesNode Package Manager (npm) - package installerNodemon - auto-detection node watcherNode-inspector - browser-based debuggerVows.js - Behavior-Driven Development (BDD)
  • 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/
  • Benefits of NodeJSExtremely fastEvent-driven2 years old and already a huge communityJavascript all the way down
  • Pitfalls of NodeBoomerang-shaped code (solution: Step or Flow.js)Javascript thinking-curve
  • Demo
  • NoSQL* Document Database* Key-Value Database* Columnar Database* Graph Database
  • Document DB - CouchDB/MongoDB
  • Key-Value Store - Riak/Redis
  • Column Store - Cassandra
  • Graph DB - Neo4J
  • Cradle = CouchDB + NodeJS http://cloudhead.io/cradle
  • Mongoose = MongoDB + NodeJShttp://mongoosejs.com/
  • Riak.js = Riak + NodeJShttp://riakjs.org/
  • node_redis = Redis + NodeJShttps://github.com/mranney/node_redis
  • node-cassandra-client = Cassandra +NodeJShttps://github.com/racker/node-cassandra-client
  • node-neo4j = Neo4J + NodeJShttps://github.com/bobby/node-neo4j
  • Questions?Demo code:https://github.com/shamod/nosqlnow2011demoThank you for listening!