{"id":20815884,"url":"https://github.com/aurbano/backbone-demo","last_synced_at":"2025-09-19T17:24:22.664Z","repository":{"id":11210585,"uuid":"13596991","full_name":"aurbano/backbone-demo","owner":"aurbano","description":"Backbone, Mustache and Underscore demo","archived":false,"fork":false,"pushed_at":"2015-09-05T12:30:13.000Z","size":355,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T05:29:04.333Z","etag":null,"topics":["backbone","demo","javascript","mustache","underscore"],"latest_commit_sha":null,"homepage":"https://aurbano.eu/backbone-demo/","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/aurbano.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-10-15T17:32:40.000Z","updated_at":"2017-04-05T12:36:11.000Z","dependencies_parsed_at":"2022-09-14T05:40:37.519Z","dependency_job_id":null,"html_url":"https://github.com/aurbano/backbone-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aurbano/backbone-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aurbano%2Fbackbone-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aurbano%2Fbackbone-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aurbano%2Fbackbone-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aurbano%2Fbackbone-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aurbano","download_url":"https://codeload.github.com/aurbano/backbone-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aurbano%2Fbackbone-demo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267785804,"owners_count":24144122,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["backbone","demo","javascript","mustache","underscore"],"created_at":"2024-11-17T21:26:48.752Z","updated_at":"2025-09-19T17:24:17.598Z","avatar_url":"https://github.com/aurbano.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Backbone, Mustache and Underscore\n===========\nThis demo features a commenting system based on Backbone, Mustache and Underscore. It could easily be extended to load and save comments from a real datastore or API.\n\nIt was done as a requirement for a job application, the app structure and some initial coding were provided.\n\nDemo: http://urbanoalvarez.es/backbone-demo/\n\n###Features\n* There are initially some comments that are preloaded in the HTML, the backbone collection loads these prerendered comments on initialization.\n* You can add new comments using the form or generating blocks of random comments.\n* Comments can be edited, reversed and deleted.\n* Only one form can be open at any time.\n* Uses RequireJS to manage dependencies.\n* Whenever you trigger an event that would make you lose your changes there is a confirmation dialog shown.\n\n\n####Confirmation upon losing changes\nIt uses a global flag, plus an event aggregator to trigger the remove method on all open instances if necessary. The workflow is as follows:\n\n1. Check the changed flag before initializing. If true, ask for confirmation.\n\t- User accepts, reset global flag and trigger the remove event.\n\t- User declines, stop initialization and disallow rendering on current instance.\n2. If there are changes, update the global flag.\n3. If this instance is closed, either canceling or submitting, reset the flag.\n4. Back to 1.\n\n\n###Meta\nBased on https://github.com/bodnaristvan/backbone-demo\n\nAlejandro U. Álvarez - http://urbanoalvarez.es\n\n[![Analytics](https://ga-beacon.appspot.com/UA-3181088-16/backbone-demo/readme)](https://github.com/aurbano)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faurbano%2Fbackbone-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faurbano%2Fbackbone-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faurbano%2Fbackbone-demo/lists"}