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
370
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
Turning Architecture into Unit Tests in the AI Era (NSSpain XIV)
steliosf
PRO
1
140
AI時代のコードレビューは人に向けるな、仕組みに向けろ
texmeijin
5
3.6k
SREの越境 / SRE Collaboration
y0hgi
2
300
速習iPhone Duo対応
yuukiw00w
2
980
SalesForceを内製化!? ~ HR事業を支える顧客管理基盤のインフラを大公開 ~
oku053
0
160
最近”作らせてる” ローカルAIアプリの話
akit37
0
440
Compiling a real-world CLI tool to native with Static Hermes
tmikov2023
0
110
CodeRabbitの効果検証と過ごしてみた3ヶ月
armondando
0
210
Jetpack Compose Mechanisms
skydoves
2
680
C#の現在地 進化の歴史と、AI時代の.NET Everywhere
neuecc
5
5k
APNsからLive Activityを開始する話
yumnumm
0
160
Vue Fes Japan 2026 タイムテーブル徹底解説
448jp
1
650
Featured
See All Featured
Unsuck your backbone
ammeep
672
58k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
YesSQL, Process and Tooling at Scale
rocio
174
15k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
710
Large-scale JavaScript Application Architecture
addyosmani
516
110k
Odyssey Design
rkendrick25
PRO
2
870
Amusing Abliteration
ianozsvald
1
330
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
260
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
280
Claude Code のすすめ
schroneko
67
230k
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