I originally wrote about how to write a command line utility in Node.js back in 2013 when I was first learning how to do it myself. In the three years that have past the Node.js ecosystem has continued to grow so I thought it was about time to update my original post. If you want to see the original post it is still online over here.
The worst part about working on sites that use AJAX is having to use the XMLHttpRequest API, unfortunately this isn’t always easy as we are using it for things it wasn’t really made for. To get around this developers often use libraries like jQuery or MooTools which provide an abstraction however underlying these libraries is still the same XMLHttpRequest API.
So the focus of this blog is very much me making notes on how to do cool stuff so others can also learn from what I have learnt. Today I want to write a piece about something that is close to my heart which is CDD, also known as cake driven development.
Recently I have been spending my spare time working on rewriting SimpleStateManager. The project already had a pretty robust series of unit tests however I wanted to improve this further by adding a few more.
In my last post I looked at how we could prioritise content based on the type of device. The first post was only part of the puzzle you need to complete to build an awesome responsive experience, it’s probably worth pointing out that each post is standalone and doesn’t assume any knowledge from a previous post. With this in mind, the next area of responsive design we will look at is how we can optimise the site’s navigation to provide good onward journeys regardless of the type of device a user is using.