Solved

Plot Graph?

Posted on 2002-06-14
3
313 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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.

840 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