These are chat archives for jdubray/sam

8th
Jun 2017
Marcus Feitoza
@mfeitoza
Jun 08 2017 12:30
I found this router today:
http://router5.github.io/
Jean-Jacques Dubray
@jdubray
Jun 08 2017 13:59
@mfeitoza wow, great find! That being said, I try to use routing as little as possible (say for SEO or different entry points into your app). I don't think it makes much sense to use routing within a SPA flow. In other words, a route is just a kind of events that is wired to an action which makes a proposal to the model (in general an init type of proposal). The "back" button is a bit different, it's more like a time travel type of functionality.
Marcus Feitoza
@mfeitoza
Jun 08 2017 14:15

I did, works fine with my container for SAM. When route change the listener from route5 call an intent with current route state.
So now I will refine my implementation of SAM and make some docs.

I'm pretty happy with the result.

Jean-Jacques Dubray
@jdubray
Jun 08 2017 14:20
:+1:
Rob Siera
@robsiera
Jun 08 2017 15:36
+1
Jean-Jacques Dubray
@jdubray
Jun 08 2017 20:32
A self-driving web app framework https://www.celljs.org
Fred Daoud
@foxdonut
Jun 08 2017 21:00
They keep saying "no API" but the fact that $cell, $type, $text etc. have special meaning, to me that's an API
What with behaviour being written with DOM-manipulation code (like the pre-jquery days), an application using this would probably quickly turn into a mess. Just my opinion.
devin ivy
@devinivy
Jun 08 2017 21:13
i agree– i don't think cell is so different from other options out there, but they're packaging it up differently.
Jean-Jacques Dubray
@jdubray
Jun 08 2017 21:13
yes, I think they view it more at the level of rules than pure API.
Jean-Jacques Dubray
@jdubray
Jun 08 2017 22:00
Here is a Twitter client built with cell: https://gliechtenstein.github.io/hehehe/ (view-source)