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 needed. Dotkernel Light has come a long way since … 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. We strive to keep our applications up-to-date with the recommended design guidelines. This ensures that … Read More
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. RoutesDelegator.php is used to … Read More
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 based on your requirements. Its out-of-box … Read More
Dotkernel Light – Starting with Mezzio microframework and Laminas components
Dotkernel Light is a version of Dotkernel Frontend that includes only the bare-bones essentials. Though simpler, it’s perfect for: Goal Dotkernel Light is designed at the same time to be a fast-start example of using Mezzio microframework, as well as … Read More
CORS policy setup in Dotkernel using mezzio-cors
CORS policy setup in Dotkernel using mezzio-cors Error message Access to fetch at RESOURCE_URL from origin ORIGIN_URL has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Most developers have encountered this error when interacting … Read More … Read More
What is PSR-7 and how to use it
What is PSR-7 and how to use it PSR-7 is a set of common interfaces defined by PHP Framework Interop Group. These interfaces are representing HTTP messages, and URIs for use when communicating trough HTTP. Any web application using this … Read More