Creating a Custom Ember CLI Command

Sunday, July 10th, 2016

Ever wondered how to create your own custom Ember CLI command? Recently I created a custom Ember CLI command as an addon called ember-share that allows you to share your local running Ember app with the world via a publicly accessible URL. This endeavor took some research and required looking at other addons like ember-cli-deploy, so I thought I’d share what I learned in case you want to create your own custom command too.

Read More

Stubbing "Today" in JavaScript Unit Tests

Tuesday, June 21st, 2016

One of the challenges of working with dates is unit testing code that depends on the current date. For example, let’s say we have a purchase history, and we want to find all purchase transactions for today. Let’s write a test for this:

Read More

Ember Data in the Wild Is Out!

Sunday, June 19th, 2016

I'm happy to announce that my book Ember Data in the Wild - Getting Ember Data to Work With Your API is finally finished and available for purchase!

Read More

Get Up and Running with Ember FastBoot

Friday, April 8th, 2016

Get up and running with Ember FastBoot with this video tutorial. This video tutorial goes through converting a simple application using jQuery AJAX calls, components, and Ember Data to using Ember FastBoot in under 5 minutes. It’s that easy.

Read More

Styling <select> Elements with CSS

Thursday, April 7th, 2016

As a JavaScript developer, I find myself keeping up less and less with CSS. Recently I had to style a select menu and figured this was probably now possible in at least modern browsers. After some research and trial and error, this is the solution I ended up with that worked pretty well:

Read More