Re: Tkx and xml-rpc

[email protected] (Kevin Walzer) Wed, 30 Jan 2013 10:51:25 -0500
Newsgroups perl.tcltk
Organization WordTech Communications LLC
Message-ID <[email protected]>
On 1/29/13 3:22 PM, Jan Dubois wrote:
> I have not looked at all at how much work it would be, but I think it
> might be worthwhile to see how hard it would be to write an
> AnyEvent::Impl::Tkx module. That would allow it to be used with any
> module that uses the AnyEvent interface to event loops. I see that
> XML::RPC::Fast does have an XML::RPC::UA::AnyEvent adapter, but don't
> know if XML::RPC::Fast has the right features for you.

As yet another alternative, this package:

https://sourceforge.net/projects/xmlrpctcl/

works flawlessly when run from Tk directly. It enabled my Tk app to 
serve as the XMLRPC server and returned data to a Perl-based client with 
no trouble.

Its license is GPL, which prevents it from being used in a proprietary 
app, but it's food for thought. I wonder how easy it would be to wrap 
the package from Perl and call it via Tkx.

--Kevin

-- 
Kevin Walzer
Code by Kevin
http://www.codebykevin.com