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
630
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
78
Crowdsourcing
danzajdband
0
110
Progressive Web Applications
danzajdband
0
130
Hackdash - Media party 2015
danzajdband
0
51
Servidores... Para qué?
danzajdband
0
200
¿Qué ES 6? - Introducción a ECMAScript y Babel
danzajdband
2
330
La Web Realtime
danzajdband
1
130
JSConfAr 2012
danzajdband
1
130
Other Decks in Technology
See All in Technology
Lexical Analysis
shigashiyama
1
150
隣接領域をBeyondするFinatextのエンジニア組織設計 / beyond-engineering-areas
stajima
1
270
SREによる隣接領域への越境とその先の信頼性
shonansurvivors
2
510
Why App Signing Matters for Your Android Apps - Android Bangkok Conference 2024
akexorcist
0
120
テストコード品質を高めるためにMutation Testingライブラリ・Strykerを実戦導入してみた話
ysknsid25
7
2.6k
[FOSS4G 2024 Japan LT] LLMを使ってGISデータ解析を自動化したい!
nssv
1
210
20241120_JAWS_東京_ランチタイムLT#17_AWS認定全冠の先へ
tsumita
2
230
OCI Vault 概要
oracle4engineer
PRO
0
9.7k
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
3.8k
Can We Measure Developer Productivity?
ewolff
1
150
Shopifyアプリ開発における Shopifyの機能活用
sonatard
4
250
透過型SMTPプロキシによる送信メールの可観測性向上: Update Edition / Improved observability of outgoing emails with transparent smtp proxy: Update edition
linyows
2
210
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
800
Raft: Consensus for Rubyists
vanstee
136
6.6k
Typedesign – Prime Four
hannesfritz
40
2.4k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.8k
How to Think Like a Performance Engineer
csswizardry
20
1.1k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
506
140k
Why Our Code Smells
bkeepers
PRO
334
57k
Fireside Chat
paigeccino
34
3k
Ruby is Unlike a Banana
tanoku
97
11k
10 Git Anti Patterns You Should be Aware of
lemiorhan
654
59k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
370
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