Articles - web

Automated Google Analytics reports with Google Spreadsheet

We have often commented that accurate benchmarking is the key starting point in the process of optimizing a website. We need to be in a position to measure any changes that are made to know what, if any, impact they have had. It’s also important to normalise and reach consensus regarding our data sources and the metrics that we plan on analysing, as it’s easy to reach the wrong conclusions if different members of the same team query different data sources in slightly different ways, or when analyzing metrics and indicators on Google Analytics, we compare apples with oranges. It’s also true that most of the time, the default Google Analytics reports are not as granular as we would like them to be, in order to facilitate more profound analysis.

Filed under: web, methodology

Install the vmod_header Varnish Module for Varnish 4.0 on Centos 7.1

If you are using Varnish and need to access headers which appear more than once (i.e. multiple set-cookie headers) then you'll have to install the vmod_header Varnish Module.

Filed under: web, tools

Javascript event delegation for a horizontal swipe effect

As front-end developers, there are times where we have to extend third party libraries or jQuery plugins in our applications. In this article I’ll show you a brief example of the javascript code that I used to extend the functionality of an image carousel in order to add a horizontal swipe effect using event delegation.

Filed under: languages, web

Validate and submit Expression Engine comment forms with Ajax using jQuery

On occasions it is useful to be able to “intercept” the normal submit behaviour of a form in order to validate it, send it to the server (via ajax) and then display the result to the user without reloading the page in the browser. In this article we outline one approach to achieving this with jquery for forms that have been generated dynamically within Expression Engine 1.6.X templates.

Filed under: languages, web

301 redirects with Apache virtual hosts

A 301 redirect refers to the HTTP status code that is returned when a HTTP request for a specific resourse is redirected. Here we take a look at the difference between 301 and 302 redirects and show a simple way to implement a 301 redirect using the Apache server's virtual hosts directive.

Filed under: web

Internationalisation options for application data

A github project which presents a number of internationalisation options for application data, some scripts that can be used to create examples of them in a MySQL database and diagrams of the generated schemas.

Filed under: frameworks, web, methodology

Recommendations for multilingual SEO

A series of recommendations for optimising a multilingual site for search engines. This list is based on the instructions, forums and information available for google and bing.

Filed under: web, methodology