Blog

Latest Articles

Best Practice

Dependency Injection vs. Factory Design Pattern

Dotkernel's dot-dependency-injection package lets you wire a service with an #[Inject] attribute or a hand-written factory. This article compares both approaches with real dotkernel/api code and expla…

Read more →
Headless Platform

AI-Native Coding Pods: The Promise, Risks, and How to Make Them Work

What an AI-native coding pod is, the benefits and risks it introduces to a software team, and concrete mitigations covering code quality, review capacity, architecture, security, and human accountabil…

Read more →
How to's

How to Use Twig Markdown to Generate HTML Pages at Runtime

How to wire twig/markdown-extra with league/commonmark so a Twig application converts Markdown files to HTML on every request, instead of pre-compiling pages at build time.

Read more →
Dotkernel API

What "Production Ready" Means for Dotkernel API

Dotkernel API describes itself as production ready. Here is exactly what that covers — and the infrastructure layer (rate limiting, gateway, federated identity, error tracking, health checks, caching)…

Read more →
Core Components

How to build this website starting from Dotkernel Light

How this blog itself came together: starting from the Dotkernel Light starter project, then following the Tutorial 101 to add Doctrine ORM and load real data into the database.

Read more →
Architecture Deep Dive

Request Lifecycle for a Mezzio-Based Application

Seamlessly Interconnected Middleware for Enterprise-Level Solutions The request lifecycle is the sequence of steps that happen from the moment a user makes an HTTP request until the server sends back…

Read more →
Headless Platform

Implementing Time-based One-Time Password (TOTP) in Dotkernel

What TOTP Does A Time-based One-Time Password (TOTP) is a security algorithm used as part of two-factor authentication (2FA) to protect against account attacks. The mechanism is integrated into dot-to…

Read more →
Dotkernel API

API Client Migration: From Postman to Bruno

Why We Switched to the Offline-Focused Bruno Every API developer knows that to build an API properly you need a reliable client for testing and interacting with the API. Ideally this tool should be fr…

Read more →
Headless Platform

Version 7 adds PostgreSQL, Native UUID and PHP 8.5

The Dotkernel Headless Platform has seen new releases for both API and Admin. The Admin codebase has received an overall facelift, as well as updates to retain compatibility with API v7.

Read more →
Headless Platform

Evolution Pattern versus API Versioning

In programming and software architecture, an Evolution Pattern is a reusable, high-level strategy for modifying or evolving existing software systems over time. An evolution pattern tries to keep soft…

Read more →