Posts about ember

Nov
17
2014

Organize Your Ember App with Pods

November 17, 2014

You may have seen references to pods when reading up on Ember and ember-cli. What the heck are pods? Simply put, pods are a way of grouping files in your project by feature (ex: Task) rather than by type (ex: controllers). According to the ember-cli...

Continue reading »

Oct
24
2014

Not using I18n? You probably should be.

October 24, 2014

I18n is an acronym for internationalization. It is a part of most frameworks, and is used in applications to translate words or phrases to other languages. Instead of writing the phrase “My favorite songs”, you make a call to the I18n library to fetch...

Continue reading »

Oct
24
2014

I18n in Practice

October 24, 2014

In part 1 of this series on using I18n, we looked at reasons to use I18n in your apps, even if you only need to support a single language.

Now, let’s look at how to use I18n in that context using both Rails and ember.js.

I18n example in Rails

Continue reading »

Sep
5
2014

Understanding Loading Substates in Ember

September 5, 2014

Ember applications (and client-side applications in general) respond quickly to user interaction. In a perfect world, the API powering your application also responds quickly, but unfortunately most of us don’t live in a perfect world.

Ember has a...

Continue reading »

May
2
2014

Non-RESTful API calls with Ember Data

May 2, 2014

When developing an application using Ember and Ember Data, if the API you're using is a completely RESTful interface, things are very straightforward. Once you need to make a call that does not fit into standard REST conventions, such as task/:id/complete as PUT request, you have a choice to make. Your first instinct might be to reach for Ember.$.ajax, but don't; especially if you're sending custom headers or using a namespace. Continue reading »