JavaScript Tutorials
Gamepad API and Xbox Controller on Mac
The Mozilla MozVR team was demonstrating the open WebVR standard as well as A-Frame at GDC a few weeks ago and people were intrigued; some were surprised the web could handle VR, some probably just thought our VR line was smaller (it was by miles), and others saw...
How to Build Charts in Angular
It is very easy to get lost in the flood of JavaScript frameworks and libraries that we, as front-end developers, have to choose from these days. Every week some new framework springs up and takes you back to the comparison board, making your task of selecting...
Faster npm
npm is the premier package repository on the web and we all use it a ton, obviously. npm has started using basic progress bar graphics to notify users of download progress, which is nice, but appears to slow down the entire process. This tweet blew my mind: It sounds...
Nodal: A Tutorial for Easily Creating API Services in Node.js
If you haven't heard about Nodal yet, or you have but you're unsure of where to begin, this tutorial is for you! Make sure you keep up with Nodal on GitHub to follow project updates. Nodal is a Node.js server platform and framework that enables you to develop API...
Advanced Real User Monitoring With Raygun Pulse
When I was a teenager, I had a newspaper round as my first 'real job', and I would be paid peanuts to walk the streets and deliver the local news to households throughout my neighbourhood. I had some frustrations with the job, and didn't really...
Cache API
The awesome ServiceWorker API is meant to give developers a bit more control over what is and isn't cached, and how. Sure we can play games with ETags and the like but doing it programmatically with JavaScript just feels better, more controllable. As with every API, however, adding stuff to...
Array.From
In the past we used a variety of hacks to convert Array-like objects (like
arguments
andNodeList
) to a true array. You can see a few of those hacks here: Convert arguments to Array Convert NodeList to Array Essentially we would useArray.prototype.slice.call()
on thearguments
orNodeList
to do the conversion. These days...Create a Basic Loader with JavaScript Promises
I've used JavaScript loaders for years; whether it was the Dojo loader, curl.js, or even using jQuery as a JavaScript loader, it's incredibly useful to request a set of resources and react once they've completed loading. Each JavaScript loader is feature-packed, efficient, and does a wonderful job...
Getting Started with ES6 (ES2015) and Babel
If you don't do much work with Node.js there's a good chance you haven't explored the new syntax additions to the JavaScript language provided by ES2015. These language additions include arrow functions, classes, block scoping, and more. These language additions have slowly made their way to Chrome...
Remote Debugging with Charles Proxy
The most difficult part of supporting TV apps when you didn't create them and don't have access to the source code is debugging them when asked for help. It's almost an unfair request -- "we wont give you access to edit the code but we want you...