JavaScript

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
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
Product UpdatesAug 9, 2016

What’s New in JavaScript SDK V.4

I am pretty excited to let you know that we just revamped our JavaScript SDK to version 4! The new SDK has been rewritten from the ground up to improve it with better performance, smaller footprint, event emitter patterns, and provide you easier-to-use APIs. Changes include: Isomorphic Javascript, works...
Michael Carroll
Michael Carroll
BuildJun 29, 2016

Tracking San Francisco’s Microclimates with Arduino MKR1000

In April, Arduino launched the new MKR1000 board, a move that I’m sure made countless IoT fanatics, including myself, jump for joy. The MKR1000 integrates the functionalities of the Arduino Uno and a WiFi shield into one neat little two-inch board, making it easier than ever to add all sorts of objects...
Michael Carroll
Michael Carroll
BuildMay 26, 2016

Prototype a Smart Device: Arduino, Node.js, and Johnny-Five

Note: This is a modified version of the article that I originally published on Tuts+ Code. With the rise of the maker movement—Maker Faire, 3D printers, DIY robots, drones, and so on—the popularity of Arduino, an open-source, microcontroller-based kit, has turned many software engineers into hardware...
Michael Carroll
Michael Carroll
Chat real-time best practices tutorial
ChatApr 28, 2016

Chat App Best Practice Guide with JavaScript APIs

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 → One of the most common use-cases of PubNub...
Michael Carroll
Michael Carroll
1 Line of Code-Connect Twitter and PubNub with NodeJS Streams.jpg
BuildApr 14, 2016

1 Line of Code: Connect Twitter + PubNub with NodeJS Streams

Streams are a very powerful concept. They are programming constructs which move data between objects and services without having to manually loop through the data, which is one reason why they are so popular. Twitter has streams, NodeJS has streams, Java 8 has streams, and even RSS feeds can be represented...
Michael Carroll
Michael Carroll
Building real-time charts javascript
BuildOct 27, 2015

Building Real-time Charts for Live-Updating Data

How to build real-time charts where data is streamed to a live-updating UI dashboard using PubNub Data Streaming and the EON JavaScript framework.

Michael Carroll
Michael Carroll
Turning a neo4j into a real-time database
BuildOct 22, 2015

Turning Neo4j Into a Real-time Database

Although Neo4j has very fast read and write performance and it can take this amount of data pressure, we’ll stream the data in real time using PubNub.

Anmol Agrawal
Anmol Agrawal