A scalable server setup using Laravel Forge and Envoyer

Posted in PHP on March 13, 2020

New projects often start small and a single server taking care of everything is just fine. However, as successful applications grow in time, a more scalable setup may be required. In such a setup you use dedicated servers for the application itself, database, caching and queues and use a load balancer to divide traffic between the application servers. Each server can then be optimized for its own needs.

Read more

Creating a Vue SPA with Google Firebase

Posted in Javascript on March 4, 2020

A typical single page application (SPA) can't work properly without an API to fetch data. Normally, we use Laravel for this but Google's Firebase project seemed a good option as well, especially for quickly creating a minimum viable product. In this post, I’ll discuss some issues I ran into while working on a side project called 'My Books'.

Read more

Sorting table dates in a Vue CLI project

Posted in Javascript on October 9, 2019

Sorting dates in a table was in my experience always a pain. You just don't think about it and assume it will work out. Well it does, as long as the format of your dates is like 2019-10-09. However, if we show dates in another format, for example 9-10-2019 or even Wednesday, October 9, it stops working. In this post I'll show how to handle sorting dates in non standard formats using the jQuery Datatables plugin and the Vue Tabulator plugin.

Read more

Creating a product configurator with Vue #3

Posted in Javascript on May 29, 2019

This is the last part in the blog series about creating a product configurator for a fictive webshop. The product configurator is build using Vue. In the previous post we discussed the Vuex store. In this post the components are discussed. We leverage the strength of v-model and create the product configurator using container and presentational components.

Read more