These are chat archives for jdubray/sam-examples

7th
Feb 2016
Jean-Jacques Dubray
@jdubray
Feb 07 2016 00:04

Please only publish links to sample code and install instructions in this room. If you want to discuss the code, please use other rooms

This is how I write node.js code these days. https://bitbucket.org/snippets/jdubray/jna7B

$ npm install
$ node about.js
You should be able to see something at http://localhose:5415/home
Jean-Jacques Dubray
@jdubray
Feb 07 2016 00:10
@foxdonut has published a great sample using Cycle.js, really amazed at how consize the code it, worth investigating http://codepen.io/foxdonut/pen/XXPwRe
@brucou has also published a sample using RxJS http://jsfiddle.net/bmLagsau/1
brucou
@brucou
Feb 07 2016 00:13
This message was deleted
This message was deleted
Jean-Jacques Dubray
@jdubray
Feb 07 2016 00:15
This message was deleted
brucou
@brucou
Feb 07 2016 02:16
@jdubray Here is the latest example, refactored, so all the RxJS wiring is isolated in a function/library : http://plnkr.co/edit/qMcNfK7xSWFdoqPHJhFY?p=preview
SAM_comet_launcher_component.js is the part that the user should define when designing a component on SAM architecture (at least in my current understanding). The rest is internal plumbing whose responsibility resides in library owners/maintainers