Setting Up a Docker-Hosted Droplet on DigitalOcean Using Terraform: A Step-by-Step GuideJan 4, 2024·3 min read
Laravel Default Models ExplainedIn Laravel, Eloquent ORM facilitates defining relationships between models, such as a Post belonging to an Author. Typically, if a Post's Author is missing, accessing the author results in an error. Default models address this issue. By implementing ...Jun 10, 2024·2 min read
Setup Postfix Relay Server with Microsoft Exchange EmailIn this article, you will be guided on how to set up a Postfix relay SMTP-server and configure Microsoft Exchange to handle its mail queue. In a later article, we will discuss how to set up the relay server as a docker container. Prerequisites A...Jan 26, 2021·5 min read
Laravel: Unique Validation with Another ColumnSometimes you need to ensure a record is unique, but only if another has a certain value. Does this sound strange? Let me give you an example: The SaaS Problem You are building a SaaS and each customer can add users, but users can only be added once,...Dec 4, 2020·3 min read
How to Disable Links With Only CSSAgreed, this is a bit of a hack. To keep things streamlined with WordPress, I had to implement this hack the other day, where I wanted to disable tag links on just 1 page. Instead of fiddling with a new plugin, I found it easier, in this case, to dis...Nov 18, 2020·1 min read
Why I Believe No Code Tools Are OK – And WhenIn the field of developers, I have often heard that GUI tools or WYSIWYG is the bad path to take. Honestly, I tend to be like this too. The reasons are such as the quality of your product won't be as good, the code might even be a mess. You might als...Aug 17, 2020·2 min read
Schedule Tasks in Laravel and Debug ThemAutomated tasks has existed on many platforms for a long time. The purpose can be many, but in web applications it's often to optimise speed for the user on heavy duties by caching results. It can also be used to perform various maintenance tasks t...Aug 14, 2020·6 min read
Introduction to secured client server APIPreface In modern software architecture it's often necessary to communicate between applications a common way to do this is by using an API. APIs (Application Programming Interface) are interfaces optimised for applications rather than humans as thei...Aug 12, 2020·6 min read