In this post, we'll look at how to loop in Elixir through recursion by rebuilding Enum.each, Enum.reduce, Enum.map, and Enum.filter.
In this post, we're going to look at capturing functions and expressions, which can make Elixir code more concise.
Time to dive into functional programming and learn Elixir. This post covers keyword lists.
This post covers new Ember component features as of 3.4.
This post covers creating custom QUnit assertions in Ember.
This post covers how I handled tracking hasMany relationship changes with ember-changeset.
This post covers how to access the instance of a model in the defaultValue function of an attribute to conditionally set a default value.
This post covers how to import files from node_modules in Ember
This post covers how to extract metadata from a custom API with Ember Data.
Contextual Components are one of my favorite features in Ember. In this post, I show how you can implement the same pattern in React components using the Render Props pattern.
In this blog post, I cover the Render Props pattern in React and what it looks like in Ember.
This post covers how I approached conditional validations with ember-changeset.
In this post, I cover how to test with relative dates and timezones in an Ember application.
This post explores a few approaches to mocking services in acceptance tests and shows an example that stubs window.confirm.
In this post, I go over the iterable and iterator protocols and show some examples of making your own objects iterable so that they can be used with the for...of loop or the spread operator.
How I built a checkbox list Ember component using contextual components and an ES 2015 Set
In my new SitePoint course "Test-Driven Development in Node.js", I teach test-driven development using practical examples, covering a range of topics including the fundamental theory, testing asynchronous code, and the different types of test doubles.