Collection

Posts

September 1, 2017 · 1 min read

httpstat.us now supports HTTPS

A few years ago Tatham Oddie and I launched a little website for testing HTTP responses called httpstat.us. With websites being encouraged to move to HTTPS-first (like how Google …

Read story
August 30, 2017 · 6 min read

NDC Sydney Recap

In August this year I was lucky enough to speak at NDC Sydney for the 2nd time, this year I use the material from my redux series for one talk and did a second talk about getting …

Read story
August 10, 2017 · 5 min read

React SVG Chart Animation

In my last post I talked about animating SVG objects and how to combine that with React. As I talked about the catalyst for it was looking into how we could do charts. Well of …

Read story
August 8, 2017 · 4 min read

React SVG Animations

I’ve been working on a project recently that we’ve using React for the UI component of it. While starting planning out the next phase of the project we looked at a …

Read story
August 7, 2017 · 4 min read

DDD Sydney 2017 Recap

Another year has come and gone and with that DDD Sydney! Last year I wrote about what I learnt organising DDD Sydney for the first time and I wanted to talk a bit about what …

Read story
July 27, 2017 · 2 min read

Site Rebuild

Well it’s finally happened, I’ve finally listened to the advice I’ve quite often received from readers that my website layout isn’t great, the code examples …

Read story
September 11, 2014 · 2 min read

Add or update with db.js

A common question with db.js is how to merge data from a remote store into the local store. When doing so you need to think about how you're handling an add vs an update statement.

Read story
January 28, 2014 · 5 min read

Cleaning up promises with yield

Previously we looked at cleaning up callback hell with thunks and generators, but in this post we'll look at the next approach to managing callbacks, Promises, and how we could clean that up with generators.

Read story
September 6, 2013 · 8 min read

LINQ in JavaScript, ES6 style

It's been a few years since I last blogged about the concept of LINQ in JavaScript as a lot has changed in the JavaScript landscape. So let's revisit the idea of it with a look at how you could leverage LINQ in JavaScript for ES6.

Read story
August 2, 2013 · 5 min read

AJAX without jQuery

When was the last time you wrote an AJAX request? When was the last time you did it without relying on jQuery? In this article we'll look at how do do just that, how do make an AJAX request without jQuery to better understand what's going on.

Read story
July 22, 2013 · 4 min read

Array-like objects

Just because it looks like a duck, walks like a duck, quacks like a duck doesn't mean it's a duck. There's dangers with making assumptions of your JavaScript objects based on their surface area. That said, a lot of power can be gleamed by these seemingly innocent assumptions.

Read story
July 10, 2013 · 6 min read

Implementing "indexers" in JavaScript

My colleague Luke Drumm challenged me to implement C# style indexers in JavaScript. So let's have a look at how you can do that, and how you can make some very interesting JavaScript objects that are self replicating. We'll build on the knowledge of using `bind` and `apply` from the last two posts.

Read story
July 4, 2013 · 4 min read

JavaScript call and apply

After having confused one of my colleagues with some code that used the JavaScript `apply` method and giving them an answer that didn't leave them completely bemused I thought I'd share my explanation with the world.

Read story
June 21, 2013 · 2 min read

Walking a JavaScript object

Ever had a path to a path to a property on a JavaScript object that you want to walk? Something along the lines of `foo.bar.baz`. Recently I was trying to solve this problem and came across a nifty little trick

Read story
June 18, 2013 · 5 min read

Solving DocPad's excessive memory usage

After moving my site to DocPad I found a problem, DocPad is a massive memory hog! The result of this is that I can't even run it on a single Heroku web dyno, a static HTML site can't run on a single web dyno! So let's have a look at how I went and solved the problem

Read story
June 10, 2013 · 11 min read

From FunnelWeb to Git in a few simple steps

With the decision to go to Git from FunnelWeb I wanted to be able to maintain the history of the changes. Since many of my posts have multiple revisions I wanted them to be listed as changesets in Git. In this post we'll look at how to get the content out of FunnelWeb (or any content database) and into Git as full history.

Read story
March 19, 2012 · 5 min read

OWIN Responses

A look at how to give power to our responses by making different response types easier to handle

Read story
March 15, 2012 · 6 min read

OWIN and Middleware

In my last post I looked at getting started with the basics of OWIN and how to create a server which wont do anything overly useful. In this post I want to go a step further and …

Read story
February 16, 2012 · 4 min read

KendoUI Bootstrapper

For my Stats It project I’m using KendoUI as my UI widget layer (and charting) as it has several more UI widgets that I’m looking for than jQuery UI offers. But …

Read story
December 22, 2011 · 3 min read

2011, a year in review

As the year wraps up it brings time for the atypical year in review post! While last year I declared to be the year of the conferences but of course this year was just as crazy …

Read story
December 19, 2011 · 2 min read

I want you

Hi, my name’s Aaron and I’m a former member of the Umbraco core team. Before I departed the core team something I was pushing for was greater involvement between the …

Read story
October 12, 2011 · 4 min read

Tips for travelling as a geek

Anyone who follows me on twitter will have probably noticed that in the last two weeks I’ve been tweeting with a geolocation in Vietnam. If you’re really smart you may …

Read story
September 15, 2011 · 1 min read

So long and thanks for all the fish

So it saddens me to say but as of today I will not be contributing to Umbraco, I have been stepped down from my contributor role on the project. I wish Shannon, Alex, Matt, Niels …

Read story
August 9, 2011 · 2 min read

JavaScript: A story

This is a bit of a joke that I wrote on our internal mailing list in which we were poking fun at different technologies and making up stories around them. I thought it was funny so …

Read story
July 10, 2011 · 1 min read

JavaScript Quiz

Today I released a little website, http://javascriptquiz.com, which was inspired by http://cssquiz.com. Basically it’s a site which I’ll put out JavaScript questions …

Read story
April 28, 2011 · 1 min read

REMIX 11

I’m going to be speaking at REMIX11 this year, I’ll be presenting Chasing the evolving web: things you need to know to be a modern web developer. So get yourself a …

Read story
April 27, 2011 · 1 min read

It’s CodeGarden time!

Well it’s that time of year again, the time when CodeGarden is coming back! As is tradition I’ll be in attendance (3rd year running) and representing a new employer (although I’m …

Read story
April 3, 2011 · 1 min read

I can haz MVP

Incase you don’t follow me on twitter you may have missed the annoncement over the weekend that I’ve been awarded my first Microsoft MVP award, for Internet Explorer …

Read story
March 28, 2011 · 5 min read

An uninformed overview of NuGet

This post stems out of a discussion last night with Demis Bellot (@demisbellot) on twitter. Keep in mind that a) I don’t work on the NuGet team (or for Microsoft) and b) …

Read story
July 3, 2010 · 5 min read

Documents in Lucene.Net

As you’re most likely already aware Lucene.Net is a Document Database, which means that it’s essentially a key/ value store, with the crux of the interaction through …

Read story
May 27, 2010 · 3 min read

Analyzers in Lucene.Net

What is an Analyzer?## When you want to insert data into a Lucene index, or when you want to get the data back out of the index you will need to use an Analyzer to do this. Lucene …

Read story
June 1, 2009 · 5 min read

Isolating vs Mocking

I've been doing a lot of playing with testing frameworks and working out what's the best to use for the different needs. There's two kinds of frameworks out there for .NET, mocking …

Read story
May 12, 2009 · 3 min read

Is TDD worth it?

Today Alistair Denyes finally gave the presentation on Integration Testing which he's been saying he'd give for something like 12 months, so I thought it'd be a good …

Read story
April 26, 2009 · 2 min read

Viralising via twitter

Yet another one of my posts about how I just don't get Twitter, this time it's about the way which sites can go viral via Twitter, and how quickly they spread. A while ago a site …

Read story
April 20, 2009 · 5 min read

LINQ in JavaScript

Let me start by saying that I am aware that there is a LINQ to JavaScript project on Codeplex but this was done by me are more of an achidemic exercise/ challange. So while …

Read story
March 23, 2009 · 4 min read

Building a LINQ provider - Step 0

Since I've started writing LINQ to Umbraco I have been doing a lot of investigation into the way that LINQ works and how to go about building your own custom LINQ provider. One …

Read story
March 19, 2009 · 2 min read

A LINQ observation

Well I'm making good headway with LINQ to Umbraco, in the next few days I'll be doing a very interesting check in (which I'll also blog here about). My tweet-peeps already have an …

Read story
March 10, 2009 · 1 min read

I still don't get Twitter

So Karl posted today (well, tomorrow at 2.29am or something, yeah my blog isn't the only one who's dates are freaky!) asking what value Twitter adds. As I recently posted I have a …

Read story
March 1, 2009 · 4 min read

An observation on browsers

I've been a big fan of the Opera web browser for a number of years, I've used it since it's v4 days. I remember it being an ad-supported browser and I remember when it became free …

Read story
February 5, 2009 · 2 min read

Umbraco 4 broke my project!

Umbraco 4 may have been out for a week now but I've been busy and I am only slowly getting to upgrading a project I've been working on to the current build. But I finally got …

Read story
January 31, 2009 · 2 min read

Custom eventing with jQuery

Last Thursday I attended a session through Victoria.NET on jQuery hosted by Damian Edwards. It was a good beginner session on jQuery, I was familiar with most of it but there were …

Read story
January 29, 2009 · 2 min read

Comment feeding and more dogfood

Well I've been doing some more changes to my website (and not breaking it... much :P) and I've finally got round to adding a feature that Ruben was nagging for, a comment RSS feed. …

Read story
January 25, 2009 · 4 min read

Are extensions really evil?

Ruben (of Umbraco fame) recently wrote a post entitled Extension Methods: Silent static slaves which was in response to a comment I'd left on a previous post about static classes …

Read story
January 25, 2009 · 3 min read

It's still cool to pick on Microsoft

This is going to deviate from my standard brain dribble a bit and be more of an opinion piece. So recently the EU has announced it is going to fine Microsoft again because Internet …

Read story
January 25, 2009 · 1 min read

Twitterific

Well I'm a whore in all it's forms now (well, actually it's been that way for a while), I'm a twitter-er. You'll find my occational tweets here. I don't really find the appeal of …

Read story
January 21, 2009 · 1 min read

Apologies to my loyal fans

Just a quick apology to anyone who has tried to submit a comment to my blog since I did the site refresh. Part of my new code base around the comment submission was not working so …

Read story
January 5, 2009 · 2 min read

Dude, where's my Canvas?

Although there's been big praise for the Umbraco 4 RC release, and after I upgraded a site I'm working on to it, I had high hopes. One of the things I wanted to really play with …

Read story
December 24, 2008 · 4 min read

A month with TypeMock

A month ago I did a post about the TypeMock mocking framework and the nice people at TypeMock were kind enough to give me a 1 year license for their software. Although I haven't …

Read story
December 15, 2008 · 1 min read

I'm now on Feedburner

Well I've moved a step closer to having my entire life monitored by Google, I now have my feed monitored via Feedburner. You can find me here: …

Read story
December 15, 2008 · 2 min read

What's in a name?

Something that really annoys me is that when people don't use the correct name of a product, and by not using the name of the product completely miss what the product is for. I …

Read story
December 14, 2008 · 3 min read

Are ORM's bad?

So an interesting post come up on Stack Overflow (which, if you're not into you really should be) which was on the idea of ORM's and whether why are they becoming popular. I'm a …

Read story
December 13, 2008 · 1 min read

Microsoft Ajax <3 jQuery

All ASP.NET developers should know by now that Microsoft is officiall supporting jQuery as part of Visual Studio 2008 (and beyond). Well I've finally got to doing a project where …

Read story
December 5, 2008 · 1 min read

Combining Paths

Maybe I'm a slow learner or maybe this is one of those beautifully hidden features of the .NET framework but I came across a nifty little static method (thanks to this post on …

Read story
December 2, 2008 · 2 min read

Once you go black...

So about 2 months ago I decided to start playing around with Visual Studio schemes to find something that was just right for dev work. I'd always been a standard VS scheme user, …

Read story
November 13, 2008 · 2 min read

Maintaining client sessions

In my recent blog browsing I came across an interesting post from Joel at See Joel Program on maintaining an ASP.NET session within an AJAX application. It's a very good post and …

Read story
October 31, 2008 · 5 min read

C# 4.0

As most people would know PDC is on at the moment over in the US and as usual Microsoft is showing their bag-o-tricks about what they are working on. With PDC we saw a CTP release …

Read story
October 25, 2008 · 2 min read

When == isn't equal

Earlier this month I did a post about common mistakes made by developers new to JavaScript but there's a point I forgot to cover which I see a lot of. Nearly every language has a …

Read story
September 27, 2008 · 3 min read

Using LINQ to do email templates

So recently I was working on project where a client wanted to have customisable email templates which could be merged with data from their database so we store the email as an XML …

Read story
September 25, 2008 · 2 min read

LINQPad

I'm sure that a lot of people have played with LINQPad and if you haven't I strongly suggest you do. In short LINQPad is a C#, VB & SQL code snippet tester. A lot of people …

Read story
September 16, 2008 · 5 min read

LINQ to XML to... Excel?

The other day one of the guys I work with was trying to work out the best way to generate an Excel document from .NET as the client had some wierd requirements around how the …

Read story
September 11, 2008 · 2 min read

Not so tasty cookies

As a general rule I'll avoid web cookies, they've got a bad wrap, and are too often used and abused. But for storing long life information on a client there's not really anything …

Read story
September 3, 2008 · 5 min read

Does the world need another browser?

So today Google released their foray into the web browser market with Google Chrome and I'm sitting here wondering does the world really need another browser? Lets look at the big …

Read story
September 2, 2008 · 2 min read

Umbraco Membership Trap

So today I was working to fix a problem on a site of ours which was to do with logging out of a site which uses the Umbraco Membership as the authentication provider. The bug was …

Read story
August 28, 2008 · 4 min read

Optimising UpdatePanels

So it can be generally agreed that UpdatePanels are evil. Plenty of people have blogged about this, there's a good post here which goes over it in more details. To give a …

Read story
August 28, 2008 · 4 min read

Paging data client side

So in my last post I looked at how to use an UpdatePanel to do data paging and then optimising the HTML to get the best performance from our requests, but it still wasn't optimal. …

Read story
August 21, 2008 · 1 min read

Mac is dead again

Well again my MBP is back to the repairer, I've been having intermitent issues with the keyboard and mouse since it last was repaired (on an unrelated matter) and finally I'd had …

Read story
August 13, 2008 · 2 min read

ASP.NET Virtual Earth control

So I was going through my blog feeds the other and came across a post about the CTP release of an ASP.NET Virtual Earth server control (Channel9 video here). I'm doing quite a bit …

Read story
August 9, 2008 · 2 min read

AaronPowell.MSBuild.Tasks v0.2

Ok, well it's actually v0.2.3143.41238 but who's counting :stuck_out_tongue: So I've got a new version of my MSBuild tasks ready, and in this new minor release I added a new …

Read story
August 7, 2008 · 3 min read

Extending Umbraco Members

Recently we've had several projects which have come through in which we are building a solution in Umbraco and the client wants to have memberships within the site. Umbraco 3.x …

Read story