Re:Voten.co, a Real-Time Reddit Alternative Launches Public ...
by Shorel on Tuesday May 16, 2017 @11:08AM
(#14350165)
It is uncomfortable, sadly. At the very least PHP Ratchet is not quite integrated with Laravel and the easy route is to use Node.
Re:Voten.co, a Real-Time Reddit Alternative Launches Public ...
by rprime on Thursday May 18, 2017 @06:30PM
(#14371614)
I am not saying that as an attack to PHP (or a defense of NodeJS), I am writing PHP daily, but when it comes to real-time (at least WS systems), PHP would be my last resort, mostly because it lacks any real support for such things, you'll have to force your way in.
I guess we come back to _just because you can doesn't mean you should_. :)
Why? PHP works fine as a daemon, there are many servers written in pure PHP, as well as frameworks for "async" programming.