[Xml-compile] getting started with XML-Compile

Oliver Gorwits oliver.gorwits at oucs.ox.ac.uk
Mon Aug 23 10:18:35 GMT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 23/08/2010 10:50, Dave Howorth wrote:
> I fully agree with what Mark said in terms of good design and
> cross-language usability. But I thought I should point out that if you
> only care about Perl and you're willing to accept hackery, TIMTOWTDI.
> 
> It's possible to hack together a module that will wrap any other module
> and turn it into a server that exports all its methods, and a companion
> module that imports the methods into a client application. There's no
> need to have any knowledge of what passes over the wire.

Yes, something like this we've also implemented and put onto CPAN as
RPC::Serialized ("Subroutine calls over the network using common
serialization").

What XML brings to the table is the ability to validate the type and
number of params being passed to your remote subroutine. In essence
you need to decide whether this is essential, and it might well be
if you are offering a service to third parties who will implement
independently of yourself.

regards,
oliver.
- -- 
Oliver Gorwits, Network and Telecommunications Group,
Oxford University Computing Services
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxySvsACgkQ2NPq7pwWBt58BgCgh0YNrBQsWMuHM6aaD4DkTjNE
KgMAnAvlP8iTH8jKkE/kz/ul0l1C58Ky
=2mMY
-----END PGP SIGNATURE-----



More information about the Xml-compile mailing list