Hasina Razafintsalama

Hasina RAZAFINTSALAMA

TECHNICAL ARTICLES (43)

Blog: Architecture, APIs & AI

Technical articles on architecture, APIs, AI, and software craftsmanship.

Architecture

RabbitMQ vs Kafka vs Redis: Choosing a Message Queue

These three get grouped together but they are different tools: a task queue, an event log, and a lightweight middle ground. Here is what each is for, what it costs to run, and how to choose.

2026-09-03·11 min
Read →
Architecture

Clean Architecture vs Hexagonal vs DDD: The Differences

These terms describe overlapping ideas, and most of the confusion is vocabulary. Here is what each one actually contributes, why DDD is not an architecture, and what you are really choosing.

2026-09-03·11 min
Read →
AI & RAG

Adding an AI Chatbot to a Laravel or Symfony Application

Adding an AI chatbot to an existing PHP app does not mean rewriting the backend in Python. Here is a concrete architecture: where the LLM lives, SSE streaming, business context, safe tool calls, and defending against prompt injection.

2026-07-27·11 min
Read →
AI & RAG

What Is RAG? The Complete Guide to Retrieval-Augmented Generation

RAG has become AI's trendiest buzzword, and one of its most misunderstood. Here is what it actually is, how the pipeline works step by step, what it does not fix, and when it beats the alternatives.

2026-07-24·11 min
Read →
AI & RAG

Fine-Tuning vs Prompt Engineering vs RAG: Which Approach for Which Need

Three ways to adapt a generic LLM to your use case, three very different costs and trade-offs. Here is how to choose without getting it wrong.

2026-07-22·12 min
Read →
Backend

Python vs PHP: Which Language for Which Project?

Both languages power a huge share of the web. The choice should follow the nature of the project, not personal preference. Here is how to decide.

2026-07-20·12 min
Read →
Backend

Symfony vs Laravel: The Complete Comparison

The two most widely used PHP frameworks in the enterprise, built on very different philosophies. An honest comparison to help you choose without relying on clichés.

2026-07-18·12 min
Read →
Backend

JWT Authentication in Laravel: A Complete Guide

Sanctum covers most SPA and mobile auth. JWT is the right tool when independent services must verify a token without a shared session store. Here is how to implement it properly in Laravel, from config to refresh tokens and revocation.

2026-07-16·12 min
Read →
Backend

Optimizing Laravel Performance: A Practical Guide

Laravel performance is a sequence, not a trick: measure, fix the queries, then reach for caching, queues and Octane. Here is the full order with code for each step.

2026-07-15·12 min
Read →
Backend

Laravel vs Node.js: Which Backend Should You Choose?

Both are excellent choices for a huge range of projects. Here is an honest comparison of performance, developer experience and ecosystem, and when each one actually wins.

2026-07-14·12 min
Read →
AI & RAG

Embeddings: Understanding and Choosing Your Model

Every RAG system in this series relies on embeddings without explaining them. Here is what an embedding actually is, how to pick a model, and when fine-tuning is worth it.

2026-07-13·11 min
Read →
AI & RAG

Vector Database Comparison: Chroma vs Qdrant vs Pinecone vs pgvector

Every RAG system needs somewhere to store its vectors. Here is a neutral comparison of the four most common choices, and how to actually pick one.

2026-07-12·12 min
Read →