How to Set a Persistent Connection to Database with Zend Framework Zend_Db adapter

This post refers to DotKernel 1, based on Zend Framework 1. If you are looking for DotKernel 3 related posts, go here. From time to time, it may be a good idea to have a persistent connection to database. The … Read More

Manual upgrade of WURFL xml file in DotKernel

This post refers to DotKernel 1, based on Zend Framework 1. If you are looking for DotKernel 3 related posts, go here. DotKernel Application Framework can be downloaded with WURFL XML file bundled in it, but is quite an old … Read More

Adding a second caching layer to WURFL in Dotkernel using APC

This post refers to DotKernel 1, based on Zend Framework 1. If you are looking for DotKernel 3 related posts, go here. On one of our recent projects that used WURFL, response time was an important factor. Profiling revealed that … Read MoreRead More

Zend_Console implementation in DotKernel

This post refers to DotKernel 1, based on Zend Framework 1. If you are looking for DotKernel 3 related posts, go here. Starting with 1.5, DotKernel has a Console bootstrap to easily run PHP scripts from the command line. The … Read MoreRead More

Zend_Session usage in DotKernel – Refactor of Dot_Session class

This post refers to DotKernel 1, based on Zend Framework 1. If you are looking for DotKernel 3 related posts, go here. We found a strange behaviour of sessions in one of our project, running DotKernel version 1.5.0 Similar to … Read MoreRead More

Zend_Auth and Zend_Acl integrated in DotKernel

Zend_Auth and Zend_Acl have been integrated into the DotKernel, starting with version 1.5.0 With the integration of these two major components for user authorization and access we completely refactored the User and Admin models by using Dot_Auth and Dot_Acl classes. … Read More

DotKernel 1.5.0 Released

This post refers to DotKernel 1, based on Zend Framework 1. If you are looking for DotKernel 3 related posts, go here. After a longer wait than usual, DotKernel 1.5.0 was just released. Due to the large amount of changes … Read MoreRead More

Protecting admin folder with .htaccess in Plesk

This post refers to DotKernel 1, based on Zend Framework 1. If you are looking for DotKernel 3 related posts, go here. In /var/www/vhosts/exampledomain.com/conf/vhost.conf file add this code: AuthType Basic AuthName “My Site Admin” AuthUserFile /var/www/vhosts/exampledomain.com/conf/.htpasswd Require … Read More

WURFL PHP API license incompatible with DotKernel

This post refers to DotKernel 1, based on Zend Framework 1. If you are looking for DotKernel 3 related posts, go here. We integrated long time ago the WURFL PHP API into DotKernel code base. At that time, the license … Read MoreRead More

Zend Registry usage in DotKernel

This post refers to DotKernel 1, based on Zend Framework 1. If you are looking for DotKernel 3 related posts, go here. In DotKernel, Zend_Registry will contain the following variables: startTime – the result of microtime() at the beginning of the request configuration … Read MoreRead More