Dennis Pallett shows you how to properly use globals in this article, where you will learn everything about the global keyword, the Singleton pattern, the Registry pattern and a Request Wrapper.
Latest Articles
Using globals in PHP
Tuesday, June 27th, 2006Creating a PHP Settings Class
Tuesday, June 20th, 2006In this tutorial Dennis Pallett shows you how to create a settings class which can handle multiple formats (PHP, INI, XML and YAML) using PHP and polymorphism.
Book Review: PHP 5 Objects, Patterns and Practice
Wednesday, June 14th, 2006In this book review Dennis Pallett reviews “PHP 5 Objects, Patterns and Practice” written by Matt Zandstra and published by Apress.
An introduction to Test Driven Development with PHP
Saturday, June 10th, 2006Learn more about Test Driven Development in this article. Dennis Pallett will show you how to apply the principles of Test Driven Development with an example project.
Taking a first look at the AutoCRUD for PHP library
Sunday, June 4th, 2006In this article Dennis Pallett takes a first look at the AutoCRUD for PHP library, a database abstraction library for MySQL offering some unique features.