All blog posts tagged with xml

XML Prolog in PHP

Posted January 5, 2012

Okay, I get it. For some PHP programmers, the notion of the PHP short-code being the same as the open and close of the XML prolog is enough to throw you into a foaming rage.

However - of all the "solutions" I've seen, this has to be the worst:

<?php echo ("<"); ?>?xml version="1.0" encoding="UTF-8"…

Read more

Writing an RSpec for XML-RPC

Posted July 15, 2009

In conjunction with my previous post on writing an XML-RPC webservice under Ruby on Rails using Ruby's built-in XML-RPC library, I obviously had to be able to write some tests (in my case RSpecs) against my controllers. Having scoured forums and Google, the only samples given were for Action Web Ser…

Read more

XML-RPC under Ruby on Rails

Posted July 13, 2009

On a current project, I needed to develop a series of web services for a custom single-signon (unified login) for a bunch of different websites to share. The project needed to be in Ruby on Rails, since that is what is available to the servers, and needed to use a protocol which PHP, Java and Ruby c…

Read more

Displaying all 3 posts

Visit my Friends and Family

If you've enjoyed my site, please take a moment to visit my friends and family, many of whom have some interesting insights, and entertaining thoughts and ideas.