SlideShare ist ein Scribd-Unternehmen logo
1 von 22
Downloaden Sie, um offline zu lesen
NodeJS + NoSQL

  Shamod Lacoul

  NoSQLNow 2011
whoami

CEO of Netoprise - we make social B2B Collaboration platform

NodeJS fan

Java coder

BPM integration consultant

Co-organizer of Silicon Valley Semantic Technology meetup
NodeJS: Server-side Javascript


           Evented I/O framework

                  on top of

           V8 javascript by Google
Node code

var 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 NodeJS

ExpressJS - Sinatra-like (in Ruby on Rails) web framework



Jade - html template
Useful NodeJS Development Packages

Node Package Manager (npm) - package installer


Nodemon - auto-detection node watcher


Node-inspector - browser-based debugger


Vows.js - Behavior-Driven Development (BDD)
More useful packages

Backbone.js - provides models, collections and views to
Javascript

Underscore.js - utility library to add functional programming to
Javascript: "a tie to JQuery's tux"

Socket.io - a package to help make realtime apps

Coffeescript - a little language that compiles into JavaScript




Find more at http://search.npmjs.org/
Benefits of NodeJS

Extremely fast

Event-driven

2 years old and already a huge community

Javascript all the way down
Pitfalls of Node

Boomerang-shaped code (solution: Step or Flow.js)

Javascript thinking-curve
Demo
https://github.com/shamod/nosqlnow2011demo
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 + NodeJS


http://mongoosejs.com/
Riak.js = Riak + NodeJS


http://riakjs.org/
node_redis = Redis + NodeJS


https://github.com/mranney/node_redis
node-cassandra-client = Cassandra +
NodeJS

https://github.com/racker/node-cassandra-client
node-neo4j = Neo4J + NodeJS


https://github.com/bobby/node-neo4j
Questions?

Thank you for listening!

Weitere ähnliche Inhalte

Was ist angesagt?

HTML5 in automotive - web2day 2014
HTML5 in automotive  - web2day 2014HTML5 in automotive  - web2day 2014
HTML5 in automotive - web2day 2014
Alexandre Morgaut
 
Best Practices with WSO2 Developer Studio
Best Practices with WSO2 Developer Studio Best Practices with WSO2 Developer Studio
Best Practices with WSO2 Developer Studio
WSO2
 
Nodejs - Building a RESTful API
Nodejs - Building a RESTful APINodejs - Building a RESTful API
Nodejs - Building a RESTful API
Sang Cù
 
Browser and Cloud - The Future of IDEs?
Browser and Cloud - The Future of IDEs?Browser and Cloud - The Future of IDEs?
Browser and Cloud - The Future of IDEs?
martinlippert
 

Was ist angesagt? (20)

HTML5 in automotive - web2day 2014
HTML5 in automotive  - web2day 2014HTML5 in automotive  - web2day 2014
HTML5 in automotive - web2day 2014
 
Moving applications to the cloud
Moving applications to the cloudMoving applications to the cloud
Moving applications to the cloud
 
Rest api with node js and express
Rest api with node js and expressRest api with node js and express
Rest api with node js and express
 
AWS Lambda with ClaudiaJS
AWS Lambda with ClaudiaJSAWS Lambda with ClaudiaJS
AWS Lambda with ClaudiaJS
 
NodeJS Tour
NodeJS TourNodeJS Tour
NodeJS Tour
 
NodeJS Presentation
NodeJS PresentationNodeJS Presentation
NodeJS Presentation
 
Node.js for beginner
Node.js for beginnerNode.js for beginner
Node.js for beginner
 
Best Practices with WSO2 Developer Studio
Best Practices with WSO2 Developer Studio Best Practices with WSO2 Developer Studio
Best Practices with WSO2 Developer Studio
 
Angular auth with JWT
Angular auth with JWTAngular auth with JWT
Angular auth with JWT
 
Lesson 09
Lesson 09Lesson 09
Lesson 09
 
A High-Performance Solution To Microservices UI Composition
A High-Performance Solution To Microservices UI CompositionA High-Performance Solution To Microservices UI Composition
A High-Performance Solution To Microservices UI Composition
 
Nodejs - Building a RESTful API
Nodejs - Building a RESTful APINodejs - Building a RESTful API
Nodejs - Building a RESTful API
 
WebUI - rapid UI development for EGS-CC
WebUI - rapid UI development for EGS-CCWebUI - rapid UI development for EGS-CC
WebUI - rapid UI development for EGS-CC
 
Clojure web dev history
Clojure web dev historyClojure web dev history
Clojure web dev history
 
Pre rendering media sites with nuxt.js & netlify
Pre rendering media sites with nuxt.js & netlifyPre rendering media sites with nuxt.js & netlify
Pre rendering media sites with nuxt.js & netlify
 
Node.js In The Enterprise - A Primer
Node.js In The Enterprise - A PrimerNode.js In The Enterprise - A Primer
Node.js In The Enterprise - A Primer
 
Browser and Cloud - The Future of IDEs?
Browser and Cloud - The Future of IDEs?Browser and Cloud - The Future of IDEs?
Browser and Cloud - The Future of IDEs?
 
Kickstarting Node.js Projects with Yeoman
Kickstarting Node.js Projects with YeomanKickstarting Node.js Projects with Yeoman
Kickstarting Node.js Projects with Yeoman
 
JavaScript as a Server side language (NodeJS): JSConf 2011, Dhaka
JavaScript as a Server side language (NodeJS): JSConf 2011, DhakaJavaScript as a Server side language (NodeJS): JSConf 2011, Dhaka
JavaScript as a Server side language (NodeJS): JSConf 2011, Dhaka
 
Creating applications with Grails, Angular JS and Spring Security - GR8Conf U...
Creating applications with Grails, Angular JS and Spring Security - GR8Conf U...Creating applications with Grails, Angular JS and Spring Security - GR8Conf U...
Creating applications with Grails, Angular JS and Spring Security - GR8Conf U...
 

Andere mochten auch

IR-ranking
IR-rankingIR-ranking
IR-ranking
FELIX75
 
Latest on Semantic Web
Latest on Semantic WebLatest on Semantic Web
Latest on Semantic Web
Shamod Lacoul
 
Toronto Public Health Presentation - Acupuncture
Toronto Public Health Presentation - Acupuncture Toronto Public Health Presentation - Acupuncture
Toronto Public Health Presentation - Acupuncture
CMAAC
 
Эффект Рингельмана
Эффект РингельманаЭффект Рингельмана
Эффект Рингельмана
Vadim Zhartun
 
McAfee Data Protection
McAfee Data ProtectionMcAfee Data Protection
McAfee Data Protection
Andrei Novikau
 
6 Steps To An Amazing Video
6 Steps To An Amazing Video6 Steps To An Amazing Video
6 Steps To An Amazing Video
RipMedia Group,
 
3 D Visualisation Service price list
3 D Visualisation Service price list3 D Visualisation Service price list
3 D Visualisation Service price list
jacquelinejianghaines
 
Londons Digital Neighbourhoods Workshop - Background Paper
Londons Digital Neighbourhoods Workshop - Background PaperLondons Digital Neighbourhoods Workshop - Background Paper
Londons Digital Neighbourhoods Workshop - Background Paper
Networked Neighbourhoods
 
probabilistic ranking
probabilistic rankingprobabilistic ranking
probabilistic ranking
FELIX75
 

Andere mochten auch (20)

Designing a pragmatic back-end service for mobile games
Designing a pragmatic back-end service for mobile gamesDesigning a pragmatic back-end service for mobile games
Designing a pragmatic back-end service for mobile games
 
IR-ranking
IR-rankingIR-ranking
IR-ranking
 
Latest on Semantic Web
Latest on Semantic WebLatest on Semantic Web
Latest on Semantic Web
 
Vstrecher pres ingria
Vstrecher pres ingriaVstrecher pres ingria
Vstrecher pres ingria
 
Toronto Public Health Presentation - Acupuncture
Toronto Public Health Presentation - Acupuncture Toronto Public Health Presentation - Acupuncture
Toronto Public Health Presentation - Acupuncture
 
Анастасия Ли_ Как компании используют SMM?
Анастасия Ли_ Как компании используют SMM?Анастасия Ли_ Как компании используют SMM?
Анастасия Ли_ Как компании используют SMM?
 
Информационный вестник
Информационный вестникИнформационный вестник
Информационный вестник
 
Sociala media Svensk Bensinhandel, Mongara Gran Canaria 2012
Sociala media Svensk Bensinhandel, Mongara Gran Canaria 2012Sociala media Svensk Bensinhandel, Mongara Gran Canaria 2012
Sociala media Svensk Bensinhandel, Mongara Gran Canaria 2012
 
X-EQUO Brochure 2012
X-EQUO Brochure 2012X-EQUO Brochure 2012
X-EQUO Brochure 2012
 
Эффект Рингельмана
Эффект РингельманаЭффект Рингельмана
Эффект Рингельмана
 
Информационный вестник Сентябрь 2012
Информационный вестник Сентябрь 2012Информационный вестник Сентябрь 2012
Информационный вестник Сентябрь 2012
 
McAfee Data Protection
McAfee Data ProtectionMcAfee Data Protection
McAfee Data Protection
 
6 Steps To An Amazing Video
6 Steps To An Amazing Video6 Steps To An Amazing Video
6 Steps To An Amazing Video
 
Утилизация тепла
Утилизация теплаУтилизация тепла
Утилизация тепла
 
3 D Visualisation Service price list
3 D Visualisation Service price list3 D Visualisation Service price list
3 D Visualisation Service price list
 
Londons Digital Neighbourhoods Workshop - Background Paper
Londons Digital Neighbourhoods Workshop - Background PaperLondons Digital Neighbourhoods Workshop - Background Paper
Londons Digital Neighbourhoods Workshop - Background Paper
 
probabilistic ranking
probabilistic rankingprobabilistic ranking
probabilistic ranking
 
Информационный вестник Май 2012
Информационный вестник Май 2012Информационный вестник Май 2012
Информационный вестник Май 2012
 
Apresentacao SAI - 2010
Apresentacao SAI - 2010Apresentacao SAI - 2010
Apresentacao SAI - 2010
 
BBcon 2014 Moneyball: How Analytics Improves Fundraising
BBcon 2014 Moneyball: How Analytics Improves FundraisingBBcon 2014 Moneyball: How Analytics Improves Fundraising
BBcon 2014 Moneyball: How Analytics Improves Fundraising
 

Ähnlich wie Node.js + NoSQL

Dnc2015 azure-microservizi-vforusso
Dnc2015 azure-microservizi-vforussoDnc2015 azure-microservizi-vforusso
Dnc2015 azure-microservizi-vforusso
DotNetCampus
 
Modern Architectures with Spring and JavaScript
Modern Architectures with Spring and JavaScriptModern Architectures with Spring and JavaScript
Modern Architectures with Spring and JavaScript
martinlippert
 

Ähnlich wie Node.js + NoSQL (20)

Nodejs
NodejsNodejs
Nodejs
 
Developing realtime apps with Drupal and NodeJS
Developing realtime apps with Drupal and NodeJS Developing realtime apps with Drupal and NodeJS
Developing realtime apps with Drupal and NodeJS
 
StrongLoop Overview
StrongLoop OverviewStrongLoop Overview
StrongLoop Overview
 
Node JS reverse shell
Node JS reverse shellNode JS reverse shell
Node JS reverse shell
 
Building assets on the fly with Node.js
Building assets on the fly with Node.jsBuilding assets on the fly with Node.js
Building assets on the fly with Node.js
 
SVILUPPARE E GESTIRE ARCHITETTURE A MICROSERVIZI SU AZURE
SVILUPPARE E GESTIRE ARCHITETTURE A MICROSERVIZI SU AZURESVILUPPARE E GESTIRE ARCHITETTURE A MICROSERVIZI SU AZURE
SVILUPPARE E GESTIRE ARCHITETTURE A MICROSERVIZI SU AZURE
 
Dnc2015 azure-microservizi-vforusso
Dnc2015 azure-microservizi-vforussoDnc2015 azure-microservizi-vforusso
Dnc2015 azure-microservizi-vforusso
 
Meetup RomaJS - introduzione interattiva a Node.js - Luca Lanziani - Codemoti...
Meetup RomaJS - introduzione interattiva a Node.js - Luca Lanziani - Codemoti...Meetup RomaJS - introduzione interattiva a Node.js - Luca Lanziani - Codemoti...
Meetup RomaJS - introduzione interattiva a Node.js - Luca Lanziani - Codemoti...
 
Groovy & Grails eXchange 2012 vert.x presentation
Groovy & Grails eXchange 2012 vert.x presentationGroovy & Grails eXchange 2012 vert.x presentation
Groovy & Grails eXchange 2012 vert.x presentation
 
Zedrick girish p_tryambakee 5102589493
Zedrick girish p_tryambakee 5102589493Zedrick girish p_tryambakee 5102589493
Zedrick girish p_tryambakee 5102589493
 
Modern Architectures with Spring and JavaScript
Modern Architectures with Spring and JavaScriptModern Architectures with Spring and JavaScript
Modern Architectures with Spring and JavaScript
 
Release 8.1 - Breakfast Paris
Release 8.1 - Breakfast ParisRelease 8.1 - Breakfast Paris
Release 8.1 - Breakfast Paris
 
Node js
Node jsNode js
Node js
 
CQ5 and Sling overview
CQ5 and Sling overviewCQ5 and Sling overview
CQ5 and Sling overview
 
Introduction to node.js by jiban
Introduction to node.js by jibanIntroduction to node.js by jiban
Introduction to node.js by jiban
 
(C)NodeJS
(C)NodeJS(C)NodeJS
(C)NodeJS
 
JavaScript on the server - Node.js
JavaScript on the server - Node.jsJavaScript on the server - Node.js
JavaScript on the server - Node.js
 
Polymer / WebComponents
Polymer / WebComponentsPolymer / WebComponents
Polymer / WebComponents
 
Node.js introduction
Node.js introductionNode.js introduction
Node.js introduction
 
Node js Introduction
Node js IntroductionNode js Introduction
Node js Introduction
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Kürzlich hochgeladen (20)

WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 

Node.js + NoSQL