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
58
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
260
Manejando Docker containers con Ruby y backticks
hpneo
0
350
CodePicnic: Lecciones aprendidas al crear una startup tecnológica
hpneo
0
470
Universal Web apps con JavaScript
hpneo
0
300
gmaps.js - 4 lecciones open source en 4 pasos
hpneo
0
680
Xamarin
hpneo
1
280
Desarrollo FrontEnd con JavaScript - S06
hpneo
0
100
Desarrollo FrontEnd con JavaScript - S05
hpneo
0
60
Desarrollo FrontEnd con JavaScript - S04
hpneo
0
81
Other Decks in Programming
See All in Programming
なぜ適用するか、移行して理解するClean Architecture 〜構造を超えて設計を継承する〜 / Why Apply, Migrate and Understand Clean Architecture - Inherit Design Beyond Structure
seike460
PRO
1
280
カクヨムAndroidアプリのリブート
numeroanddev
0
430
Team topologies and the microservice architecture: a synergistic relationship
cer
PRO
0
930
Cursor AI Agentと伴走する アプリケーションの高速リプレイス
daisuketakeda
1
120
「Cursor/Devin全社導入の理想と現実」のその後
saitoryc
0
110
DroidKnights 2025 - 다양한 스크롤 뷰에서의 영상 재생
gaeun5744
3
300
PHP 8.4の新機能「プロパティフック」から学ぶオブジェクト指向設計とリスコフの置換原則
kentaroutakeda
1
310
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
110
データベースコネクションプール(DBCP)の変遷と理解
fujikawa8
1
270
イベントストーミング図からコードへの変換手順 / Procedure for Converting Event Storming Diagrams to Code
nrslib
1
140
Bytecode Manipulation 으로 생산성 높이기
bigstark
2
360
Passkeys for Java Developers
ynojima
3
880
Featured
See All Featured
What's in a price? How to price your products and services
michaelherold
245
12k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Faster Mobile Websites
deanohume
307
31k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
Making the Leap to Tech Lead
cromwellryan
134
9.3k
It's Worth the Effort
3n
184
28k
KATA
mclloyd
29
14k
The Language of Interfaces
destraynor
158
25k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
790
RailsConf 2023
tenderlove
30
1.1k
Done Done
chrislema
184
16k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
490
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