vasilakisfil
vasilakisfil

Reputation: 2329

Ember Data without Ember?

I have been using Ember for 1.5 years now and I have to admit: coming from Rails it totally changed the way I am thinking now about web apps. I has shaped my mind that much that I can't even code front-end stuff on Rails.

But I would like to check other frameworks like React or even write my own mini framework. The thing is that I feel ember-data just like Rails ActiveRecord and it's super good and vital on any js app. No need to re-invent the wheel there. So just like AR, is there a way to build a js app and using Ember-Data in order to explot all the functionality that Ember-Data gives (like models, finders, queries, adapters/serializers etc) ?

Has anyone done such a thing? :D

Upvotes: 6

Views: 456

Answers (2)

kory
kory

Reputation: 76

Reflux (https://github.com/reflux/refluxjs) is the primary choice for a datastore for React. I am not sure about other frameworks. I haven't used it but it is built on a structure called flux that is very well thought out and seems to be getting a lot of traction right now. It is also build around the one way data flow model that React loves to tote(as they should). don't know if it is the right thing for you but it is definitely worth checking out.

Upvotes: -1

Animal Rights
Animal Rights

Reputation: 9397

There are libraries like Ember Data for other frameworks, but from my experience, none of them are as good. To name a few, there is JS Data (the successor to Angular Data), Breeze, and dstore.

Upvotes: 5

Related Questions