I have been looking for information about how can we build relationship in Backbone and came across following two nice plugins:
Both seems to have exist more than two years and seems to be stable. However, Backbone-relational
outshines against Backbone-associations
in following terms:
- Providing almost all relations like
one-to-one, one-to-many, many-to-one
as we have in Database - Nice documentation (similar to
Backbone.js
) on first glance
Since, I haven't had time to go through both the plugins extensively, I would like to know from the experienced person following things:
- Does both support AMD (like Requirejs)?
- How easy to use the plugin with back-end-server like Ruby on Rails?
- How easy to implement polymorphic relationship?