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 #05
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Gustavo Leon
February 15, 2013
0
61
Desarrollo FrontEnd con JavaScript #05
Gustavo Leon
February 15, 2013
Tweet
Share
More Decks by Gustavo Leon
See All by Gustavo Leon
Usando Preact - Una alternativa ligera a React
hpneo
0
310
Manejando Docker containers con Ruby y backticks
hpneo
0
380
CodePicnic: Lecciones aprendidas al crear una startup tecnológica
hpneo
0
520
Universal Web apps con JavaScript
hpneo
0
320
gmaps.js - 4 lecciones open source en 4 pasos
hpneo
0
710
Xamarin
hpneo
1
310
Desarrollo FrontEnd con JavaScript - S06
hpneo
0
110
Desarrollo FrontEnd con JavaScript - S05
hpneo
0
67
Desarrollo FrontEnd con JavaScript - S04
hpneo
0
96
Featured
See All Featured
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.6k
Prompt Engineering for Job Search
mfonobong
0
160
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
180
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
940
Accessibility Awareness
sabderemane
0
51
My Coaching Mixtape
mlcsv
0
48
Documentation Writing (for coders)
carmenintech
77
5.3k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
240
Writing Fast Ruby
sferik
630
62k
Amusing Abliteration
ianozsvald
0
100
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Transcript
#05 – promises / deferred object
None
Promises • Permite asignar varios callbacks a una petición asíncrona
• Separa la petición asíncrona de los callbacks de error y éxito • Encadena peticiones asíncronas
Promises con jQuery
Promises con jQuery
None
Deferred • Sirve para crear funciones asíncronas • Devuelve un
promise. • resolve : dispara los callbacks en done • reject : dispara los callbacks en fail
Deferred Object