which program to use?

jamesave

Golden Member
Aug 27, 2000
1,610
0
76
I have a program that will generate gif charts (reporting) into a folder/directory. The gifs are named with "_" delimited, for easy identification purpose. The users need to see the charts of the same fields within a web page, or printing it in a page. What language/program should I use? CGI, Java? Can you give suggestion?
 

WobbleWobble

Diamond Member
Jun 29, 2001
4,867
1
0
Java would be overkill and slow.

I'd use ColdFusion, ASP, PHP or something similar and read the contents of a folder and compare the name against a regular expression and display it.
 

kamper

Diamond Member
Mar 18, 2003
5,513
0
0
Originally posted by: WobbleWobble
Java would be overkill and slow.

I'd use ColdFusion, ASP, PHP or something similar and read the contents of a folder and compare the name against a regular expression and display it.

wtf did you get that idea? Do you speak from experience?

Having said that, I would also vote for php. It's the simplest to set up so unless you have significant experience in another area that would be the place to start.
 

WobbleWobble

Diamond Member
Jun 29, 2001
4,867
1
0
Sorry, I was speaking thinking of a Java applet. In that case, I think it would be slow. My brain is slow.
 

kamper

Diamond Member
Mar 18, 2003
5,513
0
0
np :)

jamesave, I just had another thought. Do you require these pages to update in real time? I'm just thinking that, if the charts don't get updated very often and you don't have an appropriate web serving environment set up, it may be quicker to use something to generate a static html file which you then save and use as your web page. It's not as elegant but it could be much quicker and then you could use any tools you're familiar with instead of learning one that is suited to web apps.
 

jamesave

Golden Member
Aug 27, 2000
1,610
0
76
i thought about that, as the reports are set once a week.. I can create a perl script to do the html files. but I'd like to learn a new language, and so far the points go to php.
Thanks! :)