These are chat archives for jdubray/sam

21st
Sep 2017
Jean-Jacques Dubray
@jdubray
Sep 21 2017 06:56
I'd like to reiterate my offer to share some ES6 code. I worked on that template for a friend 12 months ago. That template worked particularly well (compared to some others). It seems to have been written particularly well, with HTML5 in mind.
The use of JQuery is minimal, but important for some effects and completely integrated with SAM
Jean-Jacques Dubray
@jdubray
Sep 21 2017 07:09
You'll be able to see that for every template I implemented, there is simply no compromise, it works 100% like the demo and simple functions + template literals make it very easy to achieve the result. Just sprinkle a bit of hash-dom, add a couple of JQuery calls to spice it up, and voila. Everyone can achieve that result. No need to spend years to master Angular, React, Vue or whatever.

I have also refactored the SAM initialization which looks a lot cleaner now

let modules = [menu, todo]
SAM.init({theme, data, modules, display, options})

though nothing has changed under the cover

Jean-Jacques Dubray
@jdubray
Sep 21 2017 07:44
BTW, I certainly would be interested to take on the challenge of taking an arbitrary template (as created and maintainted by a UI/UX designer team) and compare side by side ES6/React/Angular. I don't expect too much difference and that would be the point. I can also turn on the hosting of the SunTour template so you get to experience ES6/SAM first hand.
Marcus Feitoza
@mfeitoza
Sep 21 2017 13:20
Changing the subject, someone know a great scientific article criticizing OO or similar? Thanks...
I did not found anythingin ACM library...
Jean-Jacques Dubray
@jdubray
Sep 21 2017 13:59
Since OOP has never been formally specified, it will be hard to critique it: http://wiki.c2.com/?AlanKaysDefinitionOfObjectOriented
I'd say point #1 says it all.
Marcus Feitoza
@mfeitoza
Sep 21 2017 14:15
I got, thank you.
Jean-Jacques Dubray
@jdubray
Sep 21 2017 22:30
Boilerplate for creating web applications in Go https://www.growthmetrics.io/open-source/alloy
Vertex21
@Vertex21
Sep 21 2017 22:37
Thanks!! Convenient timing as I'm currently hashing out a project using SAM with a Go/SkateJS(or Stencil)/PostgreSQL stack.