Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: HTML as GUI for Perl program

by tale103108 (Novice)
on Jan 06, 2013 at 04:48 UTC ( [id://1011829]=note: print w/replies, xml ) Need Help??


in reply to Re: HTML as GUI for Perl program
in thread HTML as GUI for Perl program

I don't have to literally do a HTTP POST. All I want is a way to use my browser as a GUI front-end to accept my input to a subsequent Perl script that is then called (when the user hits 'Submit' e.g.) and does its thing. I just was hoping that it would be easier to build a GUI front-end using my browser as opposed to say Tk. And the browser/GUI would make my application friendly to use -- as opposed to command-line arguments or prompts.

Replies are listed 'Best First'.
Re^3: HTML as GUI for Perl program
by LanX (Saint) on Jan 06, 2013 at 06:44 UTC
    In theory you could try XUL. See also Perl and XUL app for a discussion.

    Practically it's far from being "easier than TK" and if you wanna use "my browser" you need to install "your browser" on the users machine.

    So you can't take any technology for granted when using HTML, with the exception of interacting with HTTP-requests which consequently makes your script a local server.

    Additionally you would need an extra layer of JS for mimicking a dynamic GUI like TK is.

    And all of this won't change the fact that HTTP has no mean to make the frontend react on the server pushing actions. The browser needs to poll for any dynamic changes like e.g progress infos.

    Cheers Rolf

Re^3: HTML as GUI for Perl program
by Anonymous Monk on Jan 07, 2013 at 09:31 UTC

    I don't have to literally do a HTTP POST....

    :) your question wasn't unclear :) browsers are all about TCP/IP, HTTP and them

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-23 06:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found