Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: HTML as GUI for Perl program

by davido (Archbishop)
on Jan 04, 2013 at 22:49 UTC ( #1011733=note: print w/ replies, xml ) Need Help??


in reply to HTML as GUI for Perl program

It's a whole lot easier if you relax the "no server" requirement. Maybe easier than you suppose. You could build the application's business logic, thinly wrap it in a Mojolicious::Lite interface, and use Mojolicious's built-in server to serve it on any port of your choosing. Don't open the port to the outside world at your firewall, and restrict (using a route bridge, or "under" in Mojolicious::Lite) the client's IP to just the local machine if outside access is of concern.

Done right, at the command line you would type, "./mymojo_app.pl daemon" to start it up on port 3000, for example.


Dave


Comment on Re: HTML as GUI for Perl program
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2015-07-05 03:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls