Pusher resources on the web

A collection of Pusher resources from around the web in one place. Let us know if you have anything to add.

Open Source apps

Thump by Paul Jensen

Retrospectiveapp by Paul Jensen

Pusher Chat by Tom Arnfeld

WebSockets demo by Chris Powers

Presence example by us (demo)

Articles/presentations/code

Publishing Real-time Updates from Apex with Pusher

In this tutorial:
  • Apex
  • Force
  • Java
  • Visualforce

Apex provides a complete set of features for building business applications – including data models and objects to manage data, a workflow engine for managing collaboration of that data between users, a user interface model to handle forms and other interactions, and a Web services API for programmatic access and integration. You can now do this in realtime, using Pusher.

By Pat Patterson.

Managing and responding to the status of your Pusher connection

In this tutorial:
  • JavaScript
  • library
  • Connection states

Pusher has a rich JavaScript client that handles the nitty gritty of WebSocket connections. It emits events to expose the connection's status. With this functionality, you can tell your users whether the realtime features of your site are available and, if they are not, if and when they might become available.

Check authentication signatures

In the helper:
  • Publisher
  • REST API
  • JavaScript
  • Private
  • Presence

A utility written in JavaScript that lets you check what your authentication message and JSON should be given a channel_name, socket_id and optionally some channel_data. This can be helpful if your are having trouble authenticating subscription to a private or presence channel.

Catch Authentication Errors

In the blog post:
  • JavaScript
  • Authentication
  • Private Channels
  • Presence Channels

A short blog post showing how to catch errors which occur when calling authentication endpoints to authenticate a private or presence channel subscription when using the Pusher JavaScript library.

JSONp authentication for channels

In the blog post:
  • JavaScript
  • Authentication
  • Private Channels
  • Presence Channels
  • Ruby

This post shows how to use the JSONp authentication using the Pusher JavaScript library and shows how to execute the callback in in Ruby.