| | Date | Title | Author | Hits |
| | 03-31-11 | | Alejandro Gervasio | 8002 |
If you, as a PHP developer, are looking for an approach that lets you build traversable classes that stick more strictly to the Single Responsibility Principle, then maybe it is time to consider the functionality provided by external iterators. |
| | 03-21-11 | | Alejandro Gervasio | 11176 |
In this first part of a short tutorial series, you will learn how to implement external iterators in PHP using OOP (Object Oriented Programming). This is useful when you want to construct easily traversable classes. Keep reading to learn more! |
| | 03-02-11 | | Codex-M | 16270 |
Validating URLs is important to form handling and PHP data processing. Currently there are numerous solutions for validating URLs. This article will take a look at some of the most commonly used methods of validating URLs in PHP: the Regex method and the PHP built-in Filter_validate_URL. |
| | 02-16-11 | | Alejandro Gervasio | 14059 |
In this third part of the series, I develop the domain layer of a sample blog application. In this case, for the sake of simplicity, the domain layer will be able to fetch, save, and delete blog post entries from the underlying storage layer. |
| | 02-15-11 | | Alejandro Gervasio | 8372 |
In this second tutorial of the series, I show how the combined functionality provided by dependency injection and a service locator can be quite helpful in the construction of testable object graphs. |
| | 02-14-11 | | Alejandro Gervasio | 13680 |
In this first part of a series, I introduce you to the key concepts that surround the definition of a service locator. I'll also show you how to use this approach in the development of a basic registry library. |
| | 02-08-11 | | wubayou | 9127 |
In this brief tutorial, we will learn how to use PHP's sort function to sort the values in an array. |
| | 02-07-11 | | Alejandro Gervasio | 5801 |
While the pattern is not as popular as other well-known contenders, like Singleton, Factory and Composite, “Plug-in” is a powerful structural paradigm. It permits developers to create extensible software systems by means of a clever combination of Composition and interfaces. By "interfaces," I mean native ones, or defined in the form of abstract classes. |
| | 02-03-11 | | Alejandro Gervasio | 14511 |
In this part of the series, I demonstrate that the use of the “Plug-in” pattern in the construction of an extensible caching system is actually much simpler than many people might think. [Editor's note: this article was published out of sequence; it's actually the third in the series, and comes before yesterday's "HTML5 Client-Side Cache in PHP."] |
| | 02-02-11 | | Alejandro Gervasio | 18835 |
In this penultimate part of a series, I develop a basic client-side cache class in PHP. It uses the local storage mechanism packaged with HTML5 to save, retrieve and manipulate data in the browser. |
| | 02-01-11 | | Codex-M | 17482 |
This is the final part of the PayPal IPN PHP script tutorial. This part will discuss the implementation and project deployment procedures for getting the PayPal IPN PHP script project up and running on your own test server. |
| | 02-01-11 | | Codex-M | 9352 |
This is the fifth part of the PayPal IPN PHP script tutorial. This part will discuss the details of the customer download script (customerdownload.php). |
| | 01-25-11 | | Alejandro Gervasio | 9583 |
In this second part of the series, I demonstrated how to use the “Plug-in” pattern for developing a fully-pluggable application that renders different types of elements on screen. The “plug-ins” passed to the client renderer will be objects that generate basic HTML/JavaScript code and nothing else. |
| | 01-24-11 | | Codex-M | 29458 |
This is the fourth part of the PayPal IPN PHP script tutorial. This part will discuss the details of the IPN handler script. Let's name this script "ipnhandler.php." |
| | 01-19-11 | | Alejandro Gervasio | 10802 |
In this first part of a series, I introduce the key concepts that surround the implementation of the Plug-in design pattern in PHP. I also show you how to use it to build an easily extensible application. The sample program in this case will render a few simple HTML widgets on screen, such as divs and paragraphs, but this functionality can be easily extended to other elements as well. |