8

Click here to load reader

Node.js by Alex and Nalin

Embed Size (px)

DESCRIPTION

Alex Muresan and Nalin DeZoysa give a high-level presentation on what Node.js is and how it works. They also show a live Tagged application of Node.js and how to use realtime for your app.

Citation preview

Page 1: Node.js by Alex and Nalin

Development Workshops

Node.js

“We enable anyone to meet and socialize with new people”

2011-11-03Nalin DeZoysaAlex Muresan

Page 2: Node.js by Alex and Nalin

Agenda

High level intro to Node.js● What is it? How it works?

Tagged application of Node.js

● How to use Realtime for your app● High level architecture of Realtime

Live examples

● www.tagged.com● Node.js Search / Browse prototype page

What's coming up for Tagged using Node.js

● pub-sub system● presence

Page 3: Node.js by Alex and Nalin

Node.jsWhat is it?

● single threaded, event-based programming model● I/O framework built on top of V8● Binds callbacks to events, instead of creating threads

Example:

Node.js makes it easy to:● create web services● web clients● open raw TCP sockets

Page 4: Node.js by Alex and Nalin

Tagged and Node.jsRealtime use case:

● Push data to one specific target user. PHP:

Tagged Uses of Realtime● alerts● toasts● elections

Page 5: Node.js by Alex and Nalin

Tagged and Node.js

Realtime system architecture:

Page 6: Node.js by Alex and Nalin

Tagged and Node.js

Node.js Search / Browse

Page 7: Node.js by Alex and Nalin

Tagged and Node.js

Node.js Search / Browse

Page 8: Node.js by Alex and Nalin

Tagged and Node.js

Current Projects using Node.js

● �Pub-sub system

● Presence

● Deckadence

● Group Chat