Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

Hi,

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 (CGI.pm) 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!


Comment on Re: Building a Dynamic GUI

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2014-07-11 22:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (235 votes), past polls