This document discusses integrating Ember.js frontend applications with Rails backends. It provides a brief introduction to Ember.js and its history alongside Rails. It then introduces the EmberCLI Rails gem, which aims to bridge EmberCLI and Rails by handling shared responsibilities like API testing generators and asset compilation/serving to provide a unified development experience. The goals of the gem are to avoid issues of complete separation between frontend and backend while maintaining their separation of concerns.
34. xx
Ember AppKit Rails (gem)
API Testing Generators
Asset
Compilation
Asset
Serving
Rails Ember
• Rails generators for AppKit resources
• Tests accessible in Rails-land
• Simple API versioning
• Compiled to AMD
45. The pitfalls of complete
separation
• No full-stack acceptance testing conventions
• Ad hoc solutions to development workflow
• Doesn't work with existing applications
• Without excessive duplication
• Deployments become more complicated
(conventions)