dimanche 1 novembre 2015

Simple websocket implementation in laravel 5

I need to implement very simple and very basic websocket in Laravel to implement data synchronization process between my phonegap app as client and my Laravel Website as server. I followed this tutorial http://ift.tt/1WsHyKP to implement and test websocket and it works. Like this one i need very simple laravel implementation where i can call my controller method from js client. Client will be my phonegap application. I found some packages for websocket in laravel with tutorials, but i found difficult to implement them. No one was interacting with controllers, they were listening to events and creating classes here and there but not in controllers. I have written all my logic in Controller and tested it with ajax request but now i will implement it by websocket because i need bidirectional communication to implement Synchronization process. I am new to Laravel so please provide me some help.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1ShS4Ec
via IFTTT

Aucun commentaire:

Enregistrer un commentaire