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.

Articles/presentations/code

Backbone Live

Backbone Live Models and Collections
These two Backbone mixins aim to make working with Pusher even easier. It keeps your Models and Collections always up-to-date by capturing Pusher events from the server. It also adheres to the “convention over configuration” mentality, and prescribes the event names you should use with your Pusher events to reduce the amount of code needed.

Publishing Realtime 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
  • HTTP 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.

Open Source apps

Pusher Chat by Tom Arnfeld

Presence example by us (demo)

Have you tried using the search to find what you’re after? If you still have a question then get in touch with us and let us help you out.