Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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?

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
Node Status?
node history
Node Type: note [id://489236]
help
Chatterbox?
[LanX]: I'm not a big fan of pure make, apparently the auto generated ones are so complicated to be able to work with all possible makes
[stevieb]: I find the M::S makefiles it generates are quite straight forward, and I usually have to add a few things (github info etc). They're about 15 lines or so give or take.
[Corion]: I don't think the EUMM-generated Makefile is that complicated ;)
[stevieb]: Corion++
[jedikaiti]: RonW++ #I have so much accumulated in my memory that finding the right item at a given moment often fails
[LanX]: corion only > 800 lines
[stevieb]: ahhh you're talking about the actual Makefile, not the PP Makefile.PL
[Corion]: LanX: But most of that is just setup of variables to be used later, like CC , LIB etc.
[LanX]: yes and some builders try to avoid it

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2017-08-18 21:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (310 votes). Check out past polls.

    Notices?