Wednesday, December 22, 2004 - Posts

On the awkwardness of timing...

So here am I putting the finishing touches on MetaWeblog API support for an extended version of my Pocket PC blogging application, and now I find out that Charles Cook created a Compact Framework version of his XML-RPC library back in September.
Still, given that I'm only performing a small number of operations, where both the original message and the response fit within a limited set of patterns, the roll-your-own-XML-with-XmlTextWriter approach I've used is probably reasonable for the size of the task, especially since the timetable is determined by nobody other than myself.
And I must admit that I'm quite enjoying doing a bit of old-school raw(-ish) XML over HTTP coding again...it reminds me of my first experience with XML over HTTP back in the glory days of 2000 when men were real men and small furry creatures from Alpha Centauri were real small furry creatures from Alpha Centauri (my apologies to the estate of the late, brilliant Douglas Adams)...and when I had another timing issue, since I needed to do this from the back-end of an ASP application before Microsoft released the production version of ServerXMLHTTP - which resulted in me doing some quick boning-up on Windows sockets so I could write a COM component to do the job.
But I digress. Quite a lot, in fact.
My tests so far have been mostly from a desktop app using the subset of XML features that are supported by the .NETCF - I find it's useful to concentrate on the API at this stage without the distractions of Pocket PC deployment and UI issues. It also makes it a bit easier to try various things out. But so far everything's going very well, and I hope to have a significant upgrade ready for anyone who's still interested before I have to go back to work (I mean where they pay me for being where I don't want to be and doing what I don't want to do).