squeak to meet databases

Kamil Kukura kamk at volny.cz
Thu Aug 5 15:04:24 UTC 2004


Hi,

I would like to first point out that I don't intent to compare here 
databases like relational vs. object ones. It's all about getting squeak 
and ubiquitous world of relational databases together.

When trying to attract web developers from environments such as PHP, ASP 
or JSP, I'm badly missing a thing to show as how Squeak deals with 
external databases. Perhaps best way to connect to any DB is to use ODBC 
which scares me as it relies on FFI 
<http://minnow.cc.gatech.edu/squeak/2424>
.NET people have ADO, Perl/Ruby builds on DBI, Javists rely on JDBC, "C" 
hard workers stick to ODBC and PHPers go almost native though they also 
have something: http://adodb.sourceforge.net/

So I'm thinking what would be nice to have to show up with more 
databases Squeak can natively talk to. Right now I consider to do some 
work on "SqDBC". At first, it would be a package containing ODBC and 
ODBCEnh as its default database driver. Then I would like to "grow up" 
PostgreSQL package in the way it would become SqDBC driver (and upgrade 
it to protocol 3 as well). Then add some connection pooling to SqDBC.
I know it looks quite "javish" as their JDBC but I don't know if is 
there better "natural" approach.

-- 
Kamil Kukura




More information about the Squeak-dev mailing list