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
63
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
280
Manejando Docker containers con Ruby y backticks
hpneo
0
360
CodePicnic: Lecciones aprendidas al crear una startup tecnológica
hpneo
0
490
Universal Web apps con JavaScript
hpneo
0
310
gmaps.js - 4 lecciones open source en 4 pasos
hpneo
0
690
Xamarin
hpneo
1
290
Desarrollo FrontEnd con JavaScript - S06
hpneo
0
110
Desarrollo FrontEnd con JavaScript - S05
hpneo
0
63
Desarrollo FrontEnd con JavaScript - S04
hpneo
0
83
Other Decks in Programming
See All in Programming
bootcamp2025_バックエンド研修_WebAPIサーバ作成.pdf
geniee_inc
0
130
Claude Agent SDK を使ってみよう
hyshu
0
1.4k
スキーマ駆動で、Zod OpenAPI Honoによる、API開発するために、Hono Takibiというライブラリを作っている
nakita628
0
320
マンガアプリViewerの大画面対応を考える
kk__777
0
250
デミカツ切り抜きで面倒くさいことはPythonにやらせよう
aokswork3
0
260
monorepo の Go テストをはやくした〜い!~最小の依存解決への道のり~ / faster-testing-of-monorepos
convto
2
550
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
470
AkarengaLT vol.38
hashimoto_kei
1
120
NixOS + Kubernetesで構築する自宅サーバーのすべて
ichi_h3
0
1.2k
What's new in Spring Modulith?
olivergierke
1
170
When Dependencies Fail: Building Antifragile Applications in a Fragile World
selcukusta
0
110
20251016_Rails News ~Rails 8.1の足音を聴く~
morimorihoge
3
730
Featured
See All Featured
Designing for humans not robots
tammielis
254
26k
Speed Design
sergeychernyshev
32
1.2k
We Have a Design System, Now What?
morganepeng
53
7.8k
GraphQLとの向き合い方2022年版
quramy
49
14k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
The Invisible Side of Design
smashingmag
302
51k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
127
54k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.5k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
How GitHub (no longer) Works
holman
315
140k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.2k
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