Adding a CORS implementation to Zend Expressive

This article is a guide on how to add a CORS implementation on an existing DotKernel3 project. The issue If you’re facing this message: “Access to XMLHttpRequest at ‘url’ has been blocked by cors policy. No ‘Access-Control-Allow-Origin header is present … Read 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

WURFL Zend Framework Integration into DotKernel

This post refers to DotKernel 1, based on Zend Framework 1. If you are looking for DotKernel 3 related posts, go here. WURFL is integrated into DotKernel, using the Zend_Http_UserAgent class from the latest release ZF 1.11.0rc1 ( Beta release … Read MoreRead More

Using LIKE wildcards with Zend_Db

Continuing the Zend_Db article series, let’s discuss the LIKE condition. The LIKE condition allows you to use wildcards in the WHERE clause of an SQL statement. This allows pattern matching. It can be used in any valid SQL statement (SELECT, … Read MoreRead More

Protection against SQL Injection using PDO and Zend Framework – part 2

Following the preview article about SQL Injection, here is more – a strong argument why you should use Zend Framework for handling database access. Zend_Db is the primary class used for access the database, but there is more: Zend_Db_Statement, Zend_Db_Select … Read MoreRead More