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
Desarrollo FrontEnd con JavaScript - S03 (I)
Search
Gustavo Leon
November 17, 2013
Programming
0
72
Desarrollo FrontEnd con JavaScript - S03 (I)
S03 - Peticiones asíncronas con XMLHttpRequest:
- Objeto XHR
- JSON
Gustavo Leon
November 17, 2013
Tweet
Share
More Decks by Gustavo Leon
See All by Gustavo Leon
Usando Preact - Una alternativa ligera a React
hpneo
0
320
Manejando Docker containers con Ruby y backticks
hpneo
0
390
CodePicnic: Lecciones aprendidas al crear una startup tecnológica
hpneo
0
530
Universal Web apps con JavaScript
hpneo
0
330
gmaps.js - 4 lecciones open source en 4 pasos
hpneo
0
720
Xamarin
hpneo
1
320
Desarrollo FrontEnd con JavaScript - S06
hpneo
0
110
Desarrollo FrontEnd con JavaScript - S05
hpneo
0
69
Desarrollo FrontEnd con JavaScript - S04
hpneo
0
100
Other Decks in Programming
See All in Programming
RailsのValidatesをSwift Macrosで再現してみた
hokuron
0
140
おれのAgentic Coding 2026/03
tsukasagr
1
110
ネイティブアプリとWebフロントエンドのAPI通信ラッパーにおける共通化の勘所
suguruooki
0
200
Coding at the Speed of Thought: The New Era of Symfony Docker
dunglas
0
1.6k
Codex CLI でつくる、Issue から merge までの開発フロー
amata1219
0
180
CSC307 Lecture 15
javiergs
PRO
0
270
OTP を自動で入力する裏技
megabitsenmzq
0
130
コードレビューをしない選択 #でぃーぷらすトウキョウ
kajitack
3
1.2k
AWS×クラウドネイティブソフトウェア設計 / AWS x Cloud-Native Software Design
nrslib
16
3.4k
生成 AI 時代のスナップショットテストってやつを見せてあげますよ(α版)
ojun9
0
310
AI Assistants for Your Angular Solutions
manfredsteyer
PRO
0
160
今からFlash開発できるわけないじゃん、ムリムリ! (※ムリじゃなかった!?)
arkw
0
160
Featured
See All Featured
sira's awesome portfolio website redesign presentation
elsirapls
0
200
Code Reviewing Like a Champion
maltzj
528
40k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
300
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
110k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
460
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
The browser strikes back
jonoalderson
0
850
Navigating Team Friction
lara
192
16k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
390
SEO for Brand Visibility & Recognition
aleyda
0
4.4k
The untapped power of vector embeddings
frankvandijk
2
1.6k
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