Salvatore D'Angelo

Salvatore D'Angelo
Software Engineer & Technologist

The journey

I started programming in 1991 as a hobby — long before it became a career. My early years were spent with Turbo Pascal, C, C++, Java, SQL, and Visual Basic, building compilers, operating systems, and small applications just to understand how things worked.

In 1992 I enrolled in Computer Science at the University of Salerno and graduated with honours in 1998. A brief period of military service followed, and in 1999 I joined a well-known American software company in Rome — where I still work today.

Over 25+ years in that company I have worked across every layer of the software stack: from low-level systems programming to distributed cloud platforms, from monolithic architectures to microservices, from early J2EE applications to modern AI-powered systems.

Today I work in the Cloud area, designing and implementing resilient, cloud-native solutions. My day-to-day spans architecture decisions, platform engineering, and applied AI — bridging the gap between cutting-edge research and production-ready systems.

I have lived through every major wave of the software industry:

  • Procedural → Object-Oriented → Component-based
  • Monoliths → SOA → Microservices
  • On-premise → Virtualisation → Cloud-Native
  • Rule-based AI → Machine Learning → Large Language Models and Agentic AI

That perspective shapes everything I write. Not just how to use a technology, but why it exists, what problem it was designed to solve, and where it is heading.

Code4Projects is my attempt to share that depth — not tutorials copied from the docs, but genuine understanding from someone who has actually worked on these systems.

I also aim to offer strategic guidance: helping engineers and organisations understand which technologies matter, which are hype, and how to make sound decisions in a landscape that never stops changing.


What the blog covers

AreaTopics
Applied AILLMs, LangChain, Agentic AI, MCP and A2A protocols
Modern DevOpsDocker, Kubernetes — from zero to production
CloudAWS, cloud-native architecture, serverless patterns
System Architecture & DesignLayered, Hexagonal, Clean, Event-Driven patterns
Software Architecture & DevelopmentPython, HTML & CSS, Git, Android game programming

Articles

From Requirements to Architecture: Lean Requirements with Personas and Scenarios

From Requirements to Architecture: Lean Requirements with Personas and Scenarios

Requirements without the paperwork: actors, main and alternative scenarios, and acceptance criteria in one Markdown file that stays in sync with the code.

Continue Reading
Testing FastAPI in Practice: Unit and Integration Tests for a Real Feature

Testing FastAPI in Practice: Unit and Integration Tests for a Real Feature

Unit and integration tests for a real FastAPI feature: main path first, then one test per rule, with AsyncMock, AsyncClient, and dependency overrides.

Continue Reading
Testing Python Applications with pytest: Patterns for Real Code

Testing Python Applications with pytest: Patterns for Real Code

Unit, integration, and end-to-end tests, why pytest beats unittest, and how mocks, fixtures, setup, teardown, and test independence work in a FastAPI project.

Continue Reading
Building the Complete Website: Real Pages, HTML Forms, and a Photo Gallery

Building the Complete Website: Real Pages, HTML Forms, and a Photo Gallery

Build the real inner pages of your site — About Me, Start Here, Resources, a contact form, and an interactive photo gallery with CSS Grid and JavaScript.

Continue Reading
Building a Professional Website Layout with CSS: Header, Navigation, and Responsive Design

Building a Professional Website Layout with CSS: Header, Navigation, and Responsive Design

Turn your plain HTML site into a professional layout — styled header, footer, navigation bar, home page with hero image, and a mobile-friendly hamburger menu.

Continue Reading
Async, Background Tasks, and Error Handling in FastAPI

Async, Background Tasks, and Error Handling in FastAPI

Async I/O, fire-and-forget background tasks, a shared httpx client, and three global exception handlers in FastAPI — grounded in the FastURL project.

Continue Reading
Layered Architecture with FastAPI: Routers, Services, and Repositories

Layered Architecture with FastAPI: Routers, Services, and Repositories

Learn how to structure a production-ready FastAPI project using a layered architecture: Routers, Services, Repositories, and Dependency Injection.

Continue Reading
From Domain Design to REST API: Building FastURL with FastAPI

From Domain Design to REST API: Building FastURL with FastAPI

Learn how to turn requirements and a domain model into a clean REST API using FastAPI and Pydantic v2, using FastURL — a URL shortener — as a concrete case study.

Continue Reading
Designing REST APIs in Practice: A Kubernetes Case Study

Designing REST APIs in Practice: A Kubernetes Case Study

Learn how to design robust, domain-driven REST APIs using HTTP semantics and clean architecture principles, using Kubernetes as a practical case study.

Continue Reading
Async and the Event Loop in Python: asyncio in Practice

Async and the Event Loop in Python: asyncio in Practice

Build a real async news aggregator step by step — fetching RSS feeds concurrently with aiohttp, the same code used in the Alfred open-source project. Each section adds one asyncio pattern: gather, TaskGroup, timeout, Semaphore, and format_news.

Continue Reading
Concurrency in Python: Threads, Processes, and the Event Loop

Concurrency in Python: Threads, Processes, and the Event Loop

Master Python concurrency: understand when to use threads, processes, or asyncio — and why the event loop became the backbone of modern high-throughput applications.

Continue Reading
Building a Database Layer in Python with SQLAlchemy ORM

Building a Database Layer in Python with SQLAlchemy ORM

Learn how to build a clean, transactional database layer in Python using SQLAlchemy ORM, a DatabaseSessionManager, DAO models, and the DAO vs DTO boundary inside a layered architecture.

Continue Reading
Building a Python CLI with Typer: The Modern Approach to the Command Pattern

Building a Python CLI with Typer: The Modern Approach to the Command Pattern

Typer brings Python type hints to CLI development — no decorators, no boilerplate, just annotated functions. See how it compares to argparse and Click on the same Task Manager CLI.

Continue Reading
Docker Image Best Practices

Docker Image Best Practices

A practical checklist for writing Dockerfiles that produce functional, lightweight, debuggable, and secure images — multi-stage builds, layer ordering, healthchecks, and more.

Continue Reading
Docker Security Best Practices

Docker Security Best Practices

Learn how to run Docker containers securely — non-root users, read-only filesystems, capability limits, secret management, and image vulnerability scanning.

Continue Reading
How Docker Compose Works

How Docker Compose Works

Learn how Docker Compose v2 works — define, build, and run multi-container applications with a single YAML file and a single command.

Continue Reading
How Docker Volumes Work

How Docker Volumes Work

Learn the three Docker storage types — volumes, bind mounts, and tmpfs — and how to use them to persist data outside a container so it survives restarts and replacements.

Continue Reading
How Docker Networking Works

How Docker Networking Works

Learn how Docker networking works — bridge, host, overlay, and macvlan drivers — and how to connect containers so they can communicate over a private network.

Continue Reading
Dockerfile and Building Custom Images

Dockerfile and Building Custom Images

Learn how to write a Dockerfile, build a custom image, understand the layer cache, and serve your own web content with a custom Nginx container.

Continue Reading
Containers vs Virtual Machines

Containers vs Virtual Machines

Understand the real differences between containers and virtual machines — how each one works under the hood, their pros and cons, and when to use which.

Continue Reading
Getting Started with Docker and Podman

Getting Started with Docker and Podman

Learn what Docker is, understand containers and images, and run your first containerized web server with Docker or Podman — no setup complexity required.

Continue Reading
Understanding MCP: The Protocol for Agent-Tool Communication

Understanding MCP: The Protocol for Agent-Tool Communication

MCP is Anthropic's open protocol that standardizes how AI agents connect to tools, APIs, and resources — making any capability pluggable and interoperable across agent frameworks.

Continue Reading
Understanding A2A: The Protocol for Agent Collaboration

Understanding A2A: The Protocol for Agent Collaboration

A2A is Google's protocol for agent collaboration, enabling discovery, communication, and coordination across independent AI agents in scalable multi-agent systems.

Continue Reading
Build Your Own LLM Chatbot with Python & LangChain (Part 4)

Build Your Own LLM Chatbot with Python & LangChain (Part 4)

Add a Streamlit-based web UI to your LLM chatbot — session management, interactive chat window, and seamless integration with your existing LangChain backend.

Continue Reading
Build Your Own LLM Chatbot with Python & LangChain (Part 3)

Build Your Own LLM Chatbot with Python & LangChain (Part 3)

Add Retrieval-Augmented Generation (RAG) to your LLM chatbot — ingest PDFs and Wikipedia pages into a vector database and retrieve context dynamically.

Continue Reading
Build Your Own LLM Chatbot with Python & LangChain (Part 2)

Build Your Own LLM Chatbot with Python & LangChain (Part 2)

Learn how to build a context-aware LLM chatbot with Python and LangChain, managing conversation memory, generation parameters, and robust logging.

Continue Reading
Build Your Own LLM Chatbot with Python & LangChain (Part 1)

Build Your Own LLM Chatbot with Python & LangChain (Part 1)

Build a production-ready LLM chatbot with Python and LangChain. Step-by-step guide to scalable, configurable architecture for real-world applications.

Continue Reading
Building a Python CLI with Click: A Cleaner Approach to the Command Pattern

Building a Python CLI with Click: A Cleaner Approach to the Command Pattern

Learn how the Click library simplifies Python CLI development — cleaner commands, built-in type validation, and no shared execute() boilerplate.

Continue Reading
How to Create Cron Jobs in Python for Your Applications

How to Create Cron Jobs in Python for Your Applications

Learn how to build a generic, configurable cron job class in Python with APScheduler — run periodic tasks in the background with clean scheduling, logging, and error handling.

Continue Reading
Logging in a Flask Application with Loguru

Logging in a Flask Application with Loguru

Learn how to centralize logging in a Flask application with Loguru, including stdout/file outputs and standard logging interception.

Continue Reading
Managing Application Configuration in Python with Pydantic Settings

Managing Application Configuration in Python with Pydantic Settings

Learn how to manage Python application configuration using pydantic-settings, combining YAML files for non-secret parameters and environment variables for secrets.

Continue Reading
Building a Python Command Line Interface (CLI) with the Command Pattern

Building a Python Command Line Interface (CLI) with the Command Pattern

Learn how to design a clean, extensible Python CLI using argparse and the Command design pattern — each command as an isolated, testable class.

Continue Reading
How to Set Up Your Next Python Project

How to Set Up Your Next Python Project

A practical guide to setting up a professional Python project with the right tools for package management, code quality, testing, and version control.

Continue Reading
Building a CRUD Web Application with Flask: Three-Tier Architecture with SQLAlchemy and Pydantic

Building a CRUD Web Application with Flask: Three-Tier Architecture with SQLAlchemy and Pydantic

A complete CRUD web app in Flask: presentation, application, and database tiers, with controllers, services, Pydantic DTOs, and SQLAlchemy models.

Continue Reading
Beyond Push and Pull: Understanding Git's Core Concepts to Avoid Common Pitfalls

Beyond Push and Pull: Understanding Git's Core Concepts to Avoid Common Pitfalls

Git's core concepts explained: local vs remote, staging, stash, and HEAD, and how each command moves your changes between them.

Continue Reading
The Hidden Challenges of Git: Lessons from Working in Large Projects

The Hidden Challenges of Git: Lessons from Working in Large Projects

Git lessons from large projects: a branching strategy, task branches, release candidates, hotfixes, and when small teams can simplify.

Continue Reading
DevOps in Software Development: Bridging Dev and Ops for Faster Delivery

DevOps in Software Development: Bridging Dev and Ops for Faster Delivery

Bridging the gap between development and operations, DevOps revolutionizes software lifecycle management with unified teams and streamlined processes.

Continue Reading
Agile Methodology: A Practical Guide to Flexible Project Management

Agile Methodology: A Practical Guide to Flexible Project Management

Discover how Agile methodology revolutionizes project management by embracing flexibility and empowering teams to deliver continuous value. Explore the key principles, benefits, and best practices behind Agile's success in this comprehensive guide.

Continue Reading
Best Software Developer Tools to Consider in 2023

Best Software Developer Tools to Consider in 2023

Discover the top software development tools to take your coding game to the next level in 2023. From code editors to network analyzers, this article highlights the must-have tools for developers.

Continue Reading
Mastering the Basics of CSS: A Beginner's Guide

Mastering the Basics of CSS: A Beginner's Guide

Master the core CSS concepts — selectors, the box model, layout, typography, colours, animations, and responsive design — and apply them to a real website.

Continue Reading
Exploring the Depths of YAML: Advanced Features and Functionality

Exploring the Depths of YAML: Advanced Features and Functionality

Dive deeper into YAML with this comprehensive guide to advanced concepts. Learn tips and techniques to fully unlock its power and functionality.

Continue Reading
Getting Started with YAML: An Introduction to the Basics

Getting Started with YAML: An Introduction to the Basics

YAML, short for Yet Another Markup Language, is a popular data serialization format. This article will discuss its baasic concepts.

Continue Reading
Best Programming Languages to Learn in 2023: A Developer's Guide

Best Programming Languages to Learn in 2023: A Developer's Guide

This article lists the best programming languages to learn in 2023 for beginners and experienced developers.

Continue Reading
Getting Started with HTML: A Beginner's Guide

Getting Started with HTML: A Beginner's Guide

Learn HTML from scratch — build a real five-page website with headings, paragraphs, links, lists, and images, step by step.

Continue Reading
A Step by step Amazon Relational Database Service tutorial

A Step by step Amazon Relational Database Service tutorial

In this article, I would like to give you a brief introduction to Kubernetes and how to deploy applications on it.

Continue Reading
Relational Database Service (RDS) - What Is It and How Does It Work?

Relational Database Service (RDS) - What Is It and How Does It Work?

In this article, I would like to give you a brief introduction to Kubernetes and how to deploy applications on it.

Continue Reading
EC2 Auto Scaling Group Tutorial for Beginners

EC2 Auto Scaling Group Tutorial for Beginners

In this article, I'll show you how to create an EC2 Auto Scaling Group to automate the availability and scalability of your EC2 instances.

Continue Reading
A Step by step tutorial to create your first Elastic Load Balancer

A Step by step tutorial to create your first Elastic Load Balancer

In this article, I want to show you how to create your first AWS Elastic Load Balancer in the Amazon AWS platform.

Continue Reading
How to increase Amazon EC2 Availability and Scalability

How to increase Amazon EC2 Availability and Scalability

In this article, I talk about EC2 Availability and Scalability and how to increase them using AWS services like Load Balancers, Autoscalers, and DNS.

Continue Reading
Amazon EBS Tutorial - Step by step Guide for Beginners

Amazon EBS Tutorial - Step by step Guide for Beginners

In the previous article, I talked about Amazon Elastic Block Storage (EBS) service and this is a hands-on tutorial the will help you to learn how to use it.

Continue Reading
Amazon Elastic Block Storage (EBS) vs Elastic File Storage (EFS)

Amazon Elastic Block Storage (EBS) vs Elastic File Storage (EFS)

In this article, I am going to talk about Amazon Elastic Block Storage (EBS) and Elastic File Storage (EFS).

Continue Reading
The Definitive Amazon EC2 Tutorial - Step by step Guide for Beginners

The Definitive Amazon EC2 Tutorial - Step by step Guide for Beginners

In this Amazon EC2 Tutorial, I will show you how to create an EC2 instance, attach an EBS volume to it, and secure it with Security Groups.

Continue Reading
Amazon Elastic Cloud Computing (EC2) for Beginners

Amazon Elastic Cloud Computing (EC2) for Beginners

The following article is an introduction to the Amazon Elastic Cloud Computing (EC2) service for beginners.

Continue Reading
Beginner’s Guide to AWS Identity and Access Management (IAM)

Beginner’s Guide to AWS Identity and Access Management (IAM)

After the AWS Introduction of the previous article, let's start exploring one of the main AWS components: AWS Identity and Access Management (IAM).

Continue Reading
The Ultimate and Great Overview of AWS Pricing and Support

The Ultimate and Great Overview of AWS Pricing and Support

In this article, I would like to give you a brief introduction to Kubernetes and how to deploy applications on it.

Continue Reading
How Amazon Web Services Security and Compliance works

How Amazon Web Services Security and Compliance works

In this article, I would like to give you a brief introduction to Kubernetes and how to deploy applications on it.

Continue Reading
Amazon Well Architected Framework and its 5 Pillars

Amazon Well Architected Framework and its 5 Pillars

In this article, I would like to give you a brief introduction to Kubernetes and how to deploy applications on it.

Continue Reading
Amazon Integrated Services (part 2)

Amazon Integrated Services (part 2)

In this article, I would like to give you a brief introduction to Kubernetes and how to deploy applications on it.

Continue Reading
Amazon Integrated Services (part 1)

Amazon Integrated Services (part 1)

In this article, I am going to start my overview of the Amazon Integrated Services trying to explain my understanding of the following services: Lambda

Continue Reading
Amazon Web Services (AWS) Introduction

Amazon Web Services (AWS) Introduction

This article is an introduction to the Amazon Web Services (AWS) platform. Read it to have a platform and its core services overview.

Continue Reading
How I use Kubernetes ConfigMaps to manage configurations

How I use Kubernetes ConfigMaps to manage configurations

In this article, I would like to explain how to manage application configuration in Kubernetes with ConfigMaps.

Continue Reading
Kubernetes Cluster IP vs NodePort vs LoadBalancer vs Ingress

Kubernetes Cluster IP vs NodePort vs LoadBalancer vs Ingress

Do you want to understand the difference between Cluster IP vs NodePort vs LoadBalancer vs Ingress? Read the following article to learn more.

Continue Reading
How to create your own Kubernetes cluster

How to create your own Kubernetes cluster

In this article, I want to explain how I run my applications on a Kubernetes cluster using a simple project I created based on Vagrant and VirtualBox.

Continue Reading
Android Input Management for Games

Android Input Management for Games

This is the twelfth article of the Android Game Programming series. Here, I would like to discuss how to manage user input on Android for our games.

Continue Reading
Let’s start building the Game Framework

Let’s start building the Game Framework

In this article, we will start to create our Game Framework. It will be used to write all our videogames.

Continue Reading
Getting Started with Kubernetes

Getting Started with Kubernetes

In this article, I would like to give you a brief introduction to Kubernetes and how to deploy applications on it.

Continue Reading
Android Graphics Programming for Games

Android Graphics Programming for Games

In this article, I would like to introduce to you the basic android graphics programming concepts to develop our video game.

Continue Reading
BOSH for Beginners

BOSH for Beginners

In this article, I want to explain what Bosh is, its main concepts, and how to use it practically to deploy software.

Continue Reading
How to deploy your first application on IBM Cloud

How to deploy your first application on IBM Cloud

In this article, I want to show how to deploy your first application on IBM Cloud.

Continue Reading
Introduction to the IBM Cloud platform

Introduction to the IBM Cloud platform

In this article, I would like to go into the details of Cloud Computing analyzing one of the most important platforms on the market: IBM Cloud.

Continue Reading
Getting started with Cloud Computing

Getting started with Cloud Computing

In this article, I would like to explore the essence of Cloud Computing, what it really is, and why the IT industry started to adopt it.

Continue Reading
Android Resources Management

Android Resources Management

This is the ninth article of the Android Game Programming series. In this article, I will discuss how to manage resources in Android. Resources Management.

Continue Reading
Android Files Management

Android Files Management

This is the eighth article of the Android Game Programming series. In this article, I will discuss how to manage files

Continue Reading
Android Programming for Games (Activity Lifecycle)

Android Programming for Games (Activity Lifecycle)

In this article, I will introduce a basic android programming concept, the activity lifecycle.

Continue Reading
Design Patterns in Game Programming

Design Patterns in Game Programming

This is the sixth article of the Android Game Programming series. Here, I would like to show you how to use Design Patterns in your first video.

Continue Reading
Video game programming principles

Video game programming principles

In this article I want to explain basic video game programming principles in order to help you to write your first Android video game.

Continue Reading
How to speed up Android Virtual Device

How to speed up Android Virtual Device

In this article, I will show you how to speed up Android Virtual Device in order to run your application simulation quickly.

Continue Reading
How to install Android Studio

How to install Android Studio

This is the second article of Android Game Development series. Here I explain, step by step, how to install and configure Android Studio.

Continue Reading
How to create an Android application

How to create an Android application

This is the third article of Android Game Development series. Here I would like to explain, step by step, how to create an Android application.

Continue Reading
Android Game Programming

Android Game Programming

This is the first article of the Android Game Programming series where I will show you how to write your first Android game: Droids a Tetris clone.

Continue Reading
How to transform your Raspberry Media Center in a NAS

How to transform your Raspberry Media Center in a NAS

In this article, I would like to show you how to transform your Raspberry Media Center in a Network Attached Server (NAS) and share your media files

Continue Reading
How to play Nintendo DS games with Retropie on Kodi Media Center

How to play Nintendo DS games with Retropie on Kodi Media Center

In this article, I would like to show you how to play Nintendo DS games with Retropie on your Raspberry Kodi Media Center.

Continue Reading
How to transform your Kodi Media Center in a Game Platform

How to transform your Kodi Media Center in a Game Platform

In this article, I would like to show you how to transform your Raspberry Kodi Media Center in a Retro Game platform.

Continue Reading
How to install Youtube Add-on on your Kodi Media Center

How to install Youtube Add-on on your Kodi Media Center

In this article, I would like to show you how to install a Youtube add-on on Kodi. This allows you to watch Youtube videos on your TV.

Continue Reading
How to turn your Kodi Media Center in a Torrent machine

How to turn your Kodi Media Center in a Torrent machine

In this article, I would like to show you how to turn your Kodi Media Center in a Torrent machine.

Continue Reading
How to transform your Kodi Box in a Netflix-like platform

How to transform your Kodi Box in a Netflix-like platform

In this article I would like to show you, step by step, how to transform your Kodi Box in a Netflix-like platform.

Continue Reading
How to Configure Kodi Media Center

How to Configure Kodi Media Center

In this article I would like to show you, step by step, how to configure your Kodi Media Center.

Continue Reading
How to build a Raspberry Media Center

How to build a Raspberry Media Center

In this article, I would like to show you how to build your own Raspberry Media Center using Raspberry, an HDD and an enclosure.

Continue Reading