Closed Bug 707281 Opened 13 years ago Closed 13 years ago

Router

Categories

(Pancake Graveyard :: Front-end, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sfoster, Assigned: gbrander)

Details

Simple pushstate-based router for defining routes and associating them with "controller" which compose and init each distinct page state. E.g.

* beta (might just be a redirect)
* login
* search
* social
* home

See Davis.js, Sugarskull.js for possible implementations.
We're going to give backbone.js a whirl to use its router and generally try and shortcut some of the stuff we need to do in the front-end code to modularize and grow sanely. 
To that end, I've dropped in backbone and underscore in a backbone-js branch, and loaded them as dependencies in 'main'.. so far so good.
Assignee: nobody → gbrander
Implemented basic Backbone router in backbone-js branch. Tied into simple Controller func. It's currently using just one URL (main/) and running the original code, but this gives us a framework to work with.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.