Slide 24
Slide 24 text
Routers
• Can
have
>
1
Routers
• URL
=>
1
route
triggered
across
Routers
• Backbone.history.start();
• PushState,
hashChange,
polling
• PushState
=
URLs
should
be
bookmarkable
(no
404!)
=
Backbone.history
Handlers
Parameter,
splat
&
opDonal
parts
Create
routes
manually
with
#route(route,
name,
[callback])