PHPNews

ES6 Template Literals, the Handlebars killer?

I had a recent discussion with one of the awesome developers at the FT - @bjfletcher . We were looking at how viable it would be to replace a templating language, like Handlebars with ES6 Template Literals, in some manner. Ben suggested it’d be a good idea to turn our discussion into a post, and here we are - …

Continue reading »

Written by Keith Cirkel - - Aggregated on Wednesday October 26, 2016


Metaprogramming in ES6: Part 3 - Proxies

In the third and final installment of my Metaprogramming in ES6 series - remember, those posts I wrote over a year ago and promised I wouldn’t take ages to complete but did? In this last post, we’ll be looking at possibly the coolest ES6 Reflection feature: Proxies. Those of you versed in my back catalogue will have …

Continue reading »

Written by Keith Cirkel - - Aggregated on Monday August 8, 2016


Metaprogramming in ES6: Part 2 - Reflect

In my last post we had a look at Symbols , and how they add useful new metaprogramming features to JavaScript. This time, we’re (finally!) going to talk all about Reflect. If you haven’t read Part 1: Symbols , then I’d recommend you do. In the last post, I made a key point which I’m going to reiterate: …

Continue reading »

Written by Keith Cirkel - - Aggregated on Wednesday August 26, 2015


How to Use npm as a Build Tool

Update: I frequently get asked, considering this post is now years old, whether or not I still stand by the advice in this post, and whether new developers should use npm as a build tool. The advice still stands, and I believe developers should use npm as a build tool. Myself; I’ve been Gulp & Grunt free since …

Continue reading »

Written by Keith Cirkel - - Aggregated on Tuesday December 9, 2014


Why we should stop using Grunt & Gulp

If you’re building a modern JavaScript application or website, there’s a good chance you’ve seen the JavaScript Build Tool Landscape. The heavyweights of this world are Grunt and Gulp , although many , many others exist too . Grunt receives a whopping 30,000 downloads most days , and Gulp has a respectable …

Continue reading »

Written by Keith Cirkel - - Aggregated on Thursday October 30, 2014


Load balancing Node.js

This month I started the second professional Node.js contract of my career - building a multinational news website. I love Node.js and I consider myself lucky to be working on huge websites that use it as a technology. Node.js, however, is still considered a “new” technology, and is an emerging technology to use in …

Continue reading »

Written by Keith Cirkel - - Aggregated on Thursday March 20, 2014


Schema.org - the new generation of SEO

SEO has always been a bit of a black-hat science, hiring agencies to “do your SEO” is a minefield and you may just end up with a 2-bit operations who ask for money because they generated some XML using a free SiteMap Generator , or worse give you actively bad advice such as “use meta keywords” or “duplicate this …

Continue reading »

Written by Keith Cirkel - - Aggregated on Thursday February 13, 2014


The ups and downs of the HTTP header

As part of a project I’m working on, I was doing research into HTTP headers. I couldn’t really find any decent resources that summarised the differences of headers between browsers, so decided to just write my own. Then things… got out of hand. This is big, so before you get into this make yourself a brew, sit down …

Continue reading »

Written by Keith Cirkel - - Aggregated on Thursday December 5, 2013


What to expect from a world without IE6.

It’s no secret that developers across the globe resent Internet Explorer. It’s disregard for standards are a burden, often requiring a parallel development effort just to cater for its inadequacies. Newer versions aren’t much better, and in some cases exacerbate the problem. This year saw Internet Explorer 6 drop …

Continue reading »

Written by Keith Cirkel - - Aggregated on Sunday April 11, 2010


Swapping out your LAMP stack

The LAMP stack is the backbone of the web these days - every hosting provider uses it, sometimes exclusively. Many think their only other option is a WIMA (Windows, ISS, MSSQL, ASP) but in fact there are a whole wealth of options to choose from. When you have the freedom to pick your own server environment, should you …

Continue reading »

Written by Keith Cirkel - - Aggregated on Saturday March 27, 2010