Blog
Learn about new PubNub releases, industry trends, and app development tips.
ChatOct 5, 2016
7 Tutorials for Building a Complete Chat App with AngularJS
Last spring our superhero intern Martin (now a full time member of Team PubNub) created a comprehensive blog series on building a full featured chat app with Angular JS. Along the way he completely overhauled the PubNub Angular SDK and paved the way for Angular 2. Here it is, your complete guide to building...
ChatSep 28, 2016
Easily Build an Android Chat App in One Afternoon
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 → Building chat applications is easier...
BuildSep 27, 2016
Build a Smart Home UI to Control Your Garage Door
Welcome back! In the previous article, we explored smart home automation via a garage door opener service using LiftMaster, PubNub, and Node.js. The context is the growing popularity of two main areas, the Smart Car and Smart Home. Integration of Smart Home door and access control seems like a natural...
BuildSep 26, 2016
Create a New Language in Less Than 200 Lines of Code
Have you ever wanted to design your own programming language? It seems like such fun, but if you’ve ever tried you probably got stuck right around the time you read “LLR Decent Parsers and Abstract Syntax Trees.” Traditionally designing your own language was hard because it requires a very specialized...
BuildSep 21, 2016
This Serverless Whack-A-Mole Game is Your Next Game Night
This blog is based on my talk from NodePDX 2016. You can watch the full video of my session, or read my other writings on my personal blog. Today I’m going to build a casual Massively Multiplayer Online game. Something that can have 50 or more people playing at the same time. And I’m going to do...
BuildSep 20, 2016
Real-time Garage Door Control with a LiftMaster and PubNub
Household appliances are not the kind of thing consumers really get excited about; they’re no iPhone. But thanks to the Internet of Things (IoT), that seems to be changing. It is now easy, inexpensive, and a lot more fun to create connected devices in every area of life, from cars and homes to...
BuildSep 15, 2016
Meow: A Programming Language Created in Just 180 Lines
In the three previous posts in this series, we learned how to use Ohm to parse numbers, build an expression tree, and process blocks of code with conditionals. In this final post on the Ohm series, we will finish up our complete programming language, Meow, with looping and real function calls. Thanks...
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. ...
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...