- Apr 19, 2019
Encapsulating Logic Using the Command Pattern
Separation of Concerns (SoC), you have probably heard of this term already. In short, it is an important design principle in which you separate your code into individual distinct sections. A piece of software that has a good SoC is normally referred to as being modular. Modular code has the benefits of being reusable, easier collaboration, better testability, easier controlling of application scope, and so on. A great way of ensuring modularity in your code is by implementing the Command Pattern.
- Apr 15, 2019
Welcome back, me!
Hey! It’s been a while, 4 years in fact. It’s really strange looking over my old posts, I was so young and hopeful back then… and the idea of having to set up a bunch of build scripts with a bunch of different tools just so I can get things like importing and exporting modules, and correct use of the
this
keyword didn’t make me sick to my stomach. - Apr 23, 2015
Dynamically loading Ember components
Today I had to solve a problem where components needed to be rendered on a page dynamically, initially I thought of using Partials for this rather than components, but since each panel needed to have its own isolated functionality this wouldn’t have been a very good fit. This kind of functionality is exactly what components are for after all!
- Mar 28, 2015
{{bind-attr}} is dead... hooray!
EmberJS 1.11 released today, and with it some nice changes and additions: such as named substates, inline IFs and the new components helper.
- Mar 23, 2015
Brocolli, ES6, Browserify and NPM
This post is more of a brain dump than a tutorial. I had some trouble getting this one working, and I couldn’t find much help out there using this particular set of tools together in this way.
- Feb 28, 2015
PostgreSQL and .NET
I used to like ORMs just fine but nowadays I find that I’m more of an advocate of doing much or all of the database work yourself. There’s plenty of reasons I think this, but that’s not really what this post is about. I just think there’s a lot to be said for the extra control not using a full blown ORM grants you. (Though I do still like using Micro ORMs as you’ll see)