Five common PHP design patterns
Design patterns are just for Java™ architects -- at least that's what you may have been led to believe. In fact, design patterns are useful for everyone. If these tools aren't exclusive to architecture astronauts, what are they, and why are they useful in PHP applications? This article explains.
18 Jul 2006
Object Oriented PHP: Paging Result Sets
In this article, I'll teach you the basic principles and features of Object Oriented Programming that exist in the PHP language, and take you through a few simple examples so you can see how it all works. We'll then take this newfound knowledge and apply it to a practical problem. Together, we'll create a reusable component that will handle the splitting of MySQL result sets into pages.
Introduction to PHP Objects, Part 1, Part 2
John Coggeshall introdues one of the more interesting and useful methods of writing PHP scripts -- the object-oriented method. Those of you who might have experience with an object-oriented programming language such as Java or even C++ will find themselves right at home with most of the concepts I'll begin outlining here. However, be warned -- PHP objects have a mixture of C++ and Java, making them a little different than what you might be used to. In any case, let's get started with the basics.
Using objects to create an application
This tutorial is the first in a series, which will show you how to use objects to create an application-building the application up from smaller parts-and teach important software engineering and design concepts that will be useful to not only PHP, but to other languages as well.
Using Objects to Create an Application
This tutorial is the second in a series dealing with using objects to create an application -- building the application up from smaller parts -- and teaching important software engineering and design concepts that will be useful writing not only in PHP, but in other languages as well. The specific project assigned is creating an online posting system. This article concentrates on the design stage of the project.