Fork me on GitHub
#fulcro
<
2017-11-28
>
LL00:11:45

@tony.kay thanks, where and how should I build the ring routing in fulcro framework? I just put the “/chsk” in the routing.

tony.kay01:11:45

So, the websockets demo I pointed you to HAS a ring stack

tony.kay01:11:50

it is already hooked up

tony.kay01:11:02

@tpliliang so, all you need to do is add your stuff to it

tony.kay01:11:18

I’m improving that example right now. It’ll be a full chat app here shortly

tony.kay07:11:45

@tpliliang and anyone else interested. The https://github.com/fulcrologic/websocket-demo is now a full-blown chat app! It demonstrates a number of things: 1. Hand rolling a server (not using modular or easy) 2. Using websockets with that server to handle API traffic 3. Websocket bidirection comms 4. React refs…though Om forces me to use the old string way…hope to fix that in Fulcro 2.0 5. Co-locating CSS on components 6. Using some of the bootstrap3 helpers 7. CTRL-F will pop open @wilkerlucio new inspector! 8. Using Clojure Spec to protect your APIs from accidents…and inform you when you screw up 9. Associating a “login” with a websocket establish client Hope it helps in various ways…took me all day to polish it to the degree it is polished 🙂

tony.kay07:11:14

oh crap…all that commenting. The README is out of date 😜

LL07:11:30

@tony.kay Great, Thanks, I will try now.

tony.kay08:11:38

ok, readme updated, and more comments added

tony.kay08:11:34

Jinx…I broke it 😞

tony.kay08:11:10

My server firewall isn’t liking the websockets

tony.kay08:11:16

little nginx reconfiging….

tony.kay08:11:19

working now

tony.kay08:11:13

Fulcro 1.2.1 released with new simple channel server on websockets…used in this demo