Hacker News new | ask | show | jobs
by ixmatus 4398 days ago
Yeah I'm aware of Chicago Boss and have used it, but like most "frameworks" websockets are bolted on and you have to write special handlers for them.

I have yet to see frameworks offer routing coming in from the websocket connection itself because it also requires non-standard javascript to send the route requests through a parent websocket connection.

Which is why I was thinking that it's the way this framework was designed.

1 comments

Yeah, this is a common problem.

From a previous post from someone else on HN, I began reading about N20, which is focused on Websockets as its first class transport. I am reading the docs because this is one of its many interesting features.

https://github.com/5HT/n2o