News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

VilkomenJuist.nl:
Laravel 4 and NodeJs/Redis pub/sub realtime notifications
October 23, 2013 @ 11:48:36

On VilkomenJuist.nl there's a recent post showing you how to create a real-time notification system with PHP using Laravel, NodeJs and Redis.

Currently I am building an application where we can fill in live scores and I needed something to update all my visitors whenever a score has been updated by one of the admins. Whenever an admin updates the score via the Laravel 4 backend I fire an event and publish it to Redis. I've setup a simple NodeJS server which listens to Redis for incoming changes. NodeJS will redirect the message to all Socket.IO clients.

The post has all of the code and configuration you'll need to reproduce the setup. This includes the Laravel Redis config, code for the event handler and the Node server listening for the socket connection.

0 comments voice your opinion now!
redis realtime notification nodejs socketio laravel tutorial configuration

Link: http://www.volkomenjuist.nl/blog/2013/10/20/laravel-4-and-nodejsredis-pubsub-realtime-notifications/

blog comments powered by Disqus

Similar Posts

Tom Jowitt's Blog: Streamlined PHP Development - Part III

Zend Developer Zone: Paging Data Sets With PEAR Pager

Sameer Borate's Blog: Building a simple Parser and Lexer in PHP

PHP-GTK Community Site: an IMAP Client & Screenshots with Gdk

Developer.com: Authenticating Users with OpenID and the Zend Framework


Community Events











Don't see your event here?
Let us know!


release install composer opinion podcast database unittest component hack support security application language performance facebook hhvm framework package introduction symfony2

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework