July 4, 2024
Screenshot Testing with Laravel and htmx.
Example of how screenshot testing can be used to test a Laravel app, we'll also look into differences between screenshot and snapshot testing.
July 4, 2024
Example of how screenshot testing can be used to test a Laravel app, we'll also look into differences between screenshot and snapshot testing.
December 7, 2023
Inter-process communication can be used to exchange data between processes and apps that are written in completely different versions or languages.
October 5, 2023
Communication between apps that are developed in different languages, versions and dependencies without using HTTP or AJAX.
December 2, 2022
Deep dive into the differences between the MySQL types: TIMESTAMP and DATETIME. Let's look at some real-life scenarios where you would prefer one over the other.
November 30, 2022
Did you just get the MySQL 'Cannot add foreign key constraint' error? I got it today when adding a foreign key constraint to a database. Let's look into how it can be solved.
November 21, 2022
Best practices for return types in PHP 7 and newer, how to decide on what your function should return. Read on to see what the appropriate return type for a failing function is.
November 9, 2022
Being clear about what types you're handling in your application increases the predictability and creates code that is less prone to bugs.
March 11, 2019
Building a product recommender system from scratch with machine learning algorithms such as Hamming distance, Euclidean distance and Jaccard index in Laravel with PHP.
December 22, 2018
Rewriting a legacy PHP application to Laravel doesn't have to be an all or nothing process, in this article, I go through how you can rewrite your app into feature classes in Laravel step by step while still using code from your old app.
August 27, 2018
Feature Driven Design (FDD) can drastically improve your development flow by creating shorter iterations and quicker feedback loops which results in better software and a happier more motivated team.
May 16, 2018
In this article, I will go through how I setup a local Pusher websocket server on my local machine, this is something that's useful for getting offline support or save Pusher requests.
May 15, 2018
I've been writing a lot of TypeScript with Vue lately, being a big fan of php-cs-fixer and style linting I decided to setup a structure for style linting of my TypeScript code as well.
May 14, 2018
I discovered that MySQL doesn't return NULL values when running an exclude query while developing a filtering function for a system that I've been working on.
April 4, 2018
In this article, I will demonstrate how you can create a Vue.js app with the DDD approach in TypeScript that has dependency injection and logic clearly separated into the 4 different DDD layers.
March 20, 2018
There are many examples of how to use DDD with Laravel on the internet but I believe that this is the cleanest and effective way to structure your DDD code when using Laravel.
March 6, 2018
I figured out how to wrap a query and getting the count from it in Laravel. It was not really straightforward and I had to use a combination of the Eloquent ORM and raw database queries to get the result that I was looking for.
March 5, 2018
I discovered that MySQL sometimes returns the same entries multiple times when paginating a result set. I noticed that it does not happen when sorting in ascending order or when leaving out the order by clause from the query.
February 26, 2018
Google Chrome 63 is now forcing HTTPS and SSL for .dev top-level domains, so it's time to setup support for HTTPS in your local development environment and here are some instructions to get you going quickly.
February 26, 2018
Since Chrome 63 I switched an old project to the .localhost top-level domain and noticed that it stopped resolving my IP to my VirtualBox VM. After trying a bunch of different things I finally found out why it wasn't working.
January 23, 2018
Use Laravel Mix's own Webpack config to setup unit testing with your Vue components and start testing your JS code to gain confidence by building solid apps with no bugs that actually work.
January 17, 2018
Setup TypeScript with Laravel and Vue in a matter of minutes. After doing a lot of research on how to setup TypeScript with Laravel and Vue I found what I believe is the simplest solution to get it up and running in no time.
October 1, 2017
How to send your application logs, access logs and system logs from your AWS Elastic Beanstalk Multicontainer Docker Environment to AWS Elasticsearch Service 5.3.
September 25, 2017
Automate your Laravel 5.5 and Laravel Dusk 2.0 browser tests for free in Microsoft Edge, Firefox and Chrome with CircleCI 2.0. We'll also setup support for taking screenshots in the browsers while you run your tests.
September 19, 2017
I couldn't get Google Chrome to work in headless mode in CircleCI 2.0 when running my VueJS tests in my Laravel app. After hours of trial and error, I figured it out. I hope this will save some time for someone out there trying to achieve the same thing.