Node.js by Alex and Nalin
Click here to load reader
-
Upload
tagged-social -
Category
Technology
-
view
1.673 -
download
0
description
Transcript of Node.js by Alex and Nalin
![Page 1: Node.js by Alex and Nalin](https://reader038.fdocuments.us/reader038/viewer/2022100523/554a4331b4c9055a408b5056/html5/thumbnails/1.jpg)
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](https://reader038.fdocuments.us/reader038/viewer/2022100523/554a4331b4c9055a408b5056/html5/thumbnails/2.jpg)
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](https://reader038.fdocuments.us/reader038/viewer/2022100523/554a4331b4c9055a408b5056/html5/thumbnails/3.jpg)
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](https://reader038.fdocuments.us/reader038/viewer/2022100523/554a4331b4c9055a408b5056/html5/thumbnails/4.jpg)
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](https://reader038.fdocuments.us/reader038/viewer/2022100523/554a4331b4c9055a408b5056/html5/thumbnails/5.jpg)
Tagged and Node.js
Realtime system architecture:
![Page 6: Node.js by Alex and Nalin](https://reader038.fdocuments.us/reader038/viewer/2022100523/554a4331b4c9055a408b5056/html5/thumbnails/6.jpg)
Tagged and Node.js
Node.js Search / Browse
![Page 7: Node.js by Alex and Nalin](https://reader038.fdocuments.us/reader038/viewer/2022100523/554a4331b4c9055a408b5056/html5/thumbnails/7.jpg)
Tagged and Node.js
Node.js Search / Browse
![Page 8: Node.js by Alex and Nalin](https://reader038.fdocuments.us/reader038/viewer/2022100523/554a4331b4c9055a408b5056/html5/thumbnails/8.jpg)
Tagged and Node.js
Current Projects using Node.js
● �Pub-sub system
● Presence
● Deckadence
● Group Chat