Which Ember Data Serializer Should I Use?

Saturday, December 5th, 2015

A serializer in Ember Data is used to massage data as it is transferred between the client and the persistence layer. This includes manipulating attribute values, normalizing property names, serializing relationships, and adjusting the structure of request payloads and responses. Ember Data comes with a few serializers:

Read More

Recommended Tutorials to Learn Ember 2

Friday, November 27th, 2015

Updated on 8/12/2016: For those who want to start learning Ember 2, here is a list of my recommendations for the best places to learn Ember.

Read More

A Look Into Ember Data Transforms

Monday, November 23rd, 2015

Ember Data has a feature called transforms that allow you to transform values before they are set on a model or sent back to the server. A transform has two functions: serialize and deserialize. Deserialization converts a value to a format that the client expects. Serialization does the reverse and converts a value to the format expected by the backend. If you’ve been working with Ember Data, then you have already been using transforms and may not have known it. The built in transforms include:

Read More

An Introduction to Ember 2 with Ember CLI

Saturday, November 14th, 2015

Here are the slides for my talk An Introduction to Ember with Ember CLI at SoCal Code Camp 2015.

Read More

Testing with Ember Data RecordArrays

Monday, November 9th, 2015

Recently I was in a situation where I had a list of Ember Data records and I wanted to write a unit test for a computed property in my controller that returned the most recent record. My model hook called query on the store for all cat objects:

Read More