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
Gustavo Leon
December 01, 2013
Programming
110
0
Share
Desarrollo FrontEnd con JavaScript - S04
S04 – jQuery, Promises y $.Deferred:
- jQuery.ajax
- Promises y Deferred Object
Gustavo Leon
December 01, 2013
More Decks by Gustavo Leon
See All by Gustavo Leon
Usando Preact - Una alternativa ligera a React
hpneo
0
340
Manejando Docker containers con Ruby y backticks
hpneo
0
400
CodePicnic: Lecciones aprendidas al crear una startup tecnológica
hpneo
0
540
Universal Web apps con JavaScript
hpneo
0
340
gmaps.js - 4 lecciones open source en 4 pasos
hpneo
0
730
Xamarin
hpneo
1
320
Desarrollo FrontEnd con JavaScript - S06
hpneo
0
120
Desarrollo FrontEnd con JavaScript - S05
hpneo
0
72
Desarrollo FrontEnd con JavaScript - S03 (I)
hpneo
0
74
Other Decks in Programming
See All in Programming
Agentic UI beyond Chats Architecture Patterns & Open Standards @ngMunich 05/2026
manfredsteyer
PRO
0
170
1人1案件のプロダクトエンジニア時代に、"プロセス監督"としてチャレンジしたこと
non0113
0
350
tsserverとは何だったのか、これからどうなるのか
nowaki28
1
420
The Arts and Crafts of Work in the AI Era — Toward Mastery in Software Development
kuranuki
1
660
分析エージェント精度向上における データアナリストの役割
oura_shoya
0
130
AIチームを指揮するOSS「TAKT」活用術 / How to Use “TAKT,” an OSS Tool for Orchestrating AI Teams
nrslib
6
730
RTSPクライアントを自作してみた話
simotin13
0
310
[BalkanRuby 2026] Drop your app/services!
palkan
3
720
Moments When Things Go Wrong
aurimas
3
120
iOS26時代の新規アプリ開発
yuukiw00w
0
210
新規プロダクトを高速で生み出すハーネスエンジニアリング
seanchas116
15
7.2k
プラグインで拡張される Context をtype-safe にする難しさと設計判断
kazupon
2
430
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.2k
So, you think you're a good person
axbom
PRO
2
2k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
130
Crafting Experiences
bethany
1
160
Claude Code のすすめ
schroneko
67
220k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
190
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.1k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
270
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3.2k
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 .