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
#nodeIO: Intro a Node.js
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Alejandro Morales
November 20, 2012
Technology
150
1
Share
#nodeIO: Intro a Node.js
Alejandro Morales
November 20, 2012
More Decks by Alejandro Morales
See All by Alejandro Morales
HIS, RIS, PACS y DICOM
alejandromg
0
450
#NodeIO: Cap.3 WebSockets
alejandromg
2
140
JavaScript es cool
alejandromg
1
180
Inventario INT Area Cardiologica
alejandromg
1
74
Other Decks in Technology
See All in Technology
AIを共同作業者にして書籍を執筆する方法 / How to Write a Book with AI as a Co-Creator
ama_ch
2
130
AI時代のガードレールとしてのAPIガバナンス
nagix
0
230
AIエージェントの権限管理 1: MCPサーバー・ツールの Fine grained access control 編
ren8k
3
490
ハーネスエンジニアリングの概要と設計思想
sergicalsix
9
4.7k
猫でもわかるKiro CLI(CDKコーディング編)
kentapapa
1
130
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.4k
最新の脅威動向から考える、コンテナサプライチェーンのリスクと対策
kyohmizu
1
690
Rebirth of Software Craftsmanship in the AI Era
lemiorhan
PRO
4
1.9k
ARIA Notifyについて
ryokatsuse
1
120
レビューしきれない?それは「全て人力でのレビュー」だからではないでしょうか
amixedcolor
0
300
Data Hubグループ 紹介資料
sansan33
PRO
0
2.9k
え!?初参加で 300冊以上 も頒布!? これは大成功!そのはずなのに わいの財布は 赤字 の件
hellohazime
0
160
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Utilizing Notion as your number one productivity tool
mfonobong
4
290
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9k
A Soul's Torment
seathinner
6
2.7k
Fireside Chat
paigeccino
42
3.9k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
370
First, design no harm
axbom
PRO
2
1.2k
Docker and Python
trallard
47
3.8k
New Earth Scene 8
popppiees
3
2.1k
Claude Code のすすめ
schroneko
67
220k
Transcript
+ = #NodeIO
Alejandro Morales Desarrollador Web, Open Source Entusiasta, Astrolover. NaN @_alejandromg
http://git.io/alejandro
¡JavaScript es grande!
Introducción a Node: - ¿Qué es Node, para que es
bueno, quienes lo usan? - ¿Cómo lo instalo, que requisitos necesito para comenzar? - Un JavaScript sin restricciones. - ¿Qué es la programación asíncrona y en eventos? - De npm y módulos, ¿Qué significa require?. - Del protocolo HTTP y Node.
¿Qué es ?
¿Quiénes lo usan?
nodeknockout.com/entries
GRUNT
¿Para que es bueno?
¿Cómo lo instalo?
Diferencias entre navegador y servidor
JS
JS
JS
Programación Asíncrona
Como evitar código piramidal
JS
Escribe código modularizado: más de 500LOC esta mal. No abuses,
mejor reúsa, DRY. Usa librerías que ayuden al control: como async. Usa promesas y futuros. Usa un estilo continuable: . Conoce el lenguaje.
Programación Orientada a Eventos
POE -> Ya la conoces.
En Node es «default»
Módulos y npm
Módulos
Definiendo Módulos
Precauciones con Módulos
La navaja suiza de los packages manager
Instalas Manejas Eliminas Publicas Premias
package.json
El módulo HTTP (http://nodejs.org/api/http.html)
¡Muchas gracias!