Testing Ember Components With Both Unit and Integration Tests

Thursday, January 14th, 2016

In this post, we’ll look at how integration tests can be used in conjunction with unit tests to effectively test different aspects of your Ember components.

Read More

Running Ember CLI on Cloud 9 IDE

Tuesday, January 12th, 2016

Interested in giving Ember a try but don’t want to install Ember CLI on your machine? Or maybe you love Cloud 9 IDE but are unsure of how to run Ember CLI on there. Check out this short video I created that walks you through how to set it up in a few minutes!

Read More

Handling Errors with Ember Data

Saturday, January 9th, 2016

UPDATED 3/25/16 to reflect Ember Data 2.x

Read More

Improve Code Readability In JavaScript With Fluent Interfaces

Tuesday, January 5th, 2016

In today’s post, I want to show you how a fluent interface, also known as a fluent API, can help improve the readability of your code. Imagine you have an array of objects, maybe a list of products, and you want to filter these objects based on some criteria. There are several ways you can achieve this, but let’s look at how using a fluent API can improve the readability of this.

Read More

Controlling Which Tests Run In Jasmine

Sunday, January 3rd, 2016

When working with Jasmine, you might find yourself wanting to control which tests execute. One way to do this is to temporarily comment out tests that you don’t want to execute. This works, but it can be quite tedious if you have a lot of tests, and you may forget to uncomment it back. There’s a better way. Let me show you.

Read More