Introducing Marlin

Does the Perl world need another object-oriented programming framework? To be honest, probably not. But here’s why you might want to give Marlin a try anyway. Most of your constructors and accessors will be implemented in XS and be really, really fast. If you accept a few basic principles like “attributes should usually be read-only”, … Continued

PHP Domain Class

On Usenet an often-asked question is how to programmatically determine the “domain” of a particular hostname. That is, excluding the components traditionally thought of as subdomains. As an example, groups.google.com and www.google.com both have a domain of google.com. Invariably, one answer comes back stating that you just need to chop off everything from the front, … Continued

On The Legibility of PHP

David Segall wrote: I do not deny that the programmer is the most significant factor in the readability of a program but would you really promote PHP as a language because it is easy to read? I certainly wouldn’t advise against it because of legibility concerns. Any language that supports comments (not all do) and … Continued