🙌 40% off everything - Black Friday!

Coupon BF40 at checkout for our biggest discount ever.

days
hours
mins
secs

Blog

Our top guides and resources to help you learn new technologies the right way. Enjoy!

Methods to determine if an Object has a given property image

Methods to determine if an Object has a given property

Todd Motto image

Todd Motto

Jun 30, 2014

There are multiple ways to detect whether an Object has a property. You’d think it’d be as easy as myObject.hasOwnProperty('prop'); - but no, there...

Minimal Angular module syntax approach using an IIFE image

Minimal Angular module syntax approach using an IIFE

Todd Motto image

Todd Motto

Jun 17, 2014

Since day one using Angular, I’ve always debated on how I should be extending modules. This post talks through some common Angular patterns, from v...

Understanding Angulars $scope and $rootScope event system $emit, $broadcast and $on image

Understanding Angulars $scope and $rootScope event system $emit, $broadcast and $on

Todd Motto image

Todd Motto

Jun 11, 2014

Angular’s $emit, $broadcast and $on fall under the common “publish/subscribe” design pattern, or can do, in which you’d publish an event and subscr...

Rethinking AngularJS Controllers image

Rethinking AngularJS Controllers

Todd Motto image

Todd Motto

Jun 9, 2014

Note: please don’t use this approach anymore, use Components and one-way dataflow

What function window, document, undefined - window, document really means image

What function window, document, undefined - window, document really means

Todd Motto image

Todd Motto

Jun 3, 2014

In this post, we’re going to explore what the title suggests, and offer explanations as to what this self invoked function setup gives us.

Understanding JavaScript types and reliable type checking image

Understanding JavaScript types and reliable type checking

Todd Motto image

Todd Motto

Jun 2, 2014

Type checking in JavaScript can often be a pain, especially for new JS developers. I want to show you how to reliably check types in JS and underst...

Everything about custom filters in AngularJS image

Everything about custom filters in AngularJS

Todd Motto image

Todd Motto

May 28, 2014

Angular filters are one of the toughest concepts to work with. They’re a little misunderstood and it actually hurt my brain whilst learning them. F...

Digging into Angulars Controller as syntax image

Digging into Angulars Controller as syntax

Todd Motto image

Todd Motto

May 26, 2014

AngularJS Controllers have recently gone under some changes (version 1.2 to be precise). What this means for scopes, Controllers and Angular develo...

Simple forEach implementation for Objects NodeLists Arrays image

Simple forEach implementation for Objects NodeLists Arrays

Todd Motto image

Todd Motto

May 14, 2014

Looping Objects is easy. Looping Arrays is also easy. Looping NodeLists is easy. They can be a little repetitive though and often take time to cons...

Understanding the 'this' keyword in JavaScript image

Understanding the 'this' keyword in JavaScript

Todd Motto image

Todd Motto

Apr 12, 2014

It’s probably safe to say that the this keyword is one of the most misunderstood parts of JavaScript. Admittedly, I used to throw the this keyword ...

Writing a standalone Ajax XHR JavaScript micro-library image

Writing a standalone Ajax XHR JavaScript micro-library

Todd Motto image

Todd Motto

Mar 31, 2014

Whether you’re working with websites or applications, you’re bound to have faced a task dealing with Ajax requests, whether it be getting a new doc...

Ditch the .forEach.call NodeList hack image

Ditch the .forEach.call NodeList hack

Todd Motto image

Todd Motto

Feb 23, 2014

I’ve got to admit before we go any further, I used to use this technique. It looked edgy and cool and I was doing ECMA5 hacks, but after a while an...