3 ms·
... The reddit thread about this had more insight than hackernews. I don't get why the author want to freaking do long daemon in PHP. Even if so, there are peo
by digitalzombie 14y ago
... The reddit thread about this had more insight than hackernews.
I don't get why the author want to freaking do long daemon in PHP. Even if so, there are people on reddit that talked about coding long process in PHP with failure in mind (that's like something you learn from Erlang and fault tolerant system). He/she could use a message queue if need it be.
And really? You want state in your web application? with HTTP protocol that is stateless?
It's almost like picking on a donkey cause it ain't a bird.
And he/she doesn't even offer a concrete solution. If PHP suck so bad, by all mean post a solution or an alternative.
And I am going to disagree with meant to die. PHP is actually evolving into a pretty language even if it's fundamentals are flawed.
I don't think PHP is going to die, it have adopted namespace, anonymous function, closure, and soon generator and whatever. Not only that but it recently got an awesome package management system, composer. It's going to stay for a long time. It's evolving and moving in a good direction with an existing user base.