Categories
Archives
Monthly Archives: November 2010
Parsing XML with the DOM Extension for PHP 5
DOM (Document Object Model) is a W3C standard based on a set of interfaces, which can be used to represent an XML or HTML document as a tree of objects. A DOM tree defines the logical structure of documents and … Continue reading
Posted in PHP
Leave a comment
Adding Behavior to a URL Class
While it’s fair to say that it’s not one of the most popular design patterns, like Factory, Singleton and Decorator, Value Object is a simple, yet powerful pattern. It can be used for fabricate value objects, or expressed in other words, objects whose … Continue reading
Posted in PHP
Leave a comment