Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Introducción a express - meetup node.js argentina
Search
Dan Zajdband
October 26, 2012
Technology
1
550
Introducción a express - meetup node.js argentina
Dan Zajdband
October 26, 2012
Tweet
Share
More Decks by Dan Zajdband
See All by Dan Zajdband
WebVR for the rest of us @ SRCCON 2016
danzajdband
0
73
Crowdsourcing
danzajdband
0
110
Progressive Web Applications
danzajdband
0
94
Hackdash - Media party 2015
danzajdband
0
49
Servidores... Para qué?
danzajdband
0
190
¿Qué ES 6? - Introducción a ECMAScript y Babel
danzajdband
2
310
La Web Realtime
danzajdband
1
120
JSConfAr 2012
danzajdband
1
130
Other Decks in Technology
See All in Technology
ServiceNow Knowledge Learning Rise up
manarobot
0
210
よく聞くけど使ったことないソフトウェアNo.1 KafkaとSnowflake
foursue
4
360
BPStudyの200回を中心にIT業界を振り返る。そしてこれから
haru860
2
150
R3のコードから見る実践LINQ実装最適化・コンカレントプログラミング実例
neuecc
2
210
Kernel MemoryでAzure OpenAI Serviceとお手軽データソース連携
mitsuzono
1
260
AOAI をきっかけに 社内の Azure 管理を見直した話
recruitengineers
PRO
1
320
オーナーシップを持つ領域を明確にする
konifar
13
3.2k
リテール金融(キャッシュレス・ネット銀行・ネット証券)の競争環境と経済圏
8maki
0
1.3k
今日からできる!簡単 .NET 高速化 Tips -2024 edition-
xin9le
2
380
アクセス制御にまつわる改善 / Improving access control
itkq
0
550
地理空間データ可視化・解析・活用ソリューション Pacific Spatial Solutions (PSS)
pacificspatialsolutions
0
300
Java EE/Jakarta EEの現状と将来―クラウドネイティブ時代にJava EEは対応できるのか?―
takakiyo
1
170
Featured
See All Featured
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
25
2.3k
What the flash - Photography Introduction
edds
64
11k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
2
1.3k
The Straight Up "How To Draw Better" Workshop
denniskardys
227
130k
The Brand Is Dead. Long Live the Brand.
mthomps
49
29k
Fireside Chat
paigeccino
21
2.6k
Web development in the modern age
philhawksworth
202
10k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
274
13k
Building an army of robots
kneath
300
41k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
What’s in a name? Adding method to the madness
productmarketing
PRO
16
2.6k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.9k
Transcript
Introducción a express
Dan Zajdband
@dzajdband
zajdband.com.ar
los-rayos.com.ar
None
La filosofía de node
“Node.js has a relatively small core set of functionality. The
general guideline is that node core contains everything that is strictly necessary to do network programming, and write userland modules.” @izs - node.js maintainer, npm creator
require(‘http’)
require(‘http’).createServer(function(req, res){ res.writeHead(200, {‘Content-Type’: ‘text/plain’}); res.end(‘Piojo Lopez\n’); }).listen(3000);
npm install express
• Powered by Connect • Middleware • Routing • HTTP
helpers • Liviano • Soporta +14 template engines
None
npm install -g express
None
NODE_ENV=development
None
lluvia de módulos
• Socket.IO (https://github.com/LearnBoost/ socket.io) • Passport (https://github.com/jaredhanson/passport) • Mongoose (https://github.com/LearnBoost/
mongoose) • Redis (https://github.com/mranney/node_redis) • Superagent (https://github.com/visionmedia/ superagent)
• Up (https://github.com/LearnBoost/up) • bcrypt (https://github.com/ncb000gt/ node.bcrypt.js/) • Oauth (https://github.com/ciaranj/node-oauth)
• nodemailer (https://github.com/andris9/ Nodemailer) • Jade (https://github.com/visionmedia/jade)
Bonus track
components
client-side package manager
• Componentes modulares • No solo para javascript • templates
• Extensible • Resuelve dependencias • Rápido (mucho más que, por ejemplo, npm)
follow @component_js