PHP

Solving Concurrent Request Blocking in PHP

June 3, 2013 by

Making multiple concurrent AJAX requests to a PHP script, for example, may have left you wondering why the requests are not executed in parallel as expected. Rather, the requests are blocking each other. Chances are that this is caused by using sessions within the PHP script.

Solving XPath Case Sensitivity with PHP

April 27, 2013 by

Performing case insensitive searches for things such as attribute values can be quite a pain with XPath. There is a well known workaround available, but it is not so pretty and clean like one would hope for. PHP developers are also limited by the fact that PHP does not implement XPath 2.0. This article shows an additional approach that helps keep XPath queries simpler.

Create Full URLs in ZF2 Views

March 10, 2013 by

Creating full URLs within view scripts can come in handy in many situations, such as when sending out e-mails where one wants to link back to one’s website. Luckily, Zend Framework 2 provides two useful view helpers to accomplish this task.