dbTalk Databases Forums  

Does this OO database / spreadsheet / language exist?

comp.databases.object comp.databases.object


Discuss Does this OO database / spreadsheet / language exist? in the comp.databases.object forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Chess Saurus
 
Posts: n/a

Default Does this OO database / spreadsheet / language exist? - 11-29-2003 , 07:18 PM






I'm looking for an interactive, interpreted object oriented database
or language. I have searched vigilantly, but I can't find anything
that comes close to my vision. In it's simplest form, I would guess
that it could interpret source code like this from a
console/interpretter:

Quote:
new class Animal;
new field String Animal.name;
new field int Animal.age;
bob = new Animal;
bob.name = "Robert The Tiger"
bob.age = 25;
new field String Animal.eyeColor;
bob.eyeColor = "blue";
.... etc ... Of course, it would be nice to be able to save this
workspace to a file, etc, and have programmatic constructs. It would
be very nice if this system had a visual front end ( to edit objects
and classes as trees ), but this isn't necessary.

Does this ring any bells? Does anything like this exist? I know
there are object oriented databases (which seem to be only useful when
directly called from a programming language like java)... But I'm
looking for something more like a productivity tool (I could see it
being as useful as a spreadsheet).

Any help will be greatly appreciated.


Reply With Quote
  #2  
Old   
Wolfgang Keller
 
Posts: n/a

Default Re: Does this OO database / spreadsheet / language exist? - 11-30-2003 , 02:27 AM






what did you think about Smalltalk for this purpose?
There are also free versions of it like Squeak

Chess Saurus wrote:

Quote:
I'm looking for an interactive, interpreted object oriented database
or language. I have searched vigilantly, but I can't find anything
that comes close to my vision. In it's simplest form, I would guess
that it could interpret source code like this from a
console/interpretter:

new class Animal;
new field String Animal.name;
new field int Animal.age;
bob = new Animal;
bob.name = "Robert The Tiger"
bob.age = 25;
new field String Animal.eyeColor;
bob.eyeColor = "blue";

... etc ... Of course, it would be nice to be able to save this
workspace to a file, etc, and have programmatic constructs. It would
be very nice if this system had a visual front end ( to edit objects
and classes as trees ), but this isn't necessary.

Does this ring any bells? Does anything like this exist? I know
there are object oriented databases (which seem to be only useful when
directly called from a programming language like java)... But I'm
looking for something more like a productivity tool (I could see it
being as useful as a spreadsheet).

Any help will be greatly appreciated.
================================================== =====
War is Peace; Freedom Is Slavery; Ignorance Is Strength
*** GEORGE ORWELL! 1984 ***
================================================== =====




Reply With Quote
  #3  
Old   
Andy Dent
 
Posts: n/a

Default Re: Does this OO database / spreadsheet / language exist? - 12-02-2003 , 05:26 PM



In article <e722c26f.0311291718.2217a00a (AT) posting (DOT) google.com>,
chessaurus (AT) yahoo (DOT) com (Chess Saurus) wrote:

Quote:
I'm looking for an interactive, interpreted object oriented database
or language.
try Python, freely available on most platforms, already installed on OS/X

http://www.python.org/doc/Summary.html

eg:

Quote:
is interpreter prompt

class Animal:
.... name=""
.... age = 0
....
Quote:
bob = Animal()
bob.name = "Robert the Tiger"
bob.age = 25
bob.eyeColor = "blue" # note that I didn't need to explicitly
create this new attribute, just assigned it.

--
Andy Dent BSc MACS AACM
OOFILE - Database, Reports, Graphs, GUI for c++ on Mac, Unix & Windows
PP2MFC - PowerPlant->MFC portability
http://www.oofile.com.au/


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.