JavaScript

BuildSep 18, 2014

Emulating a Secure API Server in a Chrome Web Browser

How to run a server in a web browser. In this case, we’ll write the server in JavaScript on the front-end. The server handles permissions for authorization.

Michael Carroll
Michael Carroll
InsightsSep 17, 2014

Rendr: Seamless Backbone.js Web and Mobile Apps

Rendr enables you to run Backbone.js seamlessly on the client and server. Learn more about Rendr and its implementation into three different web and mobile websites.

Keith Lindsay
Keith Lindsay
Senior Product Manager
InsightsSep 12, 2014

JavaScript Testing: Idiot Proofing Your Code

“JavaScript Testing: Idiot Proofing Your Code” aka Achieving Maintainability, including best practices for linting, reducing complexity and unit testing.

Michael Carroll
Michael Carroll
GamingSep 10, 2014

4 Real-time Elements Every Multiplayer Game Dev Needs

This blog has four real-time elements that every multiplayer game dev needs including player position, lockstep, in-game chat, matchmaking, and real-time stats

Michael Carroll
Michael Carroll
ChatSep 9, 2014

Granting and Revoking Permissions – Private Chat API

With our private chat API, in this tutorial, we’ll show you how to grant and revoke permissions and access to chat users for secure private chat.

Michael Carroll
Michael Carroll
GamingSep 4, 2014

DIY Minecraft: Multiplayer Voxeljs with PubNub

I recently stumbled across the awesome Voxeljs library which allows anybody to create Minecraft style games (Voxel) that run in the browser with NodeJS. In this tutorial, we’ll walk you through how to develop multiplayer Voxeljs to build a DIY Minecraft! I decided I was going to take an afternoon...
Michael Carroll
Michael Carroll
GamingSep 2, 2014

Members Only! JavaScript Private Chat API w/ Access Control

Good News! We’ve launched an all new Chat Resource Center. We recommend checking out our new Chat Resource Center, which includes overviews, tutorials, and design patterns for building and deploying mobile and web chat. Take me to the Chat Resource Center → We’ve now built out a pretty solid...
Michael Carroll
Michael Carroll
BuildAug 29, 2014

IoT Demos: iBeacon, Arduino, Raspberry Pi, MQTT

When you intern at PubNub, you’re not running errands, getting your manager coffee, or scrubbing fridges. No, you’re building amazing applications and PubNub evangelism and IoT demos that harness the power of the PubNub Data Stream Network. You’re helping customers be successful with...
Chandler Mayo
Chandler Mayo
Solution Engineer, PubNub
BuildAug 28, 2014

How to Create an App Like Snapchat

Building a DIY Snapchat isn’t as hard as you’d think. In this tutorial, we’ll demonstrate how to capture an image and send it in real time to a recipient using JavaScript. As a rule of thumb, if you can represent data as a JSON object or string, you can send it with PubNub Data Streams....
Michael Carroll
Michael Carroll