Hasina Razafintsalama

Hasina RAZAFINTSALAMA

TECHNICAL ARTICLES (43)

Blog: Architecture, APIs & AI

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

AI & RAG

What Is Spec-Driven Development (SDD) for AI Coding?

Spec-driven development turns a written, reviewed specification into the source of truth an AI coding agent builds from, instead of a chat prompt. Here is why it helps, whether it works on existing code and bugs, how to run it on a new feature, the tools, and the real limits.

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

Building an AI Agent: Tools, the Loop, and Guardrails

An agent is a language model in a loop with tools. That is powerful and easy to get wrong. Here is how the loop works, how to define tools safely, and the guardrails that keep an agent from running away.

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

What Is MCP (Model Context Protocol)?

MCP is an open protocol that standardizes how an application exposes tools, data and prompts to an LLM client. Write one MCP server and any MCP-capable client can use it. Here is how it works and when it helps.

2026-09-04·10 min
Read →
Backend

PHPUnit vs Pest: Testing a Laravel Application

Pest runs on top of PHPUnit, so the choice is about syntax and workflow, not the engine. Here is what each one gives you, how a Laravel test looks in both, and how to decide.

2026-09-04·10 min
Read →
Backend

Securing a Laravel API: The OWASP API Top 10 in Practice

APIs mostly fail on authorization, not exotic exploits. Here is the OWASP API Security Top 10 translated into concrete Laravel fixes, risk by risk.

2026-09-04·12 min
Read →
Backend

Database Indexes Explained

An index is a sorted lookup structure that trades slower writes and more disk for much faster reads. Here is how a B-tree index works, what to index, how composite indexes order matters, and when an index hurts.

2026-09-04·11 min
Read →
Frontend

Next.js vs Nuxt: Choosing a Meta-Framework

Next.js is React, Nuxt is Vue, and choosing between them is mostly choosing the underlying framework. Here is where they actually differ: rendering, data fetching, the server layer, deployment, and stability.

2026-09-04·11 min
Read →
Backend

MySQL vs PostgreSQL: Which One Should You Choose?

Both are mature, fast and production-ready. The choice comes down to your data shape, your team and your hosting, not a benchmark. Here is where each one wins and how to decide.

2026-09-03·11 min
Read →
Backend

PostgreSQL for Laravel: JSONB, Full-Text Search and pgvector

PostgreSQL does a lot of what teams reach for a separate service to do: flexible documents, real full-text search, fuzzy matching, and vector similarity. Here is how to use each from Laravel.

2026-09-03·11 min
Read →
Backend

REST vs GraphQL vs gRPC: Choosing an API Style

Three API styles, three sets of trade-offs, no universal winner. Here is what each one is actually good at, what it costs, and how to choose, including mixing them.

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

Integrating an LLM into Laravel with an AI SDK

You can call an LLM from Laravel by hand with Http, but an SDK handles multi-provider, tool calling, structured output, streaming and retries for you. Here is how the Laravel AI ecosystem works in 2026.

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

Choosing an LLM for Your Product in 2026

There is no best LLM, only the right fit for your task and constraints. Here is a decision framework: the three categories of model, the criteria that matter, and how to run the cost math.

2026-09-03·11 min
Read →