|Syntactic Confectionery Delight|
Re: Building a Dynamic GUIby chanio (Priest)
|on Jul 18, 2007 at 03:59 UTC||Need Help??|
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!