2 posts about


PromisifyAll! thumbnail

I found an awesome Javascript method the other day that I wanted to quickly share. It's called promisifyAll and it's part of the Bluebird library. I'll give a little more context on promises and why they are useful and then provide info and an example on how to get started using promisfyAll below. I have been writing quite...

Read More

Javascript Class Instantiation Patterns

Javascript Class Instantiation Patterns thumbnail

While technically there are no classes in Javascript, as an object oriented language we need techniques to create objects that model our data and keep our code base DRY. Enter class instantiation patterns! Class instantiation in Javascript is primary done using the pseudoclassical style, which is a fine enough method, but can often lead to confusion as the...

Read More