dbTalk Databases Forums  

Ruby programming language interface

comp.databases.pick comp.databases.pick


Discuss Ruby programming language interface in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
jim paul
 
Posts: n/a

Default Ruby programming language interface - 02-21-2006 , 10:46 PM






Does anyone know of any Multivalue database that is accessible from the
Ruby programming language?


Reply With Quote
  #2  
Old   
Simon Verona
 
Posts: n/a

Default Re: Ruby programming language interface - 02-22-2006 , 12:23 AM






The jBase "free downloads" site
(http://www.jbase.com/scripts/japps.d...Testdnloadlist) shows a
project for connecting Ruby to jBase, so I guess it's possble.

I would be surprised if it isn't possible to connect to all current MV
flavours usig Ruby.

Regards
Simon
"jim paul" <jimpaul (AT) fuse (DOT) net> wrote

Quote:
Does anyone know of any Multivalue database that is accessible from the
Ruby programming language?




Reply With Quote
  #3  
Old   
Simon Verona
 
Posts: n/a

Default Re: Ruby programming language interface - 02-22-2006 , 12:25 AM



Actually, looking at the jBase download page, I see my name in lights.. For
anybody interested the download I provided adds a small wrapper around jBASE
3.X Windows version which makes jBASE feel a little more familiar to other
MV users.

Just a little aside..

Regards
Simon
"Simon Verona" <nomail (AT) nomail (DOT) zzz> wrote

Quote:
The jBase "free downloads" site
(http://www.jbase.com/scripts/japps.d...Testdnloadlist) shows a
project for connecting Ruby to jBase, so I guess it's possble.

I would be surprised if it isn't possible to connect to all current MV
flavours usig Ruby.

Regards
Simon
"jim paul" <jimpaul (AT) fuse (DOT) net> wrote in message
news:1140583562.565101.216180 (AT) f14g2000cwb (DOT) googlegroups.com...
Does anyone know of any Multivalue database that is accessible from the
Ruby programming language?






Reply With Quote
  #4  
Old   
jim paul
 
Posts: n/a

Default Re: Ruby programming language interface - 02-22-2006 , 10:10 AM



Thank You Simon,

I downloaded it. It is an ODBC interface by Michael Krygowski. He has
done an example in Perl also. I'll give it a try.


Quote:
"Simon Verona" <nomail (AT) nomail (DOT) zzz> wrote in message
The jBase "free downloads" site
(http://www.jbase.com/scripts/japps.d...Testdnloadlist) shows a
project for connecting Ruby to jBase, so I guess it's possble.

I would be surprised if it isn't possible to connect to all current MV
flavours usig Ruby.

Regards
Simon


Reply With Quote
  #5  
Old   
Tony Gravagno
 
Posts: n/a

Default Re: Ruby programming language interface - 02-22-2006 , 05:53 PM



"jim paul" wrote:
Quote:
Does anyone know of any Multivalue database that is accessible from the
Ruby programming language?
[Preface: All I know about Ruby and Rails comes from reading websites]

It seems there are a few ways to get from Ruby (w/wo Rails) into MV.
It's probably better to start with which MV platform you need to get
into, what OS the DBMS is on, whether you have or want Windows or *nix
in the mix, etc.

Have a look at using the SOAP interface. You can setup any number of
end-points so that the MV access and the Ruby client are completely
separate. This opens you up to other tools in our market like UO,
Object, mv.NET, D3 Class Library, etc.

You can make an HTTP call through any of the popular web interfaces to
MV. See demos I did years ago for getting into D3 with FlashCONNECT -
the same concepts used for VB, Java, Flash, and other UI technologies
applies to Ruby:
http://flashconnect.rainingdata.com/fcdemos/index.html

You can also do operations through the file system: 1) Write data to
the host OS. 2) Used the system() function to invoke an MV process. 3)
Read the resulting data back from the file system.

You could consider implementing a ConnectionAdapter for your
particular MV platform. It won't be compliant with the Relational
norm but you'll have a standard wrapper upon which you and others can
build.

Related, personally I'd create a generic mvConnection wrapper and then
start building connectivity into there. You can then build upon this
or swap out your own implementation with what someone else comes up
with later. This also fits the MVC paradigm of Rails, where the
connectivity to the DBMS is abstracted from the UI and app logic.

If you'd like for me to write an interface from Ruby for your MV
platform, we can talk but be prepared for an invoice that details 80%
research and 20% coding. You/we can Open Source whatever I write.

Good Luck.
Tony
TG@ removethisNebula-RnD.com


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.