Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Building a Dynamic GUI

by chanio (Priest)
on Jul 18, 2007 at 03:59 UTC ( #627185=note: print w/replies, xml ) Need Help??

in reply to Building a Dynamic GUI


You shouldn't start thinking in the html transcription...

Just do it at the command line and then try to pass the output to a file. Then the problem is displaying the content of the file, ok?

The simplest way is by using the iframe html command. Just mention the file with the output in any html page and you'll have it inside the html page.

If you want to add a graphics done with any application that does graphics (google it), you need to have a .gif or .png or .jpg output of it done. Then you must have an html page pre-made (template) with the desired size of the image (html image) predefined and pre-placed in it where you want it. Say, you have a blanc gif file and insert it in the html page. If you have named the html image as graphic.gif then you should rename the output graphic as graphic.gif (copy it over the blank image) and redisplay your html page.

Then for handling all this authomatically you should need to make system calls from a cgi module ( that should do the outputs.

For more interactive pages you should need to add some AJAX programming inside the html page (search CPAN). But before reaching such interactiveness, I guess that you are going to come very frequently to ask more punctual questions about all this.

Recomended: Perlmonk's Tutorials articles to read and try.Good luck!

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2023-03-22 18:32 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (60 votes). Check out past polls.