Solved

Plot Graph?

Posted on 2002-06-14
3
314 Views
Last Modified: 2006-11-17
Hi,

In using Apache Web Server at Linux, what script/language can I use without installing any package/software?

For example, Can I use jsp, Perl, etc?

I need to plot a graph at my web page after reading data from oracle database.

Which script/language is the most convenient for me to use?

Thanks for your advice !
0
Comment
Question by:iecu
  • 2
3 Comments
 
LVL 12

Expert Comment

by:lexxwern
ID: 7077837
you will have to install interpretors for which ever language you want to use,

try seeing if you have any already installed.

look for perl.exe
0
 
LVL 17

Accepted Solution

by:
dorward earned 100 total points
ID: 7077878
I suspect that perl.exe isn't going to do much use on a Linux system :)

I would be very surprised if the server doesn't have CGI capabilities compiled in, this lets you use pretty much any language that you have an interpreter for. Perl is the most common language for CGI, Python and Ruby are also popular. JSP is somewhat tricker to get going, so I would avoid it myself.

Your best choice would be a language you are already familier with, if you are not familier with any then Perl is possibly the one to go for as it is very mature and should have modules that can cope with all your requirements. (It certainly has Oracle connectivity and graph drawing capabilities.

You would probably want to call it with something like:

<img src="/cgi-bin/graph.cgi" alt="foo" />

in your HTML source.

GD::Graph
GD::Graph replaces GIFgraph -- Because of Unisys patents, GD no longer supports GIF directly. The author has moved GIFgraph into a new name space as GD::Graph. GIFgraph continues to exist as a wrapper around GD::Graph, but requires a conversion of PNG to GIF (default implentation uses Image::Magick) if used with a GD version 1.20 or above.

DBI
The Database Interface. The Perl DBI initiative has standardized the interface to a number of commercial database engines, so that you can move from, say, Oracle to Sybase with a minimum of effort. You'll find DBD::DB2, DBD::Informix, DBD::Oracle, DBD::QBase, DBD::Sybase, and DBD:mSQL inside the DBD module set. If you're looking for a database manager instead of an engine, see the AnyDBM_File module.
0
 
LVL 12

Expert Comment

by:lexxwern
ID: 7077910
>>  In using Apache Web Server at Linux, what script/language can I use without installing any package/software?


none.




you will have to have some interpretor, and then configuring apache /to work with it.

this step is a must.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question