Type(Script)Ahead

Recently I ran into a task that I had encountered less than a year ago with another client. In both cases the client was using Bootstrap CSS for their grid layout, but didn’t have much need for the Bootstrap JavaScript bits. After a while the need for type ahead functionality...

PatternsSnippets
Read more

Simply being lazy and concurrent

I recently worked on a long running migration project, where we needed to ensure that some of the sql migration scripts were only called once per entity that was migrated, in a threadsafe manner. I looked to the System.Collections.Concurrent namespace, but none of the classes...

Snippets
Read more

TypeScript patterns: Controller

The next pattern I want to take a look at, that is fundamental to how many JavaScript applications are structured, is the Controller pattern. There are different definitions for what a Controller is on the client, depending on what framework people are used to working with. As...

LanguagesPatterns
Read more

TypeScript patterns: Lazy

I have been working with TypeScript for quite a while now, and I really enjoy how the strong typing enables better tooling, as well as more understandable code, where the patterns of old look more like themselves, than they do in plain JavaScript. With the adoptation that...

LanguagesPatterns
Read more