{"id":16641348,"url":"https://github.com/cmstead/modella","last_synced_at":"2026-04-22T15:32:46.292Z","repository":{"id":14590915,"uuid":"17307670","full_name":"cmstead/Modella","owner":"cmstead","description":"Modella is a data modelling and request abstraction layer for data-rich javascript applications.","archived":false,"fork":false,"pushed_at":"2014-05-08T01:42:08.000Z","size":620,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-18T15:24:48.421Z","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":"Semantic-Org/Semantic-UI","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cmstead.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":"2014-03-01T04:30:17.000Z","updated_at":"2020-05-24T18:22:13.000Z","dependencies_parsed_at":"2022-08-26T22:11:48.485Z","dependency_job_id":null,"html_url":"https://github.com/cmstead/Modella","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmstead%2FModella","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmstead%2FModella/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmstead%2FModella/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmstead%2FModella/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cmstead","download_url":"https://codeload.github.com/cmstead/Modella/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243159166,"owners_count":20245675,"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-10-12T07:46:18.132Z","updated_at":"2026-04-22T15:32:41.272Z","avatar_url":"https://github.com/cmstead.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Modella.js\n==========\n\nModella.js is a data modelling object for JavaScript which is meant to act as an abstraction layer between\na simple ORM like Angular's resources or other network request service.  The basic CRUD behaviors default to standard\nRESTful post, get, put, delete calls, but some extended methods are included.  Specialized CRUD calls can be configured\nupon object instantiation.\n\n**Important Stuff To Know**\n\n- Documentation is available at the [Modella wiki](https://github.com/cmstead/Modella/wiki).\n- Modella is minified using Uglify. Most options which would interfere with older browsers have been turned off.\n- Modella is being released under the [Artistic License 2.0](http://opensource.org/licenses/Artistic-2.0).\n- Modella is released AS IS with no guarantee of suitability for any purpose whatsoever. (Please see license documentation)\n\nWishlist and Chores\n===================\n\n**Modella core**\n\n- [x] Basic object instantiation\n- [x] Model initialization with a pre-built object\n- [x] Model initialization with a record id\n- [x] Model initialization with a parent record id\n- [x] Model initialization with an array of record ids\n- [x] Save functionality on initialized model\n- [x] Update functionality on initialized model\n- [x] Delete functionality on initialized model\n- [x] Inheritable object for model configuration\n- [x] Model.revise for batch modifying values\n- [x] Model.copy for producing a data-only model copy\n\n**Modella extension object**\n\n- [x] Model instantiation abstraction layer\n- [x] Parent-child relationship configuration\n- [x] Get parents function\n- [x] Get children function\n- [x] Model simple copy to get just the selected layer\n- [x] Recursive revise behavior\n- [x] Recursive init with deep initial object\n\nFuture release\n\n- [ ] Recursive copy behavior\n\n**Documentation**\n\n- [x] Core API documentation\n- [x] Extension layer documentation\n\n**Chores**\n\n- [ ] Refactor repeated code in initByQuery and initByParentId","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmstead%2Fmodella","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcmstead%2Fmodella","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmstead%2Fmodella/lists"}