CALM RESTful ROCA style with AngularJS
link dump. that’s it
extended here
the web fundamentally is a distributed hypermedia application
- browser controls https://roca-style.org/#server-side
- AngularJS ui-router https://ui-router.github.io/ng1/tutorial/hellogalaxy
- angular-state-machine https://github.com/tafax/angular-state-machine
- angularAMD https://github.com/marcoslin/angularAMD
- hypermedia controls https://github.com/petejohanson/angular-hy-res (other examples https://dev.to/daniellittledev/type-safe-hypermedia-controls-8le)
- restangular https://github.com/mgonto/restangular (still needful?)
- ng-a11y https://github.com/dequelabs/ngA1 [see figure 1]
- require-css https://github.com/guybedford/require-css
- use amundsen’s DARRT with https://github.com/badgateway/ketting/wiki/Hypermedia
- sam-angular https://github.com/brusand/sam-angular (e.g.)
- clusterluck https://www.npmjs.com/package/clusterluck
- paseto https://developer.okta.com/blog/2020/03/23/microservice-security-patterns#use-paseto-tokens-over-jwt (if you must use session)
- abandon CAP theorem, embrace CALM theorem
- hypermedia-oriented design, richardson maturity design model, hypermedia view-based design, hypermedia modeling
- segmented discourse representation theory (sdrt) model
- odrl model
- wai-aria model
- rail model https://web.dev/rail/
- prpl pattern https://web.dev/apply-instant-loading-with-prpl/
- xdi/rdf/schema.org/etc.
- core/coap > mqtt
- async REST, ARREST, resthooks.org, https://github.com/badgateway/ketting/wiki/Hypermedia, etc.
- microservices: use scale cube (https://microservices.io/articles/scalecube.html)
- microservice design canvas (https://dzone.com/articles/streamlined-microservice-design-in-practice)
- use YUML (DDDers may enjoy https://github.com/jaime-olivares/yuml-diagram)
developers may wish to use ionic v4 (v1.3.3?, but install ionic@4
, etc.).
figure 1: