Re:Ask HN: Best tech for a web site 2018? (PHP, Rails, Djang...
by aclsid on Monday November 13, 2017 @08:03AM
(#15686203)
Well, to be honest if you want to use websockets, you better do that part in Node.js, Elixir or Go. The creator of Juggernaut, which was one of the most popular websocket library for Rails, ended up porting to Node.js until he said that people should stop using websockets and rely on Server Sent Events instead.
Re:Ask HN: Best tech for a web site 2018? (PHP, Rails, Djang...
by lastofus on Monday November 13, 2017 @03:02PM
(#15689683)
Considering there is absolutely no IE or Edge support for SSE, it seems like a non-starter for a general website.
https://developer.mozilla.org/en-US/docs/Web/API/Server-sent...
Re:Ask HN: Best tech for a web site 2018? (PHP, Rails, Djang...
by aclsid on Tuesday November 14, 2017 @09:45AM
(#15695390)
There is a polyfill for IE.
https://github.com/remy/polyfills/blob/master/EventSource.js
(and no ratchet, php-websocket do not count)