Summary Introduction The Model-View-Controller (MVC) architecture is one of the oldest and most popular standard architectural patterns in the industry. It was invented by Trygve Reenskaug in the late 1970s. Today, it remains one of the most widely used approaches in web application development, thanks to its ability to separate concerns and improve code management. [ ] The post Best Practices for…
The Strategy Pattern is a powerful tool for writing flexible and maintainable PHP code. By decoupling behavior from specific implementations, it allows for dynamic runtime swapping of algorithms, making your system more modular and extensible. The post Understanding the Strategy Pattern: Elegant Solutions for Flexible Code in PHP appeared first on Giuseppe Maccario .
Churn PHP is a tool that helps identify the most problematic code files in a project by combining complexity and frequency of changes (churn). It is the combination of complexity and frequent changes that will drive our refactoring. The post Churn PHP: How to spot the monsters in your PHP project appeared first on Giuseppe Maccario .
Today I am writing about my journey on Fiverr: A Freelancer's Tale! I knew about Fiverr years ago, and I have to say that in the past, at least five years ago, its reputation wasn't great, but quite the opposite! Well, the situation hasn't changed much, but it looks like Fiverr has put a lot of effort into hindering all the scam messages you get in your inbox. Let's start! The post My Journey on…
In this article, we will introduce you to a tool called Laravel Pint. We have seamlessly integrated Laravel Pint into our Laravel backend development workflow to achieve code quality and sustainability. This integration has become a part of our development process due to the absence of Laravel Pint, in Laravel 8.x by default; however, it has been incorporated as a core component starting from…
In this article, I ll explain what is Mailtrap Email Testing, and how to send emails from your local development Laravel project using Mailtrap. Introduction In 2020 I was developing a platform, based on Laravel, that made extensive use of cron jobs and email sending. The cron jobs check some values on the database, and the [ ] The post How to send emails in Laravel using Mailtrap appeared first…
In recent years we hear more and more about cyber attacks and scams carried out through the Internet. One of the main methods used by cyber criminals is phishing. To understand how to protect yourself from phishing, we must first understand exactly what phishing is. The post Online security: Phishing Prevention appeared first on Giuseppe Maccario .
In this article I described how I implemented a Continuous Deployment system with GitHub Actions and FTP Deploy for a personal project on a shared server. The post Setup Continuous Deployment with GitHub Actions (on a shared server) appeared first on Giuseppe Maccario .
This article is about the Instagram Graph API, in particular how to integrate the Instagram Basic Display API into PHP 7, and offers a solution for integrating API calls to your Instagram profile on your website, retrieving media from it and making it available on your website. The post How to integrate Instagram Basic Display API using PHP 7 appeared first on Giuseppe Maccario .
Today I am going to explain to you how I integrated Spotlight gallery library into a WordPress website, without any plugin, just coding. The post How to integrate Spotlight gallery library into your WordPress website [no plugin] appeared first on Giuseppe Maccario .
Today I will show you how to create a simple PHP application following the MVC pattern (Model-View-Controller). MVC frameworks are widely used in the industry because they offer a lot of advantages for rapid and structured development. The post PHP MVC Framework Tutorial: Build Your Own from Scratch appeared first on Giuseppe Maccario .
In this article, I'll explain how to create a Python Translator with IBM Watson™ Language Translator with a free quota API service. The post How to create a Python Translator with IBM Watson™ (deprecated). appeared first on Giuseppe Maccario .