PubNub + jQTouch

1 min readMay 10, 2010

PubNub JQTouch

May 20th, 2010: This page reacts with multiple devices. An Orientation Event will trigger a push notification publish(). When one device changes Orientation, all devices with the opposite Orientation will shift magenta! This requires at least one iPhone.

What is PubNub?

PubNub = communication between browser and mobile. Mobile to Mobile, Browser to Browser, Mobile to Browser. PubNub is a Push Service with a simple API. TWO FUNCTIONS: Publish() & Subscribe()

Learn about Publish() and Subscribe()

How does PubNub and jQTouch work together?

We combined jQTouch and PubNub to create a page that reacts to an Orientation Event. When this event fires, a Publish() push notification sends the Orientation Delta. Any listening device will receive this Orientation Delta and check if its own Orientation matches.

Thanks to jQTouch for the Orientation Event. This page was created with a few lines of JavaScript.

More from PubNub

How to Create a Dating App: 7 Steps to Fit Any Design
Insights6 minMar 15, 2023

How to Create a Dating App: 7 Steps to Fit Any Design

There are common underlying technologies for a dating app, and in this post, we’ll talk about the major technologies and designs...

Michael Carroll

Michael Carroll

How to Create a Real-time Public Transportation Schedule App
Build6 minMar 14, 2023

How to Create a Real-time Public Transportation Schedule App

How to use geohashing, JavaScript, Google Maps API, and BART API to build a real-time public transit schedule app.

Michael Carroll

Michael Carroll

How to Create Real-Time Vehicle Location Tracking App
Build2 minMar 9, 2023

How to Create Real-Time Vehicle Location Tracking App

How to track and stream real-time vehicle location on a live-updating map using EON, JavaScript, and the Mapbox API.

Michael Carroll

Michael Carroll

Talk to an expert