Tuesday, May 17, 2016

Flux Architecture

Flux is quickly becoming the standard architecture for building large-scale applications. It's the topic of my latest book, Flux Architecture, available on Amazon.

Monday, December 14, 2015

JavaScript Concurrency

I'm pleased to announce my latest book — JavaScript Concurrency — from Packt Publishing and available on Amazon. This is unique book in that it's more than just a basic rundown of all the concurrency features available to our JavaScript code. Instead, the book uses features like promises, generators, and web workers, as teaching tools for thinking concurrently. There's no shortage of concurrency books out there that teach us how to think in terms of concurrency. This one is specific to JavaScript, and the theme aim is to show you how to write JavaScript code that's concurrent by default, instead of a bolt-on capability. Here's an overview of the chapters:

Friday, July 24, 2015

Efficient counting with lodash

Counting with lodash is easy. A lot of the time, an array is returned, so I just need to read the length property. If I'm working with a chain, I can simply use the size() function. What I like about size() is that it works with anything — strings, arrays, and objects. However, using length or size() isn't always the most efficient answer.

Friday, June 26, 2015

JavaScript at Scale

My latest book, JavaScript at Scale is available for pre-order now at Packt Publishing, and at Amazon. It'll be fully published in July 2015.

The JavaScript ecosystem is filled to the brim, to the point of overflowing actually, with libraries and frameworks. In this mix, there's some truly remarkable technology. In fact, it's hard to make decisions, given all the overlapping functionality and capabilities. What I've found over the past couple of years is that the architectural considerations get lost in all this choice. That is to say, that we may not be selecting the tool that's best for the front-end architecture we've set out to build. The choice of front-end technology is chosen more so on the generic capabilities of the framework. While TODO applications are a great springboard, to familiarize ourselves with the nature of the technology, that can only take us so far.