Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: GUI and standalone Perl - can we build a new FAQ please?

by emazep (Priest)
on Sep 05, 2005 at 14:47 UTC ( #489236=note: print w/ replies, xml ) Need Help??


in reply to GUI and standalone Perl - can we build a new FAQ please?

Another viable solution (not mentioned in the FAQ) for a cross-platform GUI is to provide an HTML-based interface, essentially by turning your app into a CGI app, and then by embedding into your app a mini HTTP server (such as HTTP::Server::Simple, but there are also others on CPAN).

POPFile is a successful cross platform stand-alone application (entirely written in Perl) which does exactly this.

The new Devel::ebug is another (much acclaimed) application that does the same (through Catalyst).

Furthermore Ajax-based technologies offer nowadays the same level of interactivity offered by a native GUI, so using such an interface you don't have to give up anything.

Ciao,
Emanuele.


Comment on Re: GUI and standalone Perl - can we build a new FAQ please?
Re^2: GUI and standalone Perl - can we build a new FAQ please?
by spurperl (Priest) on Sep 05, 2005 at 15:51 UTC
    Actually, this is a very nice solution and I'd love to have some more information (FAQ, Tutorials, etc.) about it.
      Catalyst is probably at the moment the best framework to develop such an application, since it already offers both an embedded web-server and a plugin (Catalyst::Plugin::Prototype) to facilitate the development of Ajax interfaces.

      So I would suggest to approach it (though I have no experience about packaging a Catalyst-based application into a stand alone executable.)

      Ciao,
      Emanuele.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://489236]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2014-07-28 13:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (198 votes), past polls