Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Tk vs browser-based applications

by kiat (Vicar)
on Jul 05, 2005 at 03:52 UTC ( [id://472347]=note: print w/replies, xml ) Need Help??


in reply to Re: Tk vs browser-based applications
in thread Tk vs browser-based applications

Thanks, Errto!
When you say browser-based, do you mean the app runs on a web server and the user accesses it from a browser
That's what I have in mind, which means apache would need to be installed on user's computer.

How is it different from GUI with HTTP::Daemon?

Replies are listed 'Best First'.
Re^3: Tk vs browser-based applications
by Errto (Vicar) on Jul 05, 2005 at 04:08 UTC
    I don't recommend distributing Apache for use in an end user desktop app, basically because it's overkill. The node I linked above describes a way to build the web server into your Perl program so that when the user runs it, the embedded web server starts and then the user's browser simply points to it. It's a pretty elegant solution in my view, which is why I used it in the app mentioned in my home node.
      Hm...I copy and pasted the code at GUI with HTTP::Daemon and then ran it by double-clicking on the script. The perl interpreter was started and all I could see was the Dos box with C:\perl\test\pizza.pl as the title.

      Am I missing something?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-19 14:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found