Skip to content

spencewood/XboxApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Xbox Voting App

Deployed version: http://xbox.notqualified.org Tests: http://xbox.notqualified.org/test

##Features

  • Built with Spine MVC framework
  • Using Require for modules, dependencies and compression
  • Unit and integration testing with Mocha
  • Utilizes Twitter Bootstrap for non-ugly feel, consistent UI
  • Uses Handlebars for all dynamic templating
  • Stores "session" data in the browser's Local Storage (for keeping track of daily votes)
  • Routing with deep-links. All "pages" are refreshable.

##Code All code under /scripts is mine except for anything under /scripts/lib. All testing scripts are under /test.

##Notes All unit tests pass except some raw web service calls to the API. The tests were written against the spec and should pass, so the calls are not doing what is documented!

Caching initial game data I think is a bad idea. However, keeping it cached over the life of the app and only requesting it when you need it is better. This app only requests the game list when necessary. And yes, it is necessary to request them after adding one.

I didn't go anywhere with web workers because I thought that it would just add unnecessary complexity.

With the speed of this app, there is little need for any kind of progress/loading indicator. My tests to the web service were sub-second. An entire page refresh is under a second as well. Any animation would be too quick.

##Warning Running tests is a destructive task, since it calls all api methods (including clear) during the run.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published