| | Date | Title | Author | Hits |
| | 12-01-10 | | Alejandro Gervasio | 8987 |
In this fourth tutorial of the series, I added three methods to the data mapper class. They will be used for saving and deleting the table rows related to a specified entity. With this parent class fully implementing the methods declared by the “DataMapperInterface” interface, it will be easy to create a refined subclass that can specifically map user objects. |
| | 11-29-10 | | Alejandro Gervasio | 6269 |
In this third part of the series, I add a simple mapping layer to the sample application. This layer will be composed of a single interface and a generic mapper class. |
| | 11-23-10 | | Alejandro Gervasio | 9759 |
In this second installment of the series, I create a simple data access layer. It will be comprised of a single interface, and a basic MySQL abstraction class. |
| | 11-17-10 | | Alejandro Gervasio | 9417 |
In this introductory part of a series, I give you an overview of what a repository is and how it can be used for handling collections of domain objects in PHP. Since my goal here is to address the subject from a practical point of view, after I explain some theoretical concepts, I will develop a simple domain layer comprised of two classes. The first one will be an abstract parent that defines the structure and behavior of generic entities, while the second class will be responsible for modeling simple user objects, according to a number of predefined constraints. |
| | 11-15-10 | | Alejandro Gervasio | 10121 |
If you use design patterns in your daily PHP programming work and want to learn how to implement another one, then hopefully this four-part series of articles has been instructive. It demonstrated how to create easily immutable value objects by means of the Value Object pattern. In this last part, you'll learn how to use this design pattern for encrypting passwords. |
| | 11-10-10 | | Codex-M | 26621 |
There is a need to have an email validation system using JavaScript and PHP that will comply with RFC standards. There are lots of email validation scripts on the Internet, but many of them reject valid email addresses, or they are otherwise not accurate enough. This tutorial will cover the most recent email validation technology available in late 2010 that will comply with RFC email standards. |
| | 11-09-10 | | Alejandro Gervasio | 17392 |
In this third part of a series I develop another sample class, which will use the Object Value design pattern to create immutable HTML div objects in a few easy steps. The pattern's implementation in this case will be a bit more interesting than usual -- it will use the PHP built-in type hinting feature to define a method that returns a new div object to client code, while keeping the immutability of the originating object intact. |
| | 11-03-10 | | Alejandro Gervasio | 10111 |
In this second part of a series, I add a basic method to the “Url” class created in the first part. This method will be tasked with appending new parameters to its existing query string. Due to the immutable nature of the class, the method will return new “url” objects, in this way demonstrating the actual functionality of the Value Object pattern when it comes to taking immutability to a more complex level. |
| | 11-01-10 | | Alejandro Gervasio | 13936 |
In this first part of a series, you'll get an overview of what the Object Value pattern is and how to implement it in PHP. Specifically, in this part you'll learn how to define a basic URL class that can be used to easily create immutable value objects. |
| | 09-21-10 | | Apress Publishing | 7188 |
In this conclusion to a four-part series on MVC and the Zend framework, we'll finish the application we started in a previous part, try it out, and demonstrate another use for the framework. This article is excerpted from chapter 25 of the book Beginning PHP and Oracle: From Novice to Professional, written by W. Jason Gilmore and Bob Bryla (Apress; ISBN: 1590597702). |
| | 09-16-10 | | Apress Publishing | 18093 |
In this third part of a four-part series on MVC and the Zend framework, you'll start building your first website based on the Zend framework and the model-view-controller pattern. This article is excerpted from chapter 25 of the book Beginning PHP and Oracle: From Novice to Professional, written by W. Jason Gilmore and Bob Bryla (Apress; ISBN: 1590597702). |
| | 09-15-10 | | Codex-M | 43872 |
If you use the PHP Excel class, you know that it is a class designed to let you write to and read from Excel files. This article will take the mystery out of manipulating MS Excel files with this class, so you can edit their contents and save them in two different forms. |
| | 09-14-10 | | Codex-M | 102738 |
This is the third part of a tutorial series on Facebook PHP API implementation. In this part, you will learn four important aspects of this API application: how to grab profile photos from the API; how to request user permission from the Facebook login to access sensitive profile information; the importance of “Access token” in accessing sensitive profile information; and how to grab sensitive information using Access token verification (for example, the person's birthday, email address, bio, etc.) in PHP. |
| | 09-09-10 | | Apress Publishing | 9327 |
In this second part of a four-part series on the MVC paradigm and the Zend framework, you'll learn what the framework can help you accomplish and how to install it. This article is excerpted from the chapter 25 of the book Beginning PHP and Oracle: From Novice to Professional, written by W. Jason Gilmore and Bob Bryla (Apress; ISBN: 1590597702). |
| | 09-07-10 | | Codex-M | 28430 |
PHP Excel is one of the most important developer's tools when working with MS Excel applications in PHP. This tutorial will start to explore some of PHP Excel's basic features. The most important one enables you to work with formulas and functions. |