i18n with tagged template strings in ECMAScript 6

One of the new features coming to ECMAScript 6 (ES6), the next version of JavaScript standards, is the template string. The simplest use cases for template strings are creating multiline strings, and doing string interpolation.

Read more

Designing AngularJS Directives

Throughout your adventures with Angular, you will undoubtedly come across situations where custom directives make sense. These situations typically involve DOM manipulations, or calling a jQuery plugin.

Read more

AngularDart, Web Components, and the Future

AngularJS has been instrumental in changing the way I develop web applications. From building imperative views where both business logic and user interaction live, to separate controllers and directives that handle both requirements respectively. From sharing components through jQuery plugins, the usual common denominator, to sharing components through declarative HTML. From reacting to model changes through events, to wiring up the HTML to react to model changes. The list goes on.

Read more

Grunt vs Gulp - Beyond the Numbers

Just when you think that you're in control,

Just when you think that you've got a hold,

Just when you get on a roll,

Here it goes, here it goes, here it goes again.

OK Go - Here It Goes Again

Read more

Creating Semantic, Reusable Directives in AngularJS

One of the main benefits of Angular is the ability to easily extend HTML with new behaviours through the use of custom directives. Directives allow developers to match markers in the DOM with the intended behaviours.

Read more

Please use UMD for your JavaScript libraries

I think all JavaScript module writers should start using UMD when defining their modules. Yes, it’s a bit messy and seemingly unnecessary boilerplate. But if you really cared about your users, then you’ll do it. :)

Read more

Cascading: Include header in the output for text-delimited files

I recently started working on pipelines using Hadoop to run MapReduce jobs. One of the pipelines I need to setup involves reading in two or more text-delimited files (e.g. CSV), join them on one or more fields (inner, outer, left, or right), then write out the resulting text-delimited file.

Read more

Added Search to Website

I added searching capabilities to this static website. I don’t think any website is useful these days without some basic search functionality.

Read more

View full archive