MV Whatever Hypertext as the engine of Application State - sgml/signature GitHub Wiki
HATEOAS
+-------------------------------+
| Initial GET request to API |
| e.g. GET https://api.example |
+-------------------------------+
|
v
+----------------------------------+
| Response contains _links object |
| e.g. |
| "_links": { |
| "self": { "href": "/resource" }|
| "next": { "href": "/page/2" } |
| "related": { "href": "/other" }|
| } |
+----------------------------------+
|
+---------------------+----------------------+
| | |
v v v
GET /resource GET /page/2 GET /other
| | |
v v v
More _links More _links More _links or content
to follow to follow to follow
MVC
- https://plainenglish.io/blog/flask-crud-application-using-mvc-architecture
- https://medium.com/shecodeafrica/understanding-the-mvc-pattern-in-django-edda05b9f43f
- https://medium.com/nerd-for-tech/introduction-to-ruby-on-rails-and-how-mvc-works-c56dff61dce5
- https://dev.to/vikbert/use-d-mvc-pattern-in-symfony-application-5f90
- https://www.tutorialspoint.com/symfony/symfony_complete_working_example.htm
- https://github.com/openfl/openfl-samples/blob/master/script.hx
MVVM
- https://namitamalik.github.io/MVC-and-MVVM-with-AngularJS/
- https://subscription.packtpub.com/book/web-development/9781786469946/2/ch02lvl1sec18/mvvm-architectural-pattern
- https://moduscreate.com/blog/ext-js-to-react-handling-application-state-with-mobx/
- https://medium.com/react-weekly/building-a-react-mobx-application-with-mvvm-ec0b3e3c8786
- https://legacy.gitbook.com/book/developmentarc/react-indepth/discussions/18
- https://medium.com/react-native-training/ditching-setstate-for-mobx-766c165e4578
- https://medium.com/react-weekly/building-a-react-mobx-application-with-mvvm-ec0b3e3c8786
- https://medium.cobeisfresh.com/level-up-your-react-architecture-with-mvvm-a471979e3f21
- https://swizec.com/blog/awkward-thing-mobx-complex-models/swizec/7260
- https://mobx.js.org/refguide/autorun.html
- https://github.com/mobxjs/mobx/issues/300
- https://github.com/mobxjs/mobx-react-todomvc
- https://github.com/ryanatkn/react-mobx-typescript-experiments
- https://libraries.io/github/mobxjs/mobx-react
- https://codepen.io/evgen/pen/NgpVMw
Constructors vs Getters and Setters
Why should I create a method just to hold a one line function? (+Constructor)
How painful is it going to be to refactor two, three, four, five or more getters/setters vs one constructor?(+Constructor)
How hard is it going to be to document two, three, four, five or more getters/setters vs one constructor?(+Constructor)
Is there going to be a default value which will be documented? (+Constructor)
Do I like documentation and expect people to read? (+Constructor)
Will the initial value be undefined?(+Setter)
Is there a set of equivalent forms (shorthand, international, nicknames) which will all be acceptable as syntatically correct for required arguments? (+Setter)
Is there a set of optional arguments with default values? (+Setter)
Is there a common need to stringify and parse the initial value? (+Setter)
Do I dislike documentation and expect people to experiment? (+Setter)