Squeak & SQL (was Developing PostgresPlugin)

Rob Withers rwithers12 at mediaone.net
Sat Jan 19 23:33:18 UTC 2002


At 05:41 PM 1/19/2002, you wrote:
> > > I'd like to know if there is a PostgreSQL Plugin for Squeak...
> > > If there isn't, I'd like to develop it
>
> > See the "Databases and Persistence" page on the Swiki,
> > which has links to MySQL and PostgreSQL projects that
> > are being worked on by different people:
> > http://minnow.cc.gatech.edu/squeak/512
>
>If you are going to work on connecting with a SQL database, you might
>consider this to be a good time to define a standard Squeak <-> SQL
>interface.  Actually, I'm really surprised to not find one, so far.  Perhaps
>it might make sense to learn from and/or adopt one of the existing Smalltalk
><-> SQL interfaces, e.g., EXDI:
>
>http://www.cincom.com/newsmalltalk/prodinformation/pdf/dbadg.pdf

Another option would be to go for Glorp (http://www.glorp.org/).  This is 
one layer higher I believe, defining the object<->relational mapping, but 
it may be a good place to start in defining the lower-level SDBC.  I don't 
know much about it, but with a quick glance, there seems to be first class 
Query objects, and I imagine Statements, and all conversations with the DB 
occur through a presumably subclassable Session.

Rob




More information about the Squeak-dev mailing list