Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Desarrollo FrontEnd con JavaScript - S03 (I)
Search
Gustavo Leon
November 17, 2013
Programming
82
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Desarrollo FrontEnd con JavaScript - S03 (I)
S03 - Peticiones asíncronas con XMLHttpRequest:
- Objeto XHR
- JSON
Gustavo Leon
November 17, 2013
More Decks by Gustavo Leon
See All by Gustavo Leon
Usando Preact - Una alternativa ligera a React
hpneo
0
360
Manejando Docker containers con Ruby y backticks
hpneo
0
410
CodePicnic: Lecciones aprendidas al crear una startup tecnológica
hpneo
0
560
Universal Web apps con JavaScript
hpneo
0
360
gmaps.js - 4 lecciones open source en 4 pasos
hpneo
0
750
Xamarin
hpneo
1
330
Desarrollo FrontEnd con JavaScript - S06
hpneo
0
130
Desarrollo FrontEnd con JavaScript - S05
hpneo
0
83
Desarrollo FrontEnd con JavaScript - S04
hpneo
0
110
Other Decks in Programming
See All in Programming
『寄り添うラジオ』をAIで作る 体験価値から逆算した、会話しないUXと品質設計
theoriatec2024
3
150
XP祭りでしか伝わらないフリップネタ #xpjug
murabayashi
0
130
数年滞っていたダークモード対応をおよそ2週間で完了させる
chigichan24
0
700
Kiroで創り、AgentCoreで繋ぐ!AWSで実践する「AI-DLC」から「AIエージェント統合」までの最新地図
licux
4
640
まだ間に合う!今年の夏こそSchemeのマクロ展開器を完全理解!
omasanori
0
650
コンパウンドプロダクト開発のためのローカルプロセスマネージャー再発明 #layerxgo
izumin5210
0
660
Swift愛好会と私(ウホーイ) / Swift Fan Club and Uhooi
uhooi
0
150
MIZARU@SPAJAM2026 第二回予選
1901drama
0
110
kubernetes コンポーネント開発入門 / 新卒N年目の勉強会&交流会!〜〇〇への誘い〜 #n_study
mazrean
0
200
AIを上手に使っていこうとしたら越境せざるを得なくなった話 〜実践1年で見えた境界を越えなければならない理由と進め方〜 / Crossing borders with AI
tomoyakitaura
4
1.1k
ソフトウェアラスタライザ
fadis
1
800
AIの中の人になってみる
htkym
0
170
Featured
See All Featured
Building AI with AI
inesmontani
PRO
1
1.2k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
690
Facilitating Awesome Meetings
lara
57
7.1k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
30 Presentation Tips
portentint
PRO
1
390
A designer walks into a library…
pauljervisheath
211
25k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
440
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
700
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
230
The browser strikes back
jonoalderson
0
1.7k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
4
620
Transcript
Desarrollo FrontEnd con JavaScript s03 – Peticiones asíncronas con XMLHttpRequest
Objeto XHR
Enviando peticiones con XHR
XHR – Propiedades • readyState • 0: No iniciado •
1: Iniciado • 2: Enviado • 3: En proceso • 4: Completo • status • 200: OK • 304: Not Modified • 403: Forbidden • 404: Not Found • 500: Internal Error
XHR – Usando FormData
JSON
JSON – Sintaxis • Similar a un objeto plano. •
Los keys van entre comillas. • Los valores pueden ser números, cadenas, booleans, arrays u otros objetos.
JSON – Métodos • parse • stringify