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 - S06
Search
Gustavo Leon
December 08, 2013
Programming
0
87
Desarrollo FrontEnd con JavaScript - S06
S06 - Backbone.js : Vistas y routers:
- Backbone.js: Vistas
- Backbone.js: Routers
Gustavo Leon
December 08, 2013
Tweet
Share
More Decks by Gustavo Leon
See All by Gustavo Leon
Usando Preact - Una alternativa ligera a React
hpneo
0
160
Manejando Docker containers con Ruby y backticks
hpneo
0
230
CodePicnic: Lecciones aprendidas al crear una startup tecnológica
hpneo
0
350
Universal Web apps con JavaScript
hpneo
0
210
gmaps.js - 4 lecciones open source en 4 pasos
hpneo
0
600
Xamarin
hpneo
1
220
Desarrollo FrontEnd con JavaScript - S05
hpneo
0
44
Desarrollo FrontEnd con JavaScript - S04
hpneo
0
66
Desarrollo FrontEnd con JavaScript - S03 (I)
hpneo
0
43
Other Decks in Programming
See All in Programming
StoreKit2によるiOSのアプリ内課金のリニューアル
kangnux
0
130
Sheets API使ってみた
toshi0383
2
170
Implementing Design Systems in Swift
seyfoyun
2
480
Behind VS Code Extensions for JavaScript / TypeScript Linnting and Formatting
unvalley
6
1.3k
検証も兼ねて個人開発でHonoとかと向き合った話
hanetsuki
1
1.3k
Milestoner
bkuhlmann
1
420
ServerAction で Progressive Enhancement はどこまで頑張れるか? / progressive-enhancement-with-server-action
takefumiyoshii
6
440
『Railsオワコン』と言われる時代に、なぜブルーモ証券はRailsを選ぶのか
free_world21
1
390
2 週間で Twitter Bot を作ってみた
contour_gara
0
780
SIMD Parallel Programming with the Vector API
josepaumard
0
230
はてなにおける CSS Modules、及び CSS Modules に足りないもの / CSS Modules in Hatena, and CSS Modules missing parts
mizdra
7
990
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
1.1k
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
13
4.6k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
8
3.4k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
242
1.2M
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
188
16k
Facilitating Awesome Meetings
lara
43
5.6k
Learning to Love Humans: Emotional Interface Design
aarron
267
39k
[RailsConf 2023] Rails as a piece of cake
palkan
28
4k
Stop Working from a Prison Cell
hatefulcrawdad
267
19k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
The Straight Up "How To Draw Better" Workshop
denniskardys
228
130k
Done Done
chrislema
178
15k
What the flash - Photography Introduction
edds
64
11k
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.