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 Server 5.5 Quick Setup on Windows

In order to make  usable a fresh installation of Zend Server 5.5.0 on Windows 7, and be ready for development , few quick steps are required: … Read 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

Listen for Android install referrer

Have you ever wondered if Android market sends you information at the moment of app install? Wouldn”t be nice to create custom links to your android application, including bits of information about the referrer, and send it directly to the … Read More

Multiple broadcast receivers in the same app, for the same action

Did you come to a point where using multiple broadcast receivers to listen for the same intent, separatly, in the same android app, leads to unexpected results? If that”s the case, one broadcast receiver might consume the broadcasted intent, online … Read 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 libraries , GPL versions

GPL versions of WURFL PHP API libraries are ready to be downloaded from here . Version 1.1 is the one integrated in Zend Framework Zend_Htpp_UserAgent component. Version 1.2.1 is the latest released under GPL license. Later Edit: removed because A) … Read More

Golden Rules of Professional PHP Coding

1.  Always use in development and in staging highest error reporting level, and display_errors ON: error_reporting(-1); ini_set(‘display_errors’, 1); 2. Fix every warning or notice that occur. 3. Check regularly server’s error_log for notices/warnings 4. Identify any temporary hack with a … Read More