News for hackers. Stuff that matters.
Re:Ask HN: Best tech for a web site 2018? (PHP, Rails, Djang... by bearjaws on Monday November 13, 2017 @07:49AM (#15686093)
OP lists websockets, a feature PHP cannot implement well.

(and no ratchet, php-websocket do not count)

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.

https://www.html5rocks.com/en/tutorials/eventsource/basics/

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)
Re:Ask HN: Best tech for a web site 2018? (PHP, Rails, Djang... by deweller on Monday November 13, 2017 @08:14AM (#15686287)
If by "websockets" you mean "notify a web client immediately when a server side event occurs", then PHP + Laravel + Pusher is a mature solution for this.