Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
spwa-backbone is a script written to demonstrate the power of Backbone.js and also provide a simple and quick way to make single page web applications. You could certainly use this script by itself to make quick sites but most 'applications' are going to have additional code and libraries. To create additional 'pages', just duplicate the script block, make sure the id is 'PAGENAME-template' (where you put your own pagename) and then link to the page using a similar convention to the menu above. The script will automatically load all the 'pages' into Backbone.js and watch for hash tag changes. The only required page is the home-template page, so the application has a 'default'. For more information or examples check out Github at: http://github.com/ibjhb/spwa-backbone/ or on http://www.coldfusioning.com You can view the annotated source here: http://ibjhb.github.com/spwa-backbone/