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
97
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
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 - S03 (I)
hpneo
0
70
Other Decks in Programming
See All in Programming
それ、本当に安全? ファイルアップロードで見落としがちなセキュリティリスクと対策
penpeen
7
3.9k
Grafana:建立系統全知視角的捷徑
blueswen
0
330
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
310
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
5
780
AIで開発はどれくらい加速したのか?AIエージェントによるコード生成を、現場の評価と研究開発の評価の両面からdeep diveしてみる
daisuketakeda
1
2.5k
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
650
FOSDEM 2026: STUNMESH-go: Building P2P WireGuard Mesh Without Self-Hosted Infrastructure
tjjh89017
0
170
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
180
AgentCoreとHuman in the Loop
har1101
5
240
並行開発のためのコードレビュー
miyukiw
0
930
Best-Practices-for-Cortex-Analyst-and-AI-Agent
ryotaroikeda
1
110
QAフローを最適化し、品質水準を満たしながらリリースまでの期間を最短化する #RSGT2026
shibayu36
2
4.4k
Featured
See All Featured
Un-Boring Meetings
codingconduct
0
200
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
160
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
140
Why Our Code Smells
bkeepers
PRO
340
58k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
100
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
57
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
180
A Soul's Torment
seathinner
5
2.3k
Designing for Performance
lara
610
70k
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 .