I'm about to start working on a GUI client for a server app which is written in Python but I'd like to use Perl for the GUI. I'm currently looking at using Tk due to the excellent amount of reference material out there (as opposed to something like wxWindows). The one thing I'm getting stuck on is the method of client-server communication.

I know very little about SOAP, RPC, and the like (those terms could even be redundant, I wouldn't know). What I'm looking for is something similar to query strings from HTML forms - with two exceptions: 1. I'm going to be encrypting all transmitted information and 2. I'd like to avoid the messy character escaping. Sorry for the vagueness but I only have half an idea what I'm doing ;-)

My question to the monks is, what have you found to be the most effective method for sending moderate amounts of encrypted text data from a GUI client?


In reply to Distributing Perl GUI Clients for Server Apps by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.