With any PHP application, fatal errors will occur. Instead of presenting the user a white screen of death, it’s possible to programmatically execute a function just before a PHP completely shutsdown using the PHP function register_shutdown_function. Read more
In PHP there are two options that control what errors are reported and whether these errors are shown to the user. Error reporting sets the error reporting level with an assigned integer, typically via a constant. By default, PHP reports everything except E_NOTICE and E_STRICT prior to PHP 5.4. Read more
In this basic tutorial, I am going to show you how to install and get started with Memcached using PHP.
Memcached is used to improve a web applications performance by storing an associative array of data in its memory. This is typically used to store database query results, therefore reducing the amount of queries to the database server. Read more
In this tutorial I am going to show you how to set up a basic helper class using the Symfony2 PHP framework. By default, Symfony2 doesn’t have a Helper directory in the bundle structure; however, this doesn’t stop us from making one by using Symfony’s built in service container.
Today I am going to show you how to create a simple contact form for your website using PHP. First off we need to create the contact form to allow the user to type in their message and any other details.
Zend can be pretty useful when it comes to layouts. Today I am going to show you how to set up two layouts, along with dynamic meta title, description and keywords. If you haven’t already got Zend set up – you can follow my previous tutorial here.
I’ve heard a few people talking about Zend_Dojo and how easy it is to implement into your web projects. Lately, I have been doing some research on Zend_Dojo_Form. My first thoughts were that it looked really good. It had a nice look and feel, along with basic Dojo / client side validation. If you are used to using the Zend_Form class – Zend_Dojo_Form allows the same server side validation and filtering, making it a lot more powerful.