News Feed
Sections




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

NetTuts.com:
Getting Real-Time with Pusher
October 05, 2011 @ 08:39:52

On NetTuts.com today there's a new tutorial showing you how to implement the Pusher service that gives you real-time messaging for your application. Their backend for the project is written in PHP using Pusher's library.

Do you want to spice up your web applications by making them real-time - but don't want to create new infrastructures for the sole purpose of getting web sockets to work? In this article, we'll explore how to use and implement Pusher, an HTML5 WebSocket-powered real-time messaging service for your applications.

Pusher uses HTML5 WebSockets to handle the messaging, so you'll need a browser that supports it to follow along with the tutorial. The Pusher API provides and endpoint for authorization and the push and pull of messages. In the tutorial, they create a simple chat application that gives a "Who's Online" and a window with the latest messages. You can download the full source (Javascript and PHP) here or view a demo here.

2 comments voice your opinion now!
realtime messaging pusher service websockets tutorial


blog comments powered by Disqus

Similar Posts

NetTuts.com: Managing Cron Jobs with PHP

Hannes Magnusson: Query logging and profiling in MongoDB

Heartscripts Blog: 5 Scripts to Start a Webservice

Phillip Shipley: Creating a PHP Nexmo API Client using Guzzle Web Service Client Part 3.5

Lorenzo Alberton's Blog: Create a video preview as animated GIF with FFmpeg and PHP SPL


Community Events

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


part2 podcast list introduction laravel yii2 symfony php7 community framework application programming opinion interview example language project series composer api

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