3 ms·
Can someone describe their experience with using rails as a back-end JSON API for javascript apps (flux/react or with angular/ember)?
by reaction 11y ago
Can someone describe their experience with using rails as a back-end JSON API for javascript apps (flux/react or with angular/ember)?
- awj 11y agoWe've been happily doing Rails/Ember for about a year now. When we started Ember Data wasn't as stable or as customizable as it is now, so I don't have experience working with that. In general, we've been happy with it. We ended up writing our own serializer system (similar to ActiveModel::Serializers) to provide legacy clients with the option to use XML without losing our minds. Rails has a lot of view-level niceties that we're not using under this scheme, but the rest of the framework is still very useful for this task.