Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Building a Dynamic GUI

by chanio (Priest)
on Jul 18, 2007 at 03:59 UTC ( [id://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!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (7)
As of 2024-03-28 21:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found