Web Developement
Most Recent
Read More
October 30, 2016

Why Should You Optimise a Website for speed?

Before I explain why you should optimise a website for speed I'm just going to explain a little about what happens when you load a web page. In this instance by load a webpage I mean type a URL into a web browser and press enter
Read More
July 24, 2016

How to Install Umbraco using NuGet

Installing Umbraco is pretty simple but it’s always good to have a reference as general it isn’t something you do too often. This tutorial aims to step you through how to install Umbraco on your local computer so if there is anything I have missed please comment below.

What you need A Windows PC (mine is running Windows 10) Microsoft Visual Studio (I use the Community Edition because it’s free, you can find it here Microsoft SQL Server with Tools (I use the 2014 version which can be found here Microsoft .NET 4.5 [...]
Read More
July 3, 2016

How to Setup a Multi Environment Robots.txt file in Ruby on Rails

Almost every web developer I know at some point or another has forgot to block search engines and had a test site rank in Google. Well here is a quick way to set it up once and it is configured correctly the Robots.txt file in Ruby on Rails for development, testing and production.

1. In a common controller such as Pages Controller or Home Controller create an action called robots with the following content: [crayon-63941f4521c26007788846/] 2. Create your robots.txt files based on environment. Put each one of these in the config/ [...]

Read More
February 28, 2016

Umbraco 7 Forms Logic Bug

I’ve never had to use conditional logic in Umbraco forms before but as soon as I did, it didn’t work as it looks like there is a Umbraco 7 forms logic bug. It appeared that I’ve setup everything in the backend correctly but I was getting an error saying:

“jquery Unexpected end of input”

Sounds simple enough but took me a little bit of time to find.

In \Views\Partials\Forms\Scripts.cshtml on line 11 these is this line of code:

<input type=”hidden” id=”values_@Model.FormClientId” value=”@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(Model.Pages.SelectMany(p => p.Fieldsets).SelectMany(fs [...]