{"id":24503414,"url":"https://github.com/nerdfiles/hybrid.angularamd.hateoas","last_synced_at":"2025-03-15T08:22:24.588Z","repository":{"id":21394735,"uuid":"92614810","full_name":"nerdfiles/Hybrid.AngularAMD.HATEOAS","owner":"nerdfiles","description":"🚀 HATEOAS client using AngularJS 1.5 with AMD and Cordova/Ionic Hybrid build workflows based on r.js.","archived":false,"fork":false,"pushed_at":"2023-01-11T05:32:55.000Z","size":4896,"stargazers_count":1,"open_issues_count":17,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-15T07:42:55.093Z","etag":null,"topics":["angularamd","dualapi","hateoas","ionic"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nerdfiles.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-27T17:50:45.000Z","updated_at":"2023-03-05T01:39:31.000Z","dependencies_parsed_at":"2023-01-12T03:45:34.494Z","dependency_job_id":null,"html_url":"https://github.com/nerdfiles/Hybrid.AngularAMD.HATEOAS","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/nerdfiles%2FHybrid.AngularAMD.HATEOAS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdfiles%2FHybrid.AngularAMD.HATEOAS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdfiles%2FHybrid.AngularAMD.HATEOAS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdfiles%2FHybrid.AngularAMD.HATEOAS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nerdfiles","download_url":"https://codeload.github.com/nerdfiles/Hybrid.AngularAMD.HATEOAS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243703483,"owners_count":20333972,"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":["angularamd","dualapi","hateoas","ionic"],"created_at":"2025-01-21T23:17:08.629Z","updated_at":"2025-03-15T08:22:24.567Z","avatar_url":"https://github.com/nerdfiles.png","language":"JavaScript","readme":"# Hybrid.angularAMD.HATEOAS\n\n\n## Install\n\nAfter cloning:\n\n    $ npm i\n    $ bower i\n\nReview Grunt \"strategies\":\n\n    $ grunt\n\n\n## Strategies\n\n*Stratgies* combine *Basics* and *Workflows* to achieve certain desirable configurations.\n\n\u003cimg src=\"https://raw.githubusercontent.com/nerdfiles/Hybrid.AngularAMD.HATEOAS/develop/resources/grunt-default.png\" alt=\"Strategies layout\"/\u003e\n\n\n### Vendor stuff\n\nHere's an example of adding a vendor to the build:\n\n    $ grunt add/vendor --layer=script --vendor=bower_components/angular-ui-router/release/angular-ui-router.js\n    $ grunt setup\n    $ grunt build\n\nRemoving vendors in similar fashion is easy:\n\n    $ grunt remove/vendor --layer=script --vendor=bower_components/angular-route/angular-route.js\n    $ bower uninstall angular-route --save\n    $ grunt setup\n    $ grunt build\n\n\n## Testing\n\n1. TODO RequireJS + karma\n\n\n## Rationale\n\n\u003cblockquote\u003e\n\u003cp\u003eIf the engine of application state (and hence the API) is not being driven by hypertext, then it cannot be RESTful and cannot be a REST API. Period. Is there some broken manual somewhere that needs to be fixed?\u003c/p\u003e\n\u003cdiv\u003e\u003ccite\u003eRoy Fielding\u003c/cite\u003e\u003c/div\u003e\n\u003c/blockquote\u003e\n\n1. Hybrid: RequireJS Modules ➢ Cordova/Ionic\n2. angularAMD: RequireJS Modules ➢ AngularJS Modules\n3. HATEOAS: (ORM + RequireJS Modules) ➢ Evolvable Object-ive Representations of Relational Maps ([halberd][halberd] + `js-data` looks good enough; but hypermedia libraries already provide for storing representations, etc.)\n\n\n## Other noteworthy points\n\n1. `TODO` RequireJS Hot Swapping / Code-On-Demand\n2. ngdocs on RequireJS, RequireCSS, etc.\n3. ngdocs on GruntJS (really modular tasks as basics and workflows)\n4. `TODO` Organic CSS (need to think about how to implement functional groups and\n   common styles; so, Organic RequireCSS)\n5. `TODO` Optimized builds (need a better way to maintain disparate `shim`s)\n6. `TODO` Layering: (RequireJS Modules + `dualapi`) ➢ Hypertext Passing for\n   Discovery Layer (`lodash` is missing from `browserify`'s dependency list)\n7. `TODO` [angular-hypermedia][angular-hypermedia] obeys which JSON Schema spec\n   for [Hypermedia][hyper]? (HAL? [Siren][sirenlint]?)\n8. `TODO` *chain environments for Value Layer\n9. `TODO` lib for Attribution Layer\n10. `TODO` Leaflet Maps common modules\n\n[halberd]: https://github.com/jpbochi/halberd\n[angular-hypermedia]: https://github.com/jcassee/angular-hypermedia\n[angular-hy-res]: https://github.com/petejohanson/angular-hy-res\n[sirenlint]: https://github.com/kevinswiber/sirenlint\n[hyper]: http://amundsen.com/hypermedia/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerdfiles%2Fhybrid.angularamd.hateoas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnerdfiles%2Fhybrid.angularamd.hateoas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerdfiles%2Fhybrid.angularamd.hateoas/lists"}