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
85
Crowdsourcing
danzajdband
0
120
Progressive Web Applications
danzajdband
0
140
Hackdash - Media party 2015
danzajdband
0
51
Servidores... Para qué?
danzajdband
0
210
¿Qué ES 6? - Introducción a ECMAScript y Babel
danzajdband
2
340
La Web Realtime
danzajdband
1
130
JSConfAr 2012
danzajdband
1
130
Other Decks in Technology
See All in Technology
1等無人航空機操縦士一発試験 合格までの道のり ドローンミートアップ@大阪 2024/12/18
excdinc
0
150
私なりのAIのご紹介 [2024年版]
qt_luigi
1
120
NilAway による静的解析で「10 億ドル」を節約する #kyotogo / Kyoto Go 56th
ytaka23
3
370
LINE Developersプロダクト(LIFF/LINE Login)におけるフロントエンド開発
lycorptech_jp
PRO
0
120
alecthomas/kong はいいぞ / kamakura.go#7
fujiwara3
1
300
OpenAIの蒸留機能(Model Distillation)を使用して運用中のLLMのコストを削減する取り組み
pharma_x_tech
4
550
Snowflake女子会#3 Snowpipeの良さを5分で語るよ
lana2548
0
220
Wvlet: A New Flow-Style Query Language For Functional Data Modeling and Interactive Data Analysis - Trino Summit 2024
xerial
1
110
AWS re:Invent 2024で発表された コードを書く開発者向け機能について
maruto
0
180
KubeCon NA 2024 Recap: How to Move from Ingress to Gateway API with Minimal Hassle
ysakotch
0
200
組織に自動テストを書く文化を根付かせる戦略(2024冬版) / Building Automated Test Culture 2024 Winter Edition
twada
PRO
12
3.5k
OpenShift Virtualizationのネットワーク構成を真剣に考えてみた/OpenShift Virtualization's Network Configuration
tnk4on
0
130
Featured
See All Featured
Become a Pro
speakerdeck
PRO
26
5k
GitHub's CSS Performance
jonrohan
1030
460k
How STYLIGHT went responsive
nonsquared
95
5.2k
Typedesign – Prime Four
hannesfritz
40
2.4k
RailsConf 2023
tenderlove
29
940
Reflections from 52 weeks, 52 projects
jeffersonlam
347
20k
Rails Girls Zürich Keynote
gr2m
94
13k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
95
17k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
How GitHub (no longer) Works
holman
311
140k
Bash Introduction
62gerente
608
210k
Music & Morning Musume
bryan
46
6.2k
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