Solved

Plot Graph?

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
This video teaches users how to migrate an existing Wordpress website to a new domain.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

770 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