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.

Creating a Block in concrete5

March 1, 2013 by

Creating a custom block in concrete5 is easy, but is often perceived as being difficult due to the many small steps involved. This article gives you a quick walkthrough of how to create your own simple contact block in concrete5.

Use SSL or TLS with SMTP in ZF2

February 28, 2013 by

If you wish to use a secure connection when sending e-mails via an SMTP server in Zend Framework 2, then this article shows you how to do this. The official documentation comes to no avail, but luckily the solution is extremely simple.

Clear Form Data in ZF2

February 24, 2013 by

Clearing a form’s data was easy and convenient in Zend Framework 1. Apparently it is not as easy in Zend Framework 2, so this article gives a few suggestions on how it can be accomplished.

Validate Single Form Elements in ZF2

February 6, 2013 by

Validating a single form element rather than an entire form can be useful in many situations. This task used to be very trivial in Zend Framework 1, but is slightly more complicated in Zend Framework 2. This article explains how to accomplish this in a fairly simple way.