Answer the question
In order to leave comments, you need to log in
Are there any php books explaining how to implement a websocket chat or store in pure php?
Are there any php books explaining how to implement a websocket chat or store in pure php?
Answer the question
In order to leave comments, you need to log in
https://laravel.com/docs/5.8/broadcasting
On the backend, create some kind of channel, the desired event, subscribe to it on the front and listen to the event.
not a book, but a good course
https://www.youtube.com/playlist?list=PLoonZ8wII66...
At the expense of websocket, it should not be in the direction of PHP, but in the direction of JavaScript it is better to look ( Socket.IO ), although the server part can also be implemented in PHP: ( Ratchet , WSPHP ).
As for the store, there are ready-made solutions, why build a bicycle from scratch, especially for a beginner?
Here , for example, in the "Functionality" drop-down list, select "online store" and click the "Find CMS" button. Then just figure out how to fasten your design template, and fill it with data.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question