Loading presentation...

Present Remotely

Send the link below via email or IM


Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.


OpenCode#6 - Node, SocketIO, Realtime

short presentation about Node.js, Socket,IO to build a realtime web application

Guillaume Cauchon

on 11 September 2012

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of OpenCode#6 - Node, SocketIO, Realtime

OpenCode #6 Node.js + Socket.IO = Realtime Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive realtime applications that run across distributed devices. - nodejs.org Node.js + Socket.IO = AWESOMENESS npmjs.org - Node Package Manager quelques références... nodeup.com - a Node.JS podcast Node: Up and Running Scalable Server-Side Code with JavaScript
By Tom Hughes-Croucher, Mike Wilson Socket.IO aims to make realtime apps possible in every browser and mobile device, blurring the differences between the different transport mechanisms. It's care-free realtime 100% in JavaScript. - socket.io https://github.com/learnboost/socket.io https://github.com/joyent/node et maintenant un peu de code... var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World\n');
}).listen(1337, '');
console.log('Server running at'); oui oui, un Hello World... Node is similar in design to and influenced by systems like Ruby's Event Machine or Python's Twisted. Node takes the event model a bit further—it presents the event loop as a language construct instead of as a library. [...] About (the event loop)... github.com/gcauchon @gcauchon demo application #1 Twitter Watcher add #hashtag to a watch list
monitor in realtime
5 seconds loop on the server using the Twitter Search API demo application #2 Roche, Papier, Ciseau Rien de plus simple qu'un partie anonyme de Roche, Papier, Ciseau à la "Chat Roulette", mais sans les nombreux perverts! Questions, Commentaires? n'hésitez pas pour m'intérompre au courant de ma présentation! la pointe de l'iceberg!
Full transcript