Working with Large JSON Blobs Sanely Using SQL Server

Have you ever wished that you could query a large JSON document? I wished that very thing recently while working with a 3rd party API. One particular API call was returning mountains of data, and I needed to get a list of distinct values of a particular property buried within the objects of this JSON…

Read More

A More Elegant Zombie Horde Using Array.from

In my last post, we used ES2015 generators to make a never-ending stream of zombies. A stream is great, but sometimes you need an array. My original approach for making an array of zombies wasn’t elegant, but comments on that post from Ege and Alan showed me a better way using another ES2015 feature. [more]…

Read More

Making a Zombie Horde in JavaScript Using ES6 Generators

Zombies are fun. ES2015 is fun. You know what’s even more fun? ES2015 and zombies together! In this post, I’ll show you how I used ES2015 generators to make an infinite zombie horde. [more] Getting Started This sample should work fine in NodeJS 8+. Go grab it if you don’t have it already! Let’s make…

Read More

Practical Promises in JavaScript – Using async-await

Welcome to the final entry of my Practical Promises series! Today, we’re going to learn about the new async and await keywords that are coming as part of ES2017. [more] If you are just joining us, here is what you missed: In part 1, we talked about what promises are and what they can be…

Read More

Practical Promises in JavaScript – Finally

Welcome to yet another entry in my Practical Promises series! We’re nearing the end, but I overlooked one important, and useful, capability of several promise libraries, which is what we’ll talk about today! [more] For Those Just Tuning In… If you are just joining us, here is what you have missed so far: In part…

Read More

Slides and Code From CodeStock 2017

CodeStock 2017 was awesome! I learned new things, met new people, and had a fantastic time. I’m already looking forward to next year! It’s a bit late, but here’s the content from my talks. Building Mobile Apps with Visual Studio Tools for Apache Cordova Your web development skills can be used to build more than…

Read More

Practical Promises in JavaScript – Order Matters

Welcome to another entry in my Practical Promises series! I know I said the next post would be the last, and we would talk about async/await, but I changed my mind! Instead, today, we’ll revisit the fundamentals to show just how important it is to call things in the right order. [more] If you are…

Read More

Practical Promises in JavaScript – Leveraging Promise Chaining to Achieve Encapsulation

Welcome to part 5 of my Practical Promises series! Today, we’re going to use what we’ve learned to build a better client-side API for a web API. [more] If you are just joining us, here is what you missed: In part 1, we talked about what promises are and what they can be used for….

Read More

Heroic.AutoMapper 4.0 Released!

Thanks to Chuck Bryan, Heroic.AutoMapper is now compatible with the latest-and-greatest from Jimmy Bogard’s AutoMapper library. Update now for AutoMapper 6 support, and as usual, let me know if you have any problems after the upgrade. Thanks, Chuck!

Read More

Practical Promises in JavaScript – Returning New Promises with Chaining Promises

Welcome to part 4 of my Practical Promises series! In part 1, we talked about what promises are and what they can be used for. In part 2, we started looking at how we can create promises. Then in part 3, we saw how each call to then actually makes a new promise, and that…

Read More