Sorting By Vote Count & Recently Added Date In Javascript

Recently whilst working on my web app Built With Aurelia I encountered a situation where I needed to sort by the highest upvoted items, but also sort secondly by the recently added items. The collection of items would look like this: Item 1 (5 votes) Item 2 (3 votes) Item 3 (2 votes) Item 4 … 

 

Introducing Built With Aurelia

Built With Aurelia is a nice little application that showcases what the Aurelia community are building with Aurelia and has been in the making for a while now. The idea stemmed from there being nowhere (until now) to see the great things that the Aurelia community have built. Initially it was going to be solely … 

 

Adding The Aurelia Fetch Client Into An Aurelia CLI Project

So you’re using the CLI to build your next Aurelia application and you want to use the Fetch client? You might have noticed by default it does not come configured with the Fetch client. Fortunately, adding it in is a piece of cake. Firstly, we want to install the Fetch Client as well as a … 

 

Issue Updating “aurelia-cli” or other global Node Modules?

As much as I love Npm, it can be quite buggy at times, especially on Windows. One such error I encountered recently was trying to install the latest version of the Aurelia CLI by typing npm install -g aurelia-cli in most cases this just works and updates the existing version. However, a couple of times … 

 

Aurelia Goes Stable 1.0: RTM

It has finally happened. After a long beta and relatively short release candidate period, Aurelia has hit a version 1.0 stable release which you can read more about here from the horse’s mouth. This means you can now safely use Aurelia to build your applications with confidence that it will be stable. In all honesty, … 

 

Const or Let: Let’s Talk Javascript

Two of my favourite additions to ECMAScript 2015 were the const and let keywords. Sadly, I see them being misused quite often on many public repositories and even in some projects I have worked on. Const (constants) If Javascript is not the first language you have worked with, then you will be familiar with constants … 

 

WebComponents.js & Webpack Polyfilling In Aurelia

If you are developing an Aurelia application, just so happen to be using Webpack and need to support Internet Explorer 10, then you will probably want the MutationObserver polyfill. The polyfill is installed via the Github repository, so you need to make sure that you only install a release version which has the individual polyfill … 

 

Pokego.run: Now Open Source

As promised, I have open sourced my quick Aurelia CLI project Pokego.run which you can find here if you just want the code and don’t want to keep on reading. I am open sourcing the work I have done on this because I want to see the Aurelia Javascript framework grow and I realise there … 

 

Introducing Pokego.run: An App Developed Using The Aurelia CLI

I work a lot, so it was nice to get some downtime to play with the Aurelia CLI. Like many others of my generation, I have been caught up in the Pokemon Go hype. So I decided to build a simple app where you can plot where you have found Pokemon called: Pokego.run. The idea … 

 

Adding PostCSS/Autoprefixer To The Aurelia CLI

I have been having a bit of fun using the Aurelia CLI. One of the downsides is if you want to use Autoprefixer and PostCSS with something like Stylus, Less or Sass, you can’t choose a preprocessor and use Autoprefixer. This is easy enough to add in manually and gets you familiar with how the …