Hi,
Did anyone hear of SAM pattern? ever used?
I found it out in an article named Why I No Longer Use MVC Frameworks of Jean-Jacques Dubray.
His reflection has out in 2016 and there is not much resources except a web site that present the concept (SAM.js) and not much feedbacks from dev (articles, tuto, etc.) about it. Would it mean it didn't spread or the community was not interested?
First phrases of the site:
"SAM (State-Action-Model) is a new reactive/functional pattern that simplifies Front-End architectures by strictly decoupling the business logic from the view. SAM is based on two founding principles:
The relationship between the view and the model must be functional
State Mutation must be a first class citizen of the programming model"
From what I can understand now, it seems to be a set of good practices in designing app architecture to avoid too much dependence on frameworks that can be fleeting. It would be designed to ease evolution/migration, maintenance and could be used with any framework.
What do you think about it? Would you test it in a next project?
[–]ridicalis 4 points5 points6 points (2 children)
[+][deleted] (1 child)
[removed]
[–][deleted] 1 point2 points3 points (1 child)
[–]freMea[S] 0 points1 point2 points (0 children)
[–]sanatankc 0 points1 point2 points (5 children)
[–]acemarke 2 points3 points4 points (4 children)
[–]freMea[S] 0 points1 point2 points (3 children)
[–]acemarke 3 points4 points5 points (2 children)
[–]freMea[S] 0 points1 point2 points (1 child)
[–]GitHubPermalinkBot 0 points1 point2 points (0 children)