Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by emazep (Priest)
on Sep 05, 2005 at 14:47 UTC ( [id://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?

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://489236]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-25 11:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found