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 development, the goals of static … Read More
Best Practice
Implementation of SEO friendly URL in an generic Laminas Mezzio app
Prerequisites: In the vast digital landscape of the internet, where websites compete for attention, having a well-crafted URL can make a significant difference. By incorporating human-readable slugs into website URLs, we can enhance user experience, improve search engine optimization (SEO), … Read More
Autologin using Cookie / Remember Me in Dotkernel
Autologin using Cookie / Remember Me in Dotkernel This feature is used to automatically log the user who chooses this by checking the remember me box. Implemented in Dotkernel Frontend starting from Release 3.3.0. Add remember me button to user … Read More
Doctrine Cache in Mezzio and Dotkernel
Doctrine caching in DotKernel Following version 2 of doctrine/cache, in 2024 we published an update to this article here: https://www.dotkernel.com/dotkernel/doctrine-cache-using-symfony-cache/ Using an ORM in production without any sort of cache strategy is a very bad move. The Database server chokes; … Read More
Using the URLGenerator work in FastRoute
DotKernel 3 uses FastRoute under the hood, which is an excellent and fast routing package, but it does have some quirks. A wrong setup can lead to many headaches, as it’s not prominent that the error you’re experiencing is from … Read More
Database migrations and how to use them
Migrations, the superhero your database deserves Migrations ease the process of working together on projects, as well as deploying the database changes. A newly released package for the DotKernel stack integrates migrations and seeders into the application; This is … Read More
Floating-Point Arithmetic – Why is (int)((0.7+0.1)*10) = 7 ?
This article applies to PHP 5.x but also to PHP 7 While using floating-point arithmetic you might have noticed that not all the calculus results are as expected, this can usually be observed when casting values. … Read More
Using PHP 7 Express in Zend Studio 13
This article will cover the steps needed in order to check the PHP7 compatibility, a small troubleshooter. This article will also contain a compatibility issue check on the latest Zend Framework 1 version. … Read More
Better Unicode Support in MySQL 5.5 UTF8MB4
Beginning with version 5.5 of MySQL , utf8mb4 character set was introduced, in order to better support Unicode. Further reading: MySQL and Unicode , also directly related to PHP Sample dk.sql file, part of DotKernel framework, was updated in revision … Read More
Welcome to the 10th Zend Certified Engineer in Dotboost Team
Today is a major milestone for our Dotboost Technologies Inc. Company. We are announcing the 10th member of the team passed the Zend Certified Engineer exam. Zend Yellow Pages This is part of our commitment to ensure that our clients … Read More