Blog

Latest Articles

Architecture Deep Dive

Understanding Middleware

Middleware is code that exists between the request and response, and which can take the incoming request, perform actions based on it, and either complete the response or pass delegation on to the nex…

Read more →
Middleware

Dotkernel Light improvements: PSR-15 Handlers, Vite, PHPStan

Dotkernel Light is a PSR-15 compliant application that uses the Mezzio microframework and Laminas components. It's aimed at creating a simple website, like a presentation site, but can be expanded as…

Read more →
Design Patterns

Naming pattern for PSR-15 handlers in Dotkernel applications

This naming pattern is used in Dotkernel Admin v6 and will also be implemented in the next releases for Frontend and Light. The bigger a project is, the more time it will take to develop and the more…

Read more →
Middleware

Replacing controllers with PSR-15 compliant handlers in Dotkernel Light

The goal of this update is to implement PSR-15 handlers into Dotkernel Light. There are several advantages to using handlers, which we will explore below.

Read more →
Middleware

Handling dynamic routing using FastRoute in Dotkernel

The goal of this update is to replace the static way of creating routes with a more dynamic implementation. The result is a cleaner approach that is easier to set up and review at a glance.

Read more →
Core Components

Replacing laminas-mail with Symfony mailer in dot-mail

What prompted the change According to the discussion from the LaminasTechnical steering Committee of 2023-12-04, it was decided that the laminas/laminas-mail package would be abandoned. On the one han…

Read more →
Dotkernel API

Content Negotiation in Dotkernel REST API

Content negotiation is an important aspect of RESTful APIs to make it possible for diverse systems to work seamlessly together. It's based on enabling clients and servers to agree on the format and la…

Read more →
PHP Development

Static Analysis - Replacing Psalm with PHPStan

What is Static Analysis Static analysis (static code analysis or source code analysis) applies a set of coding rules to debug source code before a program is run. Applied in the early phase of code de…

Read more →
Core Components

Doctrine enum implementation in Dotkernel

The update of doctrine/orm to version 3.2.

Read more →
Core Components

Dotkernel Light: the best choice for your presentation site

Dotkernel Light is a good starting point for a project if you want to have full control over the functionality it contains. It easily grows into something more complex with the integration of packages…

Read more →