Angular2 and the SAM pattern: a perfect match!

preview_player
Показать описание

Brief: Angular2 is rapidly gaining traction as a robust Web framework. The SAM pattern introduces a new and easy way to build Angular2 application following a modern reactive, single-state-tree and unidirectional data flow architecture where the application logic is nicely and entirely separated from the framework itself. One of the key benefits of the pattern, amongst many other, is to decouple the view components from the back-end APIs.

We'll give a rapid introduction about the SAM pattern and walk through some code samples.
Комментарии
Автор

How is this different from NGRX and push based architecture = action -> effect -> action -> reducer -> state -> push to view -> action
What you have in the demo is very similar to ComponentStore NGRX component specific state management

RovshenNazarov
Автор

Whois the dr. you referenced that got a Turing award?

BrandonHowardRay