XML-RPC

Dustin Sallings dustin+squeak at spy.net
Sat Nov 16 07:41:42 UTC 2002


	Hey, so I've spent the last week or so casually trying to learn
smalltalk using Squeak.  I don't think I understand the full mentality of
the smalltalk programmer yet, but the language only took a couple hours to
be a first-class citizen in my mind (as opposed to some languages that are
still a bit awkward for me to use).

	I wanted XML-RPC so I could communicate with other apps around the
house, but the only implementation I could find seemed a bit out of date
and didn't deal deal with some of the failure modes I ran into very well.

	So, in the end, I ended up writing a new implementation of XML-RPC
from scratch along with a test suite.

	I don't know a lot about the community, but I'd like to offer this
up and ask for input.

	Firstly, I had to make a minor change to YAXO (as was discussed on
this list, something said ``key'' when it should've said ``name''):

	http://bleu.west.spy.net/~dustin/soft/YAXO-Fixes.1.cs

	And then my XML-RPC implementation and tests:

	http://bleu.west.spy.net/~dustin/soft/Spy-XML-RPC.11.cs


	I did have some problems with the test suite.  Overall, I'm kind
of not trusting SUnit as much as I probably should.  Some of my tests work
as expected, some do not.  In particular, one of them says it runs zero
tests and everything passes, etc... if I try to run it directly in the
sunit GUI.  However, if I run ``all tests'' (including unrelated tests),
it succesfully runs all of my tests.

	But yeah, all my tests I can get to run succeed.  :)

--
SPY                      My girlfriend asked me which one I like better.
pub  1024/3CAE01D5 1994/11/03 Dustin Sallings <dustin at spy.net>
|    Key fingerprint =  87 02 57 08 02 D0 DA D6  C8 0F 3E 65 51 98 D8 BE
L_______________________ I hope the answer won't upset her. ____________




More information about the Squeak-dev mailing list