Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 346
  • Last Modified:

Plot Graph?

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
iecu
Asked:
iecu
  • 2
1 Solution
 
lexxwernCommented:
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
 
dorwardCommented:
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
 
lexxwernCommented:
>>  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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now