V
V
Vasyl Fomin2017-01-19 11:01:07
Node.js
Vasyl Fomin, 2017-01-19 11:01:07

How to use Node.js with Laravel to update content dynamically?

On the site, you need to dynamically update data without reloading the page, for example, you need to update the number of site guests, comments, etc. I know about Ajax, but this solution is not suitable.
How can I do this using node.js, is it possible to somehow connect node.js with Laravel (to use functions, methods of Laravel)?
I found an example of a chat , but it doesn’t quite work for me, the client connects, but the response from the server does not come.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
codeschemer, 2017-01-19
@codeschemer

Socket.IO is not suitable?
Is there a good tutorial?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question