Blog

Learn about new PubNub releases, industry trends, and app development tips.

BuildSep 14, 2016

Add Code Blocks and Conditionals to Ohm

Welcome back! In our first Ohm post, we introduced Ohm and built our very own parser to handle numbers in various formats. In our second post, we turned our parser into a real arithmetic language with binary operations and symbols. Today we will give our language code blocks and conditionals.  ...
Michael Carroll
Michael Carroll
News Sep 13, 2016

How Functions Keeps Your Code Secure

Middleware Functions, a new feature of the PubNub Data Stream Network that lets you move computation into the network itself, allowing your apps to go completely serverless. Check how Functions work. How does it secure potentially un-trusted code? How does it keep one app separate from another? How does...
Michael Carroll
Michael Carroll
Functions-Serverless Computation at Scale.jpg
News Sep 12, 2016

Functions: Serverless Computation at Scale

We’re excited to announce Functions, a better way to do serverless computing at scale with real-time data. Now you can program the data network itself to do your bidding, compute real-time data, combine multiple webservices into a single workflow, and conjure a gelatinous cube with only spoony bard....
Michael Carroll
Michael Carroll
BuildSep 8, 2016

Build Your Own Symbol Calculator with Ohm

Last time I introduced Ohm, an open source meta language parser with an easy to use syntax, we built a parser for different number formats. Basically, I showed you how to easily build your own programming language with just a few lines of code. This week we will extend the parser to calculate arithmetic...
Michael Carroll
Michael Carroll
Real-time voting APP
BuildSep 6, 2016

Build a Real-Time Voting System for Presidential Elections

Voting online and seeing the results instantly on the web is a very convenient way to conduct quick surveys or pop polls. But you already know that because of the primary season. This real-time voting tutorial was made for the first technical workshop I led as an evangelist intern this summer, a at YouTube’s...
Michael Carroll
Michael Carroll
DIY Virtual Whiteboard Using Google and Firebase.jpg
BuildSep 1, 2016

DIY Virtual Whiteboard Using Google and Firebase

When it comes to productivity, real-time collaboration is a staple of modern communication. An obvious example of this is, say, Google Docs. In this tutorial, my app Brain Drain takes that idea a step further, creating a freeform virtual whiteboard allowing users to collaborate as if they are all in...
Michael Carroll
Michael Carroll
BuildAug 30, 2016

Ohm: JavaScript Parser Creates a Language in 200 Lines

Parsers are an incredibly useful software libraries. While conceptually simple, they can be challenging to implement and are often considered a dark art in computer science. In this blog series, I’ll show you why you don’t need to be Harry Potter to master parsers. But bring your wand just...
Michael Carroll
Michael Carroll
BuildAug 29, 2016

DIY Pokemon Go App with Android Push Notifications

This is an Android app that displays Pokemon around you on a map, and uses PubNub and Google Cloud Messaging to provide mobile push notifications. It runs on an Ngrok server.

Michael Carroll
Michael Carroll
News Aug 25, 2016

What It’s Like to Intern at PubNub

Hi, I’m Lizzie Siegle, and this was my experience as an intern at PubNub this summer… Imagine having routine one-on-one’s with engineers, evangelists, and even the CTO and CEO of your company. It’s definitely not the norm, but this summer, I was fortunate to be surrounded by smart,...
Michael Carroll
Michael Carroll