TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Backbone.Rel: Backbone lightweight model relationship manager

48 点作者 masylum大约 13 年前

2 条评论

rohitnair大约 13 年前
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 未加载
bryanh大约 13 年前
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 未加载