# PaulUithol/Backbone-relational

Get and set relations (one-to-one, one-to-many, many-to-one) for Backbone models

Repository: https://github.com/PaulUithol/Backbone-relational
Canonical: https://ross.abutalabs.com/products/backbone-relational
Homepage: http://backbonerelational.org
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2022-03-19T00:59:49+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5623, "days_push": 1629, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2322, forks 323 (observed 2026-08-28T04:06:37.177740+00:00)

## What it is
A JavaScript library that adds one-to-one, one-to-many, and many-to-one relations between Backbone models, supporting nested model retrieval and serialization. It extends Backbone's Model and Collection to handle related data automatically.

## Use cases
- manage one-to-many relations between backbone models
- load nested json into related backbone models
- sync related backbone collections automatically
- define many-to-one relationships in backbone apps
- serialize backbone models with nested relations

## When to choose
- you maintain a legacy Backbone application with relational model data
- you need automatic nested model instantiation from JSON in Backbone
- you want bidirectional relation lookups between Backbone models and collections

## When to avoid
- you are starting a new project - Backbone is legacy and this library is in maintenance mode
- you use a modern framework like React, Vue, or Angular
- you need a full ORM with database persistence rather than client-side model relations

## Facets
- artifact type: library
- maturity: maintenance
- function: orm, state-management, serialization
- domain: web-development, frontend, developer-tools
- platform: browser
- tags: backbone, model-relations, nested-models, mvc, legacy-javascript, javascript, nodejs

## Member repositories
- PaulUithol/Backbone-relational (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:37.177740+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:38:37.076566+00:00, confidence not recorded.
  - readme: https://github.com/PaulUithol/Backbone-relational (fetched 2026-08-28T04:06:37.177740+00:00, sha a3e248ee581e)
  - homepage: http://backbonerelational.org (fetched 2026-08-29T10:19:05.732545+00:00, sha cd926d4f731c)
  - registry_npm: https://registry.npmjs.org/backbone-relational (fetched 2026-08-29T10:19:05.735369+00:00, sha e5d19bd59e5a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
