try-catch-FAIL

Failure is inevitable

NAVIGATION - SEARCH

Practical Promises in JavaScript - Returning New Promises with Chaining Promises

Welcome to part 3 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 those promises can be chained together. In this post, we'll see how to apply what we've learned to simplify asynchronous coding challenges. More...

Practical Promises in JavaScript - The Basics of Promise Chaining

Welcome to part 3 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. Today, we're going to look at how promises can be chained together. More...

Practical Promises in JavaScript - Making Promises

In part 1 of our series, we covered the basics of promises. We know what they are. We know how to use then to receive the value of a promise once it's available. We know how to use catch to be notified when something goes wrong. But we haven't yet created a promise! In this post, we'll learn how to create promises. More...

Practical Promises in JavaScript - What are they, and how do I use them?

JavaScript promises are a concept that I see developers, both pros and novices, struggle with on a regular basis. For those of us that come from a synchronous-programming background, using them effectively and understanding what's happening can be challenging, especially if you don't have a good grasp on all the ways that promises can be manipulated and used. In this new series of posts, we'll be looking at how to use promises effectively. More...

Turn an Array into Proper-English with an AngularJS Filter

I needed a way to display a nicely-readable list of strings for an app I'm working on. And by that, I mean that I wanted to display, "Mary, John, and Mark" instead of "Mary, John, Mark". A simple ngRepeat would have been too complex for this, so, filters to the rescue! More...

A Reusable, Simple Gulp File

It’s been over a year since my last semi-rant about gulp.  I’ve continued to use gulp as my client-side build tool on countless projects.  I’ve learned a ton.  I finally feel like I’m ready to create a reusable, all-purpose gulp file.  Here’s what I have so far More...

Random Link Roundup–12/4/2014

Happy Friday, everyone!  Today we have a zombie picture, because my house is contaminated with a mixture of flu and stomach virus that I’m pretty sure will lead to the scene below.   Anyway, on to the links! More...

Random Link Roundup–11/20/2014

What time is it?  It’s time for Friday’s link roundup!  More...

Random Link Roundup–11/7/2014

Happy Friday, everyone!  It’s been a slow link week for me, but here are the interesting tidbits I came across! More...

Random Link Roundup–10/31/2014

Happy Halloween, everyone!  In addition to providing you with a bunch of random links, I’m going to be dressing for the job I want today: More...