Another 2 of our team members passed the ZCE exam. Now we are 5 🙂 That mean we are really taking PHP into serious , and at least we have good technical skills. Zend Yellow Pages
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