A webdev journey

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live

Laravel Scopes: Simplify Database Queries

March 21st, 2024 — One of the key features that make Laravel stand out is its query scopes. In this blog post, we will explore Laravel scopes and learn how they can simplify database queries, enhance code readability, and improve code maintainability.

Traits in Laravel: an elegant way to reuse code

March 16th, 2024 — Traits offer an elegant way to reuse code, providing increased flexibility and ease of maintenance in your php and Laravel projects. In this article, we will explore what a trait is, how to use it, and the benefits it can offer.

Knex: Simplifying Joins and Groupings

January 24th, 2024 — Working with relational databases often involves dealing with complex data structures, particularly when managing relationships between tables. For developers utilizing Knex, a powerful query builder for SQL databases in Node.js, handling these relationships efficiently is crucial for project success.