Skip to content

Comment on Backbone.Rel: Backbone lightweight model relationship manager

Comments

This looks neat! But obvious question, how does this compare to the Backbone-relational library? One useful feature in Backbone-relational is the includeInJSON option, which can be used to either include/ignore or select a single attribute from the related model to be included in the toJSON output of the parent model. Would you have to manually do that here?

That's what I was going to ask.

I am by no means an expert, but syntactically, I prefer how backbone-relational does things so that it looks and feels more like working with native Backbone objects, but I honestly don't know what's different about this otherwise.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.