Containers and Components in Angular 1

In this post, I want to explore a different approach to writing directives in Angular 1. As we know, building applications in Angular 2 is going to be different from what we’re used to in Angular 1. For example, ng-controller will be gone, and components will be the building blocks of applications.

Read more

Avoiding Composability Issues With Angular 1 Directives

In Angular 1, directives are a way for developers to extend HTML. This means introducing new behaviours to the DOM via custom tags or attributes. You can change what a directive matches by using the restrict option. By default it is set to 'EA', meaning it works on elements (tags) and attributes.

Read more

On Flux Stores and Actions

There’s been a lot of discussion on what Flux is, the different variations, and how the pattern can be improved upon. I’ve even blogged about Flux here on this blog!

Read more

What the Flux? (On Flux, DDD, and CQRS)

Flux is an application architecture designed by Facebook for their JavaScript applications. It was first introduced by Facebook in May 2014, and it has since garnered much interest in the JavaScript community.

Read more

JavaScript Function Redux (+ ES6!)

JavaScript functions can be confusing sometimes. There are many ways to define them and many ways to invoke them. Throw in this, and things really starts to get fun.

Read more

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

View full archive