I’ve been using Firebase with Ember.js quite a lot recently and have just released Fireplace, a library to integrate the two more easily. It’s been extracted from a rather large application so is driven from real world usage.
There’s EmberFire but, aside from it not existing when I started to write Fireplace, it doesn’t support relationships or many other basic / advanced features I’d want in an Ember persistence library.
Anyone who’s used Ember Model or Ember Data should feel at home with Fireplace as I’ve taken inspiration (and code) from many parts of them when developing it.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
|
Fireplace has full support for promises, so fits in nicely with Ember’s router:
1 2 3 4 5 6 7 8 9 10 11 |
|
Check out the project on Github for more details.
Feedback & pull requests are very welcome!