Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Plot Graph?

Posted on 2002-06-14
3
Medium Priority
?
325 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 400 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

[Webinar] Cloud Security

In this webinar you will learn:

-Why existing firewall and DMZ architectures are not suited for securing cloud applications
-How to make your enterprise “Cloud Ready”, and fix your aging DMZ architecture
-How to transform your enterprise and become a Cloud Enabler

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

916 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