We're using Ember.js with Ember Data to handle REST backend requests.
- Rake Pipeline setup example
- A skeleton app for rake pipeline
- Tutorial Jan 2012
- Links to resources Feb 2012
We are using a customised version of Twitter Bootstrap Typeahead. There
should be little need to upgrade in the future due to the simplicity of
the library, however should it be necessary then a good read through
bootstrap.js beforehand is required to see what needs to be kept.
Assets are pre-compiled with rake pipeline and served statically:
bundle exec rakep build
For development use the built in server:
bundle exec rakep server
As this is a pre-compiled static page setup that uses HTML5 pushState,
you need to setup your server to redirect requests to the index page. In
Apache this should work automatically with the included
file, however for nginx you must add a rule to your server directive to
rewrite ^(.+)$ /index.html last;
You can turn off pushState, however, in config.js.