From: Randy Lawrence Date: 2004-07-16T05:33:36+09:00 Subject: Re: scripting language (fwd) Austin Ziegler wrote: > On Fri, 16 Jul 2004 04:25:47 +0900, Jamis Buck wrote: > >>Carl Youngblood wrote: >> >>>Isn't there source code for the oci oracle protocol out there? A lot >>>of open source projects have that option. I'm thinking of PHP. You >>>might want to look at the source before you try reverse-engineering >>>anything. >>> >> >>Well, looking at the OCI stuff in PHP, it looks like it relies on the >>Oracle client being installed as well. It then makes API calls into the >>Oracle client libraries to connect to and query the database. >> >>What I would like is to remove the Oracle client as a dependency, just >>as the Oracle JDBC (thin) client does. The thin (as opposed to the oci) >>Oracle JDBC client implements in pure Java the network protocols that >>communicate with the Oracle database server. >> >>This means that the thin client will ultimately be less responsive than >>the oci client, but its GREAT for working on your own machine. >> >>I'm hoping that something like this can be written for Ruby, in Ruby, >>without the need to create an extension module in C to bridge into the >>Oracle OCI stuff (which is what the current ruby oracle module does). >> >>I'm not volunteering to write it--I've got too much on my plate >>already--I was just wondering if anyone else has thought about doing this. > > > I don't do any direct work with Oracle anymore; if I were to do so, I > might look at reverse engineering this -- but I also spent the last > little while to see if anyone has come up with an open source Oracle > thin driver; it appears not. > > -austin Are there dynamic libraries that do this? If the API is documented, maybe its just a matter of creating Ruby wrappers using ext/dl or swig.