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 - S04
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Gustavo Leon
December 01, 2013
Programming
0
92
Desarrollo FrontEnd con JavaScript - S04
S04 – jQuery, Promises y $.Deferred:
- jQuery.ajax
- Promises y Deferred Object
Gustavo Leon
December 01, 2013
Tweet
Share
More Decks by Gustavo Leon
See All by Gustavo Leon
Usando Preact - Una alternativa ligera a React
hpneo
0
300
Manejando Docker containers con Ruby y backticks
hpneo
0
380
CodePicnic: Lecciones aprendidas al crear una startup tecnológica
hpneo
0
510
Universal Web apps con JavaScript
hpneo
0
320
gmaps.js - 4 lecciones open source en 4 pasos
hpneo
0
710
Xamarin
hpneo
1
300
Desarrollo FrontEnd con JavaScript - S06
hpneo
0
110
Desarrollo FrontEnd con JavaScript - S05
hpneo
0
67
Desarrollo FrontEnd con JavaScript - S03 (I)
hpneo
0
68
Other Decks in Programming
See All in Programming
AI Schema Enrichment for your Oracle AI Database
thatjeffsmith
0
220
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
110
Patterns of Patterns
denyspoltorak
0
1.3k
CSC307 Lecture 05
javiergs
PRO
0
490
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
410
CSC307 Lecture 06
javiergs
PRO
0
680
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
360
2年のAppleウォレットパス開発の振り返り
muno92
PRO
0
200
Denoのセキュリティに関する仕組みの紹介 (toranoana.deno #23)
uki00a
0
280
CSC307 Lecture 07
javiergs
PRO
0
530
re:Invent 2025 トレンドからみる製品開発への AI Agent 活用
yoskoh
0
720
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
170
Featured
See All Featured
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
0
260
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
61
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2k
Context Engineering - Making Every Token Count
addyosmani
9
640
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
420
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
Building AI with AI
inesmontani
PRO
1
670
The Invisible Side of Design
smashingmag
302
51k
Transcript
Desarrollo FrontEnd con JavaScript s04 – jQuery, Promises y $.Deferred
jQuery Manipulación de DOM Manejo de eventos Plugins Ajax
Manipulación de DOM
Manejo de eventos
Plugins
Ajax con jQuery
$.ajax
$.getJSON
$.Deferred Promises + jQuery
Promises • Permite asignar varios callbacks a una petición asíncrona.
• Separa la petición de los callbacks de éxito y error. • Encadena peticiones
Promises con jQuery
Promises – done
Promises – fail
Promises - then
$.when
Deferred Object • Crea funciones asíncronas. • Devuelve un promise.
• : dispara los callbacks en • : dispara los callbacks en
$.Deferred - reject • Con se disparan todos los callbacks
definidos con .