Browse files

updating the intro graf for the Router.

  • Loading branch information...
jashkenas committed Aug 10, 2011
1 parent 29b60e5 commit b1822a7b788845cd0741a7676e204aac2561d43d
Showing with 8 additions and 4 deletions.
  1. +8 −4 index.html
@@ -1446,10 +1446,14 @@ <h2 id="Collection">Backbone.Collection</h2>
<h2 id="Router">Backbone.Router</h2>
- Web applications often choose to change their URL fragment (<tt>#fragment</tt>)
- in order to provide shareable, bookmarkable URLs for an Ajax-heavy application.
- <b>Backbone.Router</b> provides methods for routing client-side URL
- fragments, and connecting them to actions and events.
+ Web applications often provide linkable, bookmarkable, shareable URLs for
+ imporant locations in the app. Until recently, hash fragments
+ (<tt>#page</tt>) were used to provide these permalinks, but with the
+ arrival of the History API, it's now possible to use standard URLs (<tt>/page</tt>).
+ <b>Backbone.Router</b> provides methods for routing client-side pages, and
+ connecting them to actions and events. For browsers which don't yet support
+ the History API, the Router handles graceful fallback and transparent
+ translation to the fragment version of the URL.

0 comments on commit b1822a7

Please sign in to comment.