Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
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
65
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
290
Manejando Docker containers con Ruby y backticks
hpneo
0
360
CodePicnic: Lecciones aprendidas al crear una startup tecnológica
hpneo
0
510
Universal Web apps con JavaScript
hpneo
0
310
gmaps.js - 4 lecciones open source en 4 pasos
hpneo
0
700
Xamarin
hpneo
1
300
Desarrollo FrontEnd con JavaScript - S06
hpneo
0
110
Desarrollo FrontEnd con JavaScript - S05
hpneo
0
66
Desarrollo FrontEnd con JavaScript - S04
hpneo
0
87
Other Decks in Programming
See All in Programming
C-Shared Buildで突破するAI Agent バックテストの壁
po3rin
0
390
著者と進める!『AIと個人開発したくなったらまずCursorで要件定義だ!』
yasunacoffee
0
140
tsgolintはいかにしてtypescript-goの非公開APIを呼び出しているのか
syumai
6
2.2k
ZOZOにおけるAI活用の現在 ~モバイルアプリ開発でのAI活用状況と事例~
zozotech
PRO
8
5.7k
TUIライブラリつくってみた / i-just-make-TUI-library
kazto
1
380
チームをチームにするEM
hitode909
0
330
Integrating WordPress and Symfony
alexandresalome
0
150
Cell-Based Architecture
larchanjo
0
120
【Streamlit x Snowflake】データ基盤からアプリ開発・AI活用まで、すべてをSnowflake内で実現
ayumu_yamaguchi
1
120
251126 TestState APIってなんだっけ?Step Functionsテストどう変わる?
east_takumi
0
320
なあ兄弟、 余白の意味を考えてから UI実装してくれ!
ktcryomm
11
11k
Full-Cycle Reactivity in Angular: SignalStore mit Signal Forms und Resources
manfredsteyer
PRO
0
140
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
How to train your dragon (web standard)
notwaldorf
97
6.4k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Designing for Performance
lara
610
69k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.3k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Designing Experiences People Love
moore
143
24k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
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