Here are all the tags available on this blog.
PhantomJS for client side testing
Monday, 17 March 2014
[Please note that PhantomJS has been suspended, so this article is only retained out of historical interest.]
As web-based projects do more on the client side, conventional server-side performance testing is not able to give you all the performance story. I have, therefore, started looking around for tools which would give more insight into that purely client-side performance.
A learning stub server in 40 lines of code
Wednesday, 2 April 2014
Wednesday, 10 June 2015
Thursday, 3 September 2015
Functional programming is seeing an increase in popularity, as can be seen in rising adoption of languages like Scala, Clojure and Erlang. Even Java has introduced lambdas (more about lambdas, later).
Tuesday, 8 September 2015
We will now look at another functional technique, known as currying, which builds on those concepts.
Saturday, 12 September 2015
Monday, 14 September 2015
One area this applies to is in the large number of function calls resulting from this approach — particularly when we are writing recursive code.
We will give an example of this problem — calculating Fibonacci numbers — and then look at a technique known as memoization as a way of improving performance.
Tuesday, 24 November 2015
I recently needed to put together a quick proof of concept for a small project
and decided to use this as an opportunity to try out a lighter than light
Whilst frameworks like Bootstrap are already quite light, I wanted to see if I
could remove even more. With all the Angular 2 kerfuffle, I wanted to look
for another framework which I can use instead. I also wanted to drop gulp
and just try using npm instead.
Cross Framework Messaging
Wednesday, 20 January 2016
situation where I needed two different UI elements — built with two different
Rather than choosing to migrate one onto a different framework, I looked at a
way of allowing them to send messages to each other using the Mediator Design
Using this pattern, I have an example of an Angular app, a React app, and a
A CD Pipeline in Amazon Web Services
Friday, 1 September 2017
In a previous article, I described serving a website from an S3 bucket, with CloudFront allowing us to apply SSL. This article looks at the other side of the process — how we populate the S3 bucket in the first place. I would typically use Jenkins to set up a build and deploy pipeline for this, but here I look at using the build tools AWS provides.
A Clojurescript API Server in Docker using ExpressJS
Wednesday, 11 October 2017
Automated Tweets with AWS Lambda and DynamoDB
Wednesday, 15 November 2017
Another article about Amazon Web Services (AWS), this time creating a Lambda (or Serverless or Function as a Service) which tweets about this very blog at regular intervals, using DynamoDB as its data store. I also use AWS Simple Notification Service (SNS) to trigger an e-mail to let me know the tweet has happened.
Sunday, 17 June 2018
Using AWS Cognito to Secure an ExpressJS API
Sunday, 8 July 2018