This post refers to DotKernel 1, based on Zend Framework 1. If you are looking for DotKernel 3 related posts, go here. In order to use UTF8 encoding in your DotKernel based system, is needed to make some changes in … Read More … Read More
Best Practice
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
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
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
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
SVN Export in a virtual host
The following commands should be run in the terminal (for example, using Putty in Windows) on the host where you want to export the repository). It’s recommended that you run them using the domain’s user, not root. … Read More
Aptana – set SVN keywords
In Aptana it’s very simple to set the svn:keywords property for a file. For example if you want to set the svn keyword property Id: … Read More