Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Desarrollo FrontEnd con JavaScript - S06
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Gustavo Leon
December 08, 2013
Programming
130
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Desarrollo FrontEnd con JavaScript - S06
S06 - Backbone.js : Vistas y routers:
- Backbone.js: Vistas
- Backbone.js: Routers
Gustavo Leon
December 08, 2013
More Decks by Gustavo Leon
See All by Gustavo Leon
Usando Preact - Una alternativa ligera a React
hpneo
0
370
Manejando Docker containers con Ruby y backticks
hpneo
0
410
CodePicnic: Lecciones aprendidas al crear una startup tecnológica
hpneo
0
560
Universal Web apps con JavaScript
hpneo
0
360
gmaps.js - 4 lecciones open source en 4 pasos
hpneo
0
750
Xamarin
hpneo
1
330
Desarrollo FrontEnd con JavaScript - S05
hpneo
0
83
Desarrollo FrontEnd con JavaScript - S04
hpneo
0
110
Desarrollo FrontEnd con JavaScript - S03 (I)
hpneo
0
82
Other Decks in Programming
See All in Programming
Security issues being discussed on Web Platforms
petamoriken
0
1.2k
AI Agent時代のリアーキテクチャ戦略と実践
hokaccha
9
5k
Verilogで学ぶCPU自作入門.pdf
uyuki234
8
3.4k
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
290
モバイル交通系ICへのチャージ実例から考える、クロスプラットフォーム開発におけるiOS実機テスト設計とCI運用
yusuga
1
540
TiDB Cloudのカスタムコントローラーによるオートスケール対応
takaidohigasi
0
140
FreeBSDでZabbixを動かす
kenkino
0
330
SONY CISC-NEWS NWS-1750 + NWB-225 フレームバッファの NetBSD/news68k ドライバ実装 / OSC2026Hiroshima
tsutsui
0
150
カツオ、ご期待ください
suneo3476
0
100
個人開発基盤をまるごとCloudflareに引っ越して爆速で総合的体験を向上させた話
tinykitten
0
210
海上で動くGoサーバー: goroutineとchannelでさばく航行データストリーム
atsuki_seo
0
940
JRuby: Past, Present, and Future
headius
0
210
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.6k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
280
Thoughts on Productivity
jonyablonski
76
5.4k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
Statistics for Hackers
jakevdp
799
230k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
490
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
540
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.5k
Ethics towards AI in product and experience design
skipperchong
2
380
Producing Creativity
orderedlist
PRO
348
41k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
570
Transcript
Desarrollo FrontEnd con JavaScript s05 – Backbone.js : Vistas y
routers
Backbone.js Model Collection View Router
Backbone.View
Backbone.View
Backbone.View • Maneja la interacción de la aplicación con el
usuario. • Escucha los cambios realizados en el modelo o colección.
Backbone.View • El manejo de renderizado depende del usuario. •
Permite usar templates: • Underscore.js • Haml-js • Mustache.js • Handlebars.js
Backbone.Router
Backbone.Router
Backbone.Router • Conecta rutas con funciones que manejan el flujo
de la aplicación.
Backbone.history
Backbone.history • Inicializa la aplicación, empezando a capturar los eventos
hashchange. • start() debe ser llamado después de haber inicializado todos los routers de la aplicación.