PHP XML

I hate XML.

I investigated storing my GPS co-ords in a really simple XML file with PHP for my map application. I did this thinking that I could only interface data with Google Maps in Javascript with XML. In fact you can use responseText with XmlHttpRequest.

With PHP, I couldn’t get “get_attribute” to work on the child nodes. The PHP docs are frightening. It took me too long to figure out I had to install the php4-domxml debian package just to get started. It is really dumb writing XML code in PHP4, because everything changes in PHP5. Nightmare.

Unix style flat files rule. I hate it how some applications that use CSV are migrating to XML and other stupid interfaces.

Advertisement

If you like this, you might like the stateless Web kiosk software I develop. Webconverger typically replaces Windows on PCs and is deployed in public and business environments for ease of deployment and privacy. Once installed it auto-updates making it painless to maintain. Try it where you exclusively use the only viable open platform... the Web!