Glorp (WAS Re: Squeak and SQlite Database)

Avi Bryant avi at beta4.com
Sat Jul 27 02:59:56 UTC 2002


> I've since thought that something lighter weight than EXDI would be a
> better way to go. One porting issue with the EXDI code is that it has
> lots of old style (instance-based) exception handling sprinkled
> throughout. It would be good to move it over to ANSI (class-based)
> exceptions.

What about Diego's ODBC work?  I realize there's some overhead involved
with ODBC (FFI, having ODBC configured and installed, etc) but it is
portable both to a large number of platforms and a larger number of
databases than we could otherwise get - I very much doubt, for example,
that we will ever see a pure Squeak Oracle driver.

The other thing I've had some success with (although with a slight
performance penalty) is sending serialized queries and result sets
back and forth to a simple JDBC bridge.  If anyone's interested in this
code I can scrounge it up.

I realize neither of these are ideal solutions, but leveraging existing
work is a lot easier than building yet another database abstraction
layer.

 > At the moment, I'm anxiously awaiting the release of Magma
> (http://minnow.cc.gatech.edu/squeak/2632).

As am I!




More information about the Squeak-dev mailing list