Javascript – Revealing Module Pattern

This Javascript pattern allows you to define a piece of code with a private scope but have it accessible with a public method. Easy to implement and simple to understand. <blockquote><code> var createWorker = function() {</code> var task1 = function() { console.log(“moo1”); } var task2 = function() { console.log(“moo2”); } return { job1: task1, job2:Continue reading “Javascript – Revealing Module Pattern”

Web Performance – IIS GZip Compression

There’s nothing like performance tuning your website and watching benchmarks better themselves. Sometimes it can be tricky but fortunately this is one of the easier fixes. YSlow and Chrome Dev tools recommend gzip compression and you are looking at around a 70% reduction in file size for your static and dynamic resources. Great! So howContinue reading “Web Performance – IIS GZip Compression”

New Marie Curie ‘In Your Area’ Search Functionality

For the past two weeks here at Marie Curie we’ve been working on new functionality for searching for Marie Curie services across the United Kingdom. It has just today finally gone live and now we can serve our supporters with better information about the key services and events in their area. ‘In Your Area’ OnContinue reading “New Marie Curie ‘In Your Area’ Search Functionality”

Architect – Our Website Branching Strategy @ Marie Curie Cancer Care

What we use We use a combination of Git, EPiServer and have a fairly small team which makes the challenge of using the standard pattern of Gitflow a little more difficult. So we use a part of it to help us get an excellent balance between being responsive to post production issues and minimal branchContinue reading “Architect – Our Website Branching Strategy @ Marie Curie Cancer Care”

Property Injection & Action Filters in EPiServer 7 CMS

I spent a bit of time putting in some custom implementation to support Property Injection on to my Action Filters before realizing that EPiServer 7 already provides this functionality for me. Doh. In order to take advantage all you need to do is set your DI controlled interface to the generic type property of the Injected class.Continue reading “Property Injection & Action Filters in EPiServer 7 CMS”

Architect – Technical Design Workflow for Creating New Fundraising Page using JustGiving API

JustGiving provides an API that allows charities to create fundraising pages from their own website. Charities benefit from this by being able to integrate this functionality into their own user journeys. I designed a user journey workflow for a user to create a JustGiving Fundraising Page in remembrance of someone for where I currently work. From a technicalContinue reading “Architect – Technical Design Workflow for Creating New Fundraising Page using JustGiving API”

HTML with in-line Razor

This little gotcha keeps biting me in the ass every time I move away from Razor for a while. So I’ve decided to blog so this time I’ll remember. When you want to insert some razor syntax in-line within a HTML tag. Make sure you include the @ delimiter on any further statement. Following example attempts to addContinue reading “HTML with in-line Razor”