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
Promesas AngularJS
Search
Daniel Arturo Rodriguez Rosas
October 25, 2014
Programming
0
480
Promesas AngularJS
Presentación de la plática "Yo te espero, Angular" sobre promesas en AngularJS
Daniel Arturo Rodriguez Rosas
October 25, 2014
Tweet
Share
More Decks by Daniel Arturo Rodriguez Rosas
See All by Daniel Arturo Rodriguez Rosas
Angular - Polymer
ardroz
0
67
AngularJS Google IO extended
ardroz
0
58
Versionamiento Git
ardroz
0
35
Other Decks in Programming
See All in Programming
Graviton と Nitro と私
maroon1st
0
170
16年目のピクシブ百科事典を支える最新の技術基盤 / The Modern Tech Stack Powering Pixiv Encyclopedia in its 16th Year
ahuglajbclajep
5
900
疑似コードによるプロンプト記述、どのくらい正確に実行される?
kokuyouwind
0
310
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
340
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.2k
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
120
公共交通オープンデータ × モバイルUX 複雑な運行情報を 『直感』に変換する技術
tinykitten
PRO
0
200
実はマルチモーダルだった。ブラウザの組み込みAI🧠でWebの未来を感じてみよう #jsfes #gemini
n0bisuke2
3
1.5k
Basic Architectures
denyspoltorak
0
500
.NET Conf 2025 の興味のあるセッ ションを復習した / dotnet conf 2025 quick recap for backend engineer
tomohisa
0
120
GISエンジニアから見たLINKSデータ
nokonoko1203
0
190
Combinatorial Interview Problems with Backtracking Solutions - From Imperative Procedural Programming to Declarative Functional Programming - Part 2
philipschwarz
PRO
0
150
Featured
See All Featured
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
44
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.2k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
99
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
370
A better future with KSS
kneath
240
18k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.7k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
150
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
400
Chasing Engaging Ingredients in Design
codingconduct
0
98
Transcript
HOLA! ¡
Daniel Rodriguez @Ardroz
YO TE ESPERO, ANGULAR
[0] Intro [1] $q [2] then [3] success/error [4] chaining
[5] Conclusión
¿Por qué? [0] Intro [1] $q [2] then [3] success/error
[4] chaining [5] Conclusión Programación asíncrona Código bloqueante Callback Hell Manejo de errores
Promesas “Una promesa representa el resultado eventual de una operación.
Esta especifica que hacer cuando una operación es concluida, independientemente del estado de su conclusión (éxito/error)” [0] Intro [1] $q [2] then [3] success/error [4] chaining [5] Conclusión
[0] Intro [1] $q [2] then [3] success/error [4] chaining
[5] Conclusión
$q Kris Kowal’s Q $q.defer() $q.all() [0] Intro [1] $q
[2] then [3] success/error [4] chaining [5] Conclusión
[0] Intro [1] $q [2] then [3] success/error [4] chaining
[5] Conclusión
[0] Intro [1] $q [2] then [3] success/error [4] chaining
[5] Conclusión
[0] Intro [1] $q [2] then [3] success/error [4] chaining
[5] Conclusión
[0] Intro [1] $q [2] then [3] success/error [4] chaining
[5] Conclusión
[0] Intro [1] $q [2] then [3] success/error [4] chaining
[5] Conclusión
[0] Intro [1] $q [2] then [3] success/error [4] chaining
[5] Conclusión .success() .error() .then()
[0] Intro [1] $q [2] then [3] success/error [4] chaining
[5] Conclusión ATENCIÓN Las funciones success/error no forman parte del estándar de promesas, son agregadas como propiedades por parte de $http.
[0] Intro [1] $q [2] then [3] success/error [4] chaining
[5] Conclusión
[0] Intro [1] $q [2] then [3] success/error [4] chaining
[5] Conclusión
Preguntas / Respuestas [0] Intro [1] $q [2] then [3]
success/error [4] chaining [5] Conclusión
¡Quiero más! [0] Intro [1] $q [2] then [3] success/error
[4] chaining [5] Conclusión $q service: docs.angularjs.org/api/ng/service/$q Kris Kowald’s Q: github.com/kriskowal/q Promesas a detalle: dwmkerr.com/promises-in-angularjs-the-definitive-guide/#advancedpromiseschaining Promesas ES6: html5rocks.com/en/tutorials/es6/promises/ Slides: speakerdeck.com/ardroz/promesas-angularjs Cualquier duda, sugerencia, felicitación, reclamo, invitación, etc: Tw: @Ardroz Fb: /DanielArturoRodriguezRosas G+: +DanielRodriguezRosas
Adiós! ¡