Re: Tkx and xml-rpc
[email protected] (Jan Dubois) Tue, 29 Jan 2013 12:22:05 -0800
| Newsgroups | perl.tcltk |
|---|---|
| Message-ID | <CAD-TLz_aRL6_GbOFPuXNvhiE176DS6_RRKtQ7c_53gdiD1M7JQ@mail.gmail.com> |
On Mon, Jan 28, 2013 at 6:35 PM, Kevin Walzer <[email protected]> wrote: > On 1/23/13 12:29 PM, Jeff Hobbs wrote: >> >> If there was a way to do this in Tcl, you could do it through Tkx. >> For some of our Perl programs we leveraged the Tcl-based event loop >> for other file operations. The interface between Tcl and Perl is very >> tight, allowing you to call into each from the other. > > > I'm considering rolling my own XML-RPC server on top of the Tkx event loop, > setting up a listener via the fileevent API. None of the existing > implementations support such a thing. 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. Cheers, -Jan