These are chat archives for jdubray/sam

22nd
May 2017
Daniel Neveux
@dagatsoin
May 22 2017 19:22
(On my smartphone so I can't write a lot)
Already saw MST but actions are inside the model and mutate it.
However I use for a few days Vuex which I find very close to SAM implementation. Take a look.
Jean-Jacques Dubray
@jdubray
May 22 2017 19:32
Yes, even though I spoke with Michel before, he is stuck on that Object Oriented view of the world. Will do, thank you.
indeed it is!
Down to the TLA (SAM: State/Action/Mutation)
They don't mention the SAM pattern though, TT
It's also interesting to see that no one seems to get the next-action predicate.
Daniel Neveux
@dagatsoin
May 22 2017 19:39
Indeed it is (also in MST) included in the reaction to mutation. For exemple I implemented NAP with vuex with their Plugin system.
Jean-Jacques Dubray
@jdubray
May 22 2017 19:40
nice, I'll create a code sample with it then.
very exciting with the momentum that Vue has, I only learned recently that it was created at Alibaba, unless I am mistaken.
Daniel Neveux
@dagatsoin
May 22 2017 19:44
Mmh I have read that it was a side project from someone at Meteor. And now he works 100% on it thanks to Patreon.
Jean-Jacques Dubray
@jdubray
May 22 2017 19:48
Maybe it's the other way around, Alibaba adopted Vue.js https://medium.com/the-vue-point/the-state-of-vue-1655e10a340a
Vue was created by Evan You after working for Google on AngularJS. You later summed up his thought process, "I figured, what if I could just extract the part that I really liked about Angular and build something really lightweight without all the extra concepts involved?"[9]