Our Blog

June 6, 2014
by Julian

Implementing the new Password Hashing API from PHP 5.5 in DotKernel

In order to use the new Password Hashing functions , introduced in PHP 5.5 , and unify all password related functions , used for both admin and users, we did a major refactor of DotKernel codebase, in version 1.8.0 , starting from revision 799.

See more on that matter here

Continue reading

Posted in DotKernel | Leave a comment

May 6, 2014
by Julian

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 793

Only one downside , is not possible to use anymore VARCHAR(255), as you will get the error:

#1071 - Specified KEY was too long; MAX KEY LENGTH IS 767 bytes

Explanation here ; so we use instead VARCHAR(150)

Now we should change the connection charset. In config/application.ini file, edit the below line :

database.params.charset = utf8mb4

Other changes that can be made in my.cnf file are all related to replacing the string utf8_* with utf8mb4_*


Posted in Best Practice, PHP Development | Leave a comment

March 6, 2014
by Julian

Zend Framework 1.12.4 Released with Security Fixes

Matthew Weier O’Phinney just announced the release of ZF 1.12.4, 2.1.6, and 2.2.6 m with Security Updates

For more information, please read the official release announcement:
Zend Framework Released

Also, the ZF  PEAR channel was updated to latest 1.12.4 release.

pear upgrade zend/zend

March 7, 2014 EDIT:

Zned Framework 1.12.15 was released, in order to fix a backward compatibility issue introduced in 1.12.4 release.

Release Announcement


Posted in Zend Framework | Leave a comment

November 29, 2013
by Julian

Avoid routing through bootstrap of non existent files

In some cases you may encounter missing files: images, css or js files.
All those missing files are processed by the current bootstrap: index.php

If the session is set to regenerate on each request, as a normal security measure,
the currently logged user is logged off, because the session ID is different now.

To avoid this, below the following line

RewriteEngine On

add the line :

RewriteCond %{REQUEST_FILENAME} (\.gif|\.jpg|\.png|\.css|\.js)$ [OR]

Save and don’t forget to test.

Even though it’s a well known fact that real men do not test…

Posted in DotKernel | Leave a comment

November 25, 2013
by Julian

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 have access to top level PHP development as standard practice and allows us to follow a strong quality assurance program.
The next step is to implement the Zend Framework 2 best practices and to take the upcoming Zend Framework 2 Certified Architect exam.

Beginning 2014, a Zend Certification will became mandatory for every developer in our team.

Posted in Best Practice, PHP Development | Leave a comment