• Save
New paradigms
Upcoming SlideShare
Loading in...5
×
 

New paradigms

on

  • 936 views

 

Statistics

Views

Total Views
936
Views on SlideShare
933
Embed Views
3

Actions

Likes
0
Downloads
0
Comments
0

3 Embeds 3

https://si0.twimg.com 1
https://twitter.com 1
http://pinterest.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

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

New paradigms New paradigms Presentation Transcript

  • Hands-on NodejsIntroduction to paradigm shift. Borja A. Espejo García
  • Key points● Introduction to Nodejs● Nodejs Lab● Introduction to NoSQL technologies● Nodejs + MongoDB Lab● Introduction to Twitter Bootstrap● Nodejs + GUI using Twitter Bootstrap & Jade
  • Introduction to Nodejs (I)● Framework● Server-side software (client too)● Programs are written in Javascript● Scalability● Efficenty● Community
  • Introduction to Nodejs (II)● Events are a key point● Javascript V8 → Google Chrome● Less footprint in memory● Linkedin, Microsoft...● http://nodeknockout.com (Hackaton)● Frameworks based on Nodejs .. ¿Platform? – Meteor JS – Grunt – Yeoman – ....
  • NodejsLab● HelloWorld!!● Lets build a client – server application.... ….............in only 2 minutes, why more? (Sources and steps to build the application are in etherpad).
  • NoSQL technologies (I)● Born because of new necesities. (Big Data)● Relational databases are not a good solution in many cases.● Efficency.● Twitter, Facebook use it ….and you?● Different implementations with a common basis.
  • NoSQL technologies (II)● Document strore – MongoDB, CouchDB...● Graph – Neo4j....● Key-value store – Voldemort, Riak,..● Big Table – Cassandra, Hadoop...
  • MongoDB● Document-oriented storage. (JSON) – Document VS Row – Collection VS Table● Replication & High Avaliability● SubCollections● Querying● Map/Reduce● Dynamic schemas
  • CRUD Application● CREATE - db.collection.insert( <document> )● READ – db.collection.find( <query>, <projection> )● UPDATE – db.collection.update( <query>, <update>, <options> )● DELETE – db.collection.remove( <query>, <justOne> )
  • Nodejs + MongoDB Lab● Lets build a Music Service....in only 5 minutes!!● Rest design is a good choice!● The persistance layer is gonna be managed with MongoDB and Mongoose.● We are gonna use Internet Explorer...just joking! (Sources are steps to build the application are on etherpad)
  • Bootstrap Twitter● Framweork to speed up the web application building.● Web design toolkit, css framework, grid system.● You – Dont know css – know css but you dont know about design● Jade is a template engine.● Jade is cleaner than HTML● Jade comes by default with express framework
  • My next hands-on● Hadoop● Apache Mahout
  • Lets make knowledge!● Opinions?● Future?● Help you?
  • Links to Knowledge● http://www.couchbase.com/why-nosql/nosql-d atabase● http://en.wikipedia.org/wiki/MapReduce● http://nodejs.org● http://expressjs.com● http://www.mongodb.org● https://npmjs.org