Skip to content

Mohcin Bounouara

Thoughts about software engineering and life

Understanding Method Spoofing in Laravel

Title: Understanding Method Spoofing in Laravel When working with request/response methods, different HTTP methods like GET, POST, PUT, and PATCH have custom purposes. POST is generally used for creating resources, while PUT and PATCH are intended for updates. But as a developer, you’ll often see POST used for updates too. This happens due to browser Continue reading “Understanding Method Spoofing in Laravel”

Delegation Skills Is a Must In Software Development

In the field of software development, mastering delegation is a must. I’ve always known this from learning and practicing in real-life work scenarios, as well as from various web conferences and podcasts discussing the importance of delegation. However, it wasn’t until today that I fully know its significance. Without delegation, you may experience the following: Continue reading “Delegation Skills Is a Must In Software Development”

You can rely on existing solutions

I used to believe that building everything from scratch was the mark of a good developer. However, I understand later that this mindset reflects a lack of experience and problem-solving skills. In the real world, developers often rely on prebuilt solutions rather than creating everything themselves. While we might not always understand the inner workings Continue reading “You can rely on existing solutions”

Code Reading is important!

One of the most important things I’ve focused on recently is reading a lot of code written by others. Even if I don’t understand some large parts of the code blocks I’m reading, it’s a way to train my brain muscles, boosting both my imagination and logic. By reading others’ code, you gain new perspectives Continue reading “Code Reading is important!”

It’s not about being “WOW”, it’s about be a part of the team.

When you are part of a team, it’s not about being a “wow” person; it’s about truly being part of the team. This idea always motivates me to keep learning, so I can be an asset to the team. When you’re part of a team, strive to do just this: It’s about working as a Continue reading “It’s not about being “WOW”, it’s about be a part of the team.”

Create a good pull request

As a software developer throughout my career, I’ve learned many things from several mistakes, one of which is related to creating effective pull requests. Here are some steps to provide a well-structured pull request that simplifies the review process: 1. Break Down Large Tasks: If you’re dealing with a large task that requires extensive changes Continue reading “Create a good pull request”

Document the Problems You Solve!

When you encounter an error during your workday as a developer, don’t simply acknowledge the mistake and promise to avoid it next time. From my personal experience, that approach doesn’t work, and you’re likely to forget the error for sure. Instead, write down what you should avoid in the future. Place these notes somewhere you Continue reading “Document the Problems You Solve!”

Pivot table in Laravel

When you work on an app that requires a many-to-many relationship between tables, you often need a pivot table in your database to manage the associations between records. Let’s consider a simple database schema as an example: Suppose you need to link each post with one or multiple categories. In this scenario, you require a Continue reading “Pivot table in Laravel”