TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Backbone.Rel: Backbone lightweight model relationship manager

48 pointsby masylumabout 13 years ago

2 comments

rohitnairabout 13 years ago
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?
评论 #3789515 未加载
bryanhabout 13 years ago
Awesome. Does this simplify the whole retrieval and setting of relationship as they are loaded via the standard fetch mechanism?<p>A real pain point for us at with Backbone is transversing these relationships in JS. We end up doing redundant renders as related models finally come into memory.
评论 #3789386 未加载