Is php not good for real-time applications?

Asked

Viewed 426 times

0

I’ve been doing some research and all I can find is Nodejs, socket.io and so on, but nothing related to php’s native socket functions. Why does this happen? There is no way to do something like a chat using javascript and php sockets only?

I want to study these functions, but what will it do if they have no use, or do not meet what I want to do (chat, mainly)? ...

1 answer

2


Yes, you can use PHP to make real-time applications, you can use the http://socketo.me/ which is PHP library for such a function. However, PHP is not a user friendly language with this type of platform, the ideal is to use Node.JS because it is a language. event-oriented And that’s the difference between php and Node.js for such applications, is guidance. Event orientation is better than real team objects, in my opinion.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.