Erez David wrote:
Hi,
The reason I want to do it is because I want to run the same application in
a web server as a service so users can just launch it from their browser.
I also want the web application to be similar to the stand-alone application
by its look and feel.
This presentation is a bit old, but it may give you some ideas:
Shrinkwrap Software with Perl, PAR and SOAP @
http://www.chrisdolan.net/yapcna2006/shrinkwrap.html
The basic idea is to create your app logic and expose an interface as a
SOAP service. Then your different user interface layers (Web and GUI,
in your case) interact with the SOAP service to get their data.
Any method of passing requests and data between your two layers can
work. SOAP or another standard RPC method is nice, because it means
that you can use libraries to handle a lot of your work and you are able
to use many different languages and/or toolkits to build your display layer.
The author proposes using another language for GUI development. This is
not really necessary. The approach he offers gives you the freedom to
choose what makes the most sense for you, and that may well be WxPerl.
Good luck,
--Mark Swayne