Posts Tagged ‘github’

Posted in Blog on October 26, 2008

PHP parser for OS X plist XML files

Digging around today for a PHP parser for OSX plist files, I was surprised to find no good pre-existing solutions. Even Apple’s own site gives a relatively poor solution to the problem (see here). Normally SimpleXML is enough to handle most XML parsing needs, but the plist XML format ... Continue Reading

Posted in Blog on October 5, 2008

Enums in PHP

I’m not sure what lead me to it, but I stumbled across a blog post on how to implement Enums in PHP via userland code written by Jonathan Hohle. I liked the concept he had, but the implementation was a bit unappealing because it used eval() among other more minor issues. You shouldn& ... Continue Reading