Enviar búsqueda
Cargar
How to stop writing spaghetti code - JSConf.eu 2010
•
7 recomendaciones
•
3,344 vistas
Tom Croucher
Seguir
Tecnología
Denunciar
Compartir
Denunciar
Compartir
1 de 22
Descargar ahora
Descargar para leer sin conexión
Recomendados
Func
Func
Hvqr
Socket.io - Intro
Socket.io - Intro
Antonio Kobashikawa Carrasco
Novatadas en java
Novatadas en java
wmca28
Modern Mobile Web Apps
Modern Mobile Web Apps
dynamis
Node.JS
Node.JS
eibaan
Rest api
Rest api
이경주 이경주
Tugas pemrograman jaringan
Tugas pemrograman jaringan
Banser Sahara
Discover ServiceWorker
Discover ServiceWorker
Sandro Paganotti
Recomendados
Func
Func
Hvqr
Socket.io - Intro
Socket.io - Intro
Antonio Kobashikawa Carrasco
Novatadas en java
Novatadas en java
wmca28
Modern Mobile Web Apps
Modern Mobile Web Apps
dynamis
Node.JS
Node.JS
eibaan
Rest api
Rest api
이경주 이경주
Tugas pemrograman jaringan
Tugas pemrograman jaringan
Banser Sahara
Discover ServiceWorker
Discover ServiceWorker
Sandro Paganotti
Clase 10 electiva profesional 3 aws rds php y mysql
Clase 10 electiva profesional 3 aws rds php y mysql
Richard Eliseo Mendoza Gafaro
Sockets java
Sockets java
Giovani Hernandez
Simular un next del recordset en php de forma rudimentaria
Simular un next del recordset en php de forma rudimentaria
jbersosa
Progressive Mobile Web Apps
Progressive Mobile Web Apps
dynamis
Parse
Parse
Gustavo Barbosa
L’enfer des callbacks
L’enfer des callbacks
Aurélien Bourdon
Colecções C#
Colecções C#
nonametgp1
Introducing Ballerina
Introducing Ballerina
WSO2
JavaScript Tips
JavaScript Tips
裕介 藤木
ECMA2015 INSIDE
ECMA2015 INSIDE
Jun Ho Lee
Barcamp
Barcamp
renelc
Mejor project
Mejor project
ajeet yadav
Using Node.js to Build Great Streaming Services - HTML5 Dev Conf
Using Node.js to Build Great Streaming Services - HTML5 Dev Conf
Tom Croucher
Streams are Awesome - (Node.js) TimesOpen Sep 2012
Streams are Awesome - (Node.js) TimesOpen Sep 2012
Tom Croucher
Using Node.js to improve the performance of Mobile apps and Mobile web
Using Node.js to improve the performance of Mobile apps and Mobile web
Tom Croucher
Writing robust Node.js applications
Writing robust Node.js applications
Tom Croucher
Creating the Internet of Things with JavaScript - Fluent Conf
Creating the Internet of Things with JavaScript - Fluent Conf
Tom Croucher
Using Node.js to make HTML5 work for everyone
Using Node.js to make HTML5 work for everyone
Tom Croucher
A million connections and beyond - Node.js at scale
A million connections and beyond - Node.js at scale
Tom Croucher
OSCON 2011 - Node.js Tutorial
OSCON 2011 - Node.js Tutorial
Tom Croucher
Lessons from a coding veteran - Web Directions @Media
Lessons from a coding veteran - Web Directions @Media
Tom Croucher
Multi-tiered Node Architectures - JSConf 2011
Multi-tiered Node Architectures - JSConf 2011
Tom Croucher
Más contenido relacionado
La actualidad más candente
Clase 10 electiva profesional 3 aws rds php y mysql
Clase 10 electiva profesional 3 aws rds php y mysql
Richard Eliseo Mendoza Gafaro
Sockets java
Sockets java
Giovani Hernandez
Simular un next del recordset en php de forma rudimentaria
Simular un next del recordset en php de forma rudimentaria
jbersosa
Progressive Mobile Web Apps
Progressive Mobile Web Apps
dynamis
Parse
Parse
Gustavo Barbosa
L’enfer des callbacks
L’enfer des callbacks
Aurélien Bourdon
Colecções C#
Colecções C#
nonametgp1
Introducing Ballerina
Introducing Ballerina
WSO2
JavaScript Tips
JavaScript Tips
裕介 藤木
ECMA2015 INSIDE
ECMA2015 INSIDE
Jun Ho Lee
Barcamp
Barcamp
renelc
Mejor project
Mejor project
ajeet yadav
La actualidad más candente
(12)
Clase 10 electiva profesional 3 aws rds php y mysql
Clase 10 electiva profesional 3 aws rds php y mysql
Sockets java
Sockets java
Simular un next del recordset en php de forma rudimentaria
Simular un next del recordset en php de forma rudimentaria
Progressive Mobile Web Apps
Progressive Mobile Web Apps
Parse
Parse
L’enfer des callbacks
L’enfer des callbacks
Colecções C#
Colecções C#
Introducing Ballerina
Introducing Ballerina
JavaScript Tips
JavaScript Tips
ECMA2015 INSIDE
ECMA2015 INSIDE
Barcamp
Barcamp
Mejor project
Mejor project
Más de Tom Croucher
Using Node.js to Build Great Streaming Services - HTML5 Dev Conf
Using Node.js to Build Great Streaming Services - HTML5 Dev Conf
Tom Croucher
Streams are Awesome - (Node.js) TimesOpen Sep 2012
Streams are Awesome - (Node.js) TimesOpen Sep 2012
Tom Croucher
Using Node.js to improve the performance of Mobile apps and Mobile web
Using Node.js to improve the performance of Mobile apps and Mobile web
Tom Croucher
Writing robust Node.js applications
Writing robust Node.js applications
Tom Croucher
Creating the Internet of Things with JavaScript - Fluent Conf
Creating the Internet of Things with JavaScript - Fluent Conf
Tom Croucher
Using Node.js to make HTML5 work for everyone
Using Node.js to make HTML5 work for everyone
Tom Croucher
A million connections and beyond - Node.js at scale
A million connections and beyond - Node.js at scale
Tom Croucher
OSCON 2011 - Node.js Tutorial
OSCON 2011 - Node.js Tutorial
Tom Croucher
Lessons from a coding veteran - Web Directions @Media
Lessons from a coding veteran - Web Directions @Media
Tom Croucher
Multi-tiered Node Architectures - JSConf 2011
Multi-tiered Node Architectures - JSConf 2011
Tom Croucher
A language for the Internet: Why JavaScript and Node.js is right for Internet...
A language for the Internet: Why JavaScript and Node.js is right for Internet...
Tom Croucher
A language for the Internet: Why JavaScript and Node.js is right for Internet...
A language for the Internet: Why JavaScript and Node.js is right for Internet...
Tom Croucher
How to stop writing spaghetti code
How to stop writing spaghetti code
Tom Croucher
Doing Horrible Things with DNS - Web Directions South
Doing Horrible Things with DNS - Web Directions South
Tom Croucher
Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup
Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup
Tom Croucher
JavaScript is the new black - Why Node.js is going to rock your world - Web 2...
JavaScript is the new black - Why Node.js is going to rock your world - Web 2...
Tom Croucher
Sf perf
Sf perf
Tom Croucher
Node.js and How JavaScript is Changing Server Programming
Node.js and How JavaScript is Changing Server Programming
Tom Croucher
Server Side JavaScript - You ain't seen nothing yet
Server Side JavaScript - You ain't seen nothing yet
Tom Croucher
JavaScript Everywhere! Creating a 100% JavaScript web stack
JavaScript Everywhere! Creating a 100% JavaScript web stack
Tom Croucher
Más de Tom Croucher
(20)
Using Node.js to Build Great Streaming Services - HTML5 Dev Conf
Using Node.js to Build Great Streaming Services - HTML5 Dev Conf
Streams are Awesome - (Node.js) TimesOpen Sep 2012
Streams are Awesome - (Node.js) TimesOpen Sep 2012
Using Node.js to improve the performance of Mobile apps and Mobile web
Using Node.js to improve the performance of Mobile apps and Mobile web
Writing robust Node.js applications
Writing robust Node.js applications
Creating the Internet of Things with JavaScript - Fluent Conf
Creating the Internet of Things with JavaScript - Fluent Conf
Using Node.js to make HTML5 work for everyone
Using Node.js to make HTML5 work for everyone
A million connections and beyond - Node.js at scale
A million connections and beyond - Node.js at scale
OSCON 2011 - Node.js Tutorial
OSCON 2011 - Node.js Tutorial
Lessons from a coding veteran - Web Directions @Media
Lessons from a coding veteran - Web Directions @Media
Multi-tiered Node Architectures - JSConf 2011
Multi-tiered Node Architectures - JSConf 2011
A language for the Internet: Why JavaScript and Node.js is right for Internet...
A language for the Internet: Why JavaScript and Node.js is right for Internet...
A language for the Internet: Why JavaScript and Node.js is right for Internet...
A language for the Internet: Why JavaScript and Node.js is right for Internet...
How to stop writing spaghetti code
How to stop writing spaghetti code
Doing Horrible Things with DNS - Web Directions South
Doing Horrible Things with DNS - Web Directions South
Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup
Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup
JavaScript is the new black - Why Node.js is going to rock your world - Web 2...
JavaScript is the new black - Why Node.js is going to rock your world - Web 2...
Sf perf
Sf perf
Node.js and How JavaScript is Changing Server Programming
Node.js and How JavaScript is Changing Server Programming
Server Side JavaScript - You ain't seen nothing yet
Server Side JavaScript - You ain't seen nothing yet
JavaScript Everywhere! Creating a 100% JavaScript web stack
JavaScript Everywhere! Creating a 100% JavaScript web stack
How to stop writing spaghetti code - JSConf.eu 2010
1.
2.
3.
4.
5.
6.
7.
8.
EE = require('events').EventEmitter; ee
= new EE(); die = false; ee.on('die', function() { die = true; }); setTimeout(function() { ee.emit('die'); }, 100); while(!die) { } console.log('done');
9.
10.
11.
12.
13.
14.
15.
var http =
require('http'); http.createServer(function (req, res) { res.writeHead(200, {'Content-Type': 'text/plain'}); res.end('Hello Worldn'); }).listen(8124, "127.0.0.1"); console.log('Server running at http://127.0.0.1:8124/'
16.
http.createServer(function (req, res)
{ })
17.
18.
var server =
Server.createServer(server.createReq(req, res));
Notas del editor
Descargar ahora