{"id":19151444,"url":"https://github.com/sc5/backbone-serverside-adapters","last_synced_at":"2025-07-08T12:36:38.330Z","repository":{"id":7650270,"uuid":"9011032","full_name":"SC5/backbone-serverside-adapters","owner":"SC5","description":"Node.js server-side Backbone adapters","archived":false,"fork":false,"pushed_at":"2014-07-02T18:12:53.000Z","size":239,"stargazers_count":104,"open_issues_count":0,"forks_count":9,"subscribers_count":35,"default_branch":"master","last_synced_at":"2025-04-14T16:08:44.923Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SC5.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-03-25T16:47:15.000Z","updated_at":"2025-02-14T15:51:07.000Z","dependencies_parsed_at":"2022-08-18T02:50:41.027Z","dependency_job_id":null,"html_url":"https://github.com/SC5/backbone-serverside-adapters","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SC5%2Fbackbone-serverside-adapters","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SC5%2Fbackbone-serverside-adapters/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SC5%2Fbackbone-serverside-adapters/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SC5%2Fbackbone-serverside-adapters/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SC5","download_url":"https://codeload.github.com/SC5/backbone-serverside-adapters/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252819572,"owners_count":21809041,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T08:14:44.349Z","updated_at":"2025-05-07T05:24:34.480Z","avatar_url":"https://github.com/SC5.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Backbone-serverside - Node.js server-side Backbone adapters\n\nThis project helps to run isomorphic [Backbone](http://backbonejs.org/) applications on\n[node.js](http://nodejs.org/) servers. It intends to provide a feasible subset of a set of adapters\nto fill in the blanks of missing DOM and HTML5 APIs on the server side.\n\nFor more context on the problematics, see e.g. my\n[Mozilla Hacks article](https://hacks.mozilla.org/2013/04/serving-backbone-for-robots-legacy-browsers/) or\n[HTML5 DevConf presentation](http://www.slideshare.net/SC5/2013-0402serversidebackbone-18092755), or for\nanother viewpoint, some of [Spike's isomorphic app presentations](http://www.slideshare.net/spikebrehm).\nThis project exists for those that don't want to build a full abstraction layer on top of Backbone to hide\njQuery, XHR and Backbone History API problems.\n\nThe service is tested for Backbone 1.1.x, yet it might work for earlier or later revisions, too.\n\n## Installation\n\nInstalling the project itself is easy. Both build system dependencies and app dependencies are triggered by\n\n    \u003e npm install\n\n## Usage\n\nThe adapters are only useful for an isomorphic application. For an example. You will need to have a\nnode.js server stack and an actual app, such as\n[Backbone Serverside, KOA example](https://github.com/SC5/backbone-serverside-koa).\nFork that, or build one of your own from scatch.\n\nIn short, the adapters could be used like\n\n    var adapters = require('backbone-serverside-adapters'),\n        cheerio = require('cheerio'),\n        Backbone = require('backbone');\n\n    adapters.backbone.inject(Backbone);\n    adapters.cheerio.inject(cheerio);\n\n## TODO\n\n* The jQuery.ajax emulation is minimal and will likely only work for positive cases for fetching JSON.\n* Anybody heard of writing tests for your library?\n\n## Release History\n\n* 2014/03/15 - v0.3.0 - API change: adapters inject themselves to Backbone and cheerio\n* 2014/03/2 - v0.2.0 - Update adapter dependencies; Update XHR; Move example into its own project.\n* 2013/03/25 - v0.1.0 - Initial release\n\n## License\n\nCopyright (c) 2014 [SC5 Online](http://sc5.io/), licensed for users and contributors under\n[MIT license](http://opensource.org/licenses/MIT).\n\n\n[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/SC5/backbone-serverside-adapters/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\")\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsc5%2Fbackbone-serverside-adapters","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsc5%2Fbackbone-serverside-adapters","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsc5%2Fbackbone-serverside-adapters/lists"}