pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedSmalltalk driver
10+ messages / 5 participants
[nested] [flat]
* Smalltalk driver
@ 2000-07-10 12:41 Bruce Badger <bruce_badger@badgerse.com>
2000-07-10 15:04 ` Re: Smalltalk driver Thomas Lockhart <lockhart@alumni.caltech.edu>
0 siblings, 1 reply; 10+ messages in thread
From: Bruce Badger @ 2000-07-10 12:41 UTC (permalink / raw)
To: pgsql-interfaces
A Smalltalk driver has been developed for PostgreSQL. It consists of
two libraries, the driver library is implemented in terms of PostgreSQL
interface concepts (message etc.), and the second library is a mapping
of the driver library to the ViaualWorks EXDI (think of JDBC) interface.
I've included a couple of example of the libraries being used below.
What steps need to be taken to get these Smalltalk libraries listed on
the PostgreSQL web site?
Thanks.
Bruce Badger
-------------------------------------
Code examples
Using the driver layer ...
| parameterSet connection result |
parameterSet := ConnectionParameterSet new.
parameterSet host: '192.168.12.12'; port: 5432; databaseName:
'test1'; userName: 'bbadger'.
connection := PostgreSQLConnection using: parameterSet.
connection executeQuery: 'create table test04 (a int2, b int2)'.
connection executeQuery: 'insert into test04 values (1, 1)'.
connection executeQuery: 'insert into test04 values (2, 1)'.
connection executeQuery: 'insert into test04 values (3, 1)'.
result := connection executeQuery: 'select a, b from test04'.
connection executeQuery: 'drop table test04'.
connection close.
^result
Using the EXDI layer ...
| connection session |
connection := PostgreSQLEXDIConnection new.
connection username: 'bbadger'; environment: '192.168.12.12_test1'.
connection connect.
session := connection getSession.
session prepare: 'INSERT INTO exdiTest06 (name, phone) VALUES(?, ?)'.
#(#('Curly' 'x47') #('Moe' 'x29') #('Larry' 'x83')) do: [:entry |
session bindInput: entry; execute; answer].
connection disconnect.
^self
^ permalink raw reply [nested|flat] 10+ messages in thread
* Re: Smalltalk driver
2000-07-10 12:41 Smalltalk driver Bruce Badger <bruce_badger@badgerse.com>
@ 2000-07-10 15:04 ` Thomas Lockhart <lockhart@alumni.caltech.edu>
2000-07-10 16:38 ` Re: Smalltalk driver Vince Vielhaber <vev@michvhf.com>
2000-07-10 19:42 ` Re: Smalltalk driver bruce_badger <bbadger@badgerse.com>
0 siblings, 2 replies; 10+ messages in thread
From: Thomas Lockhart @ 2000-07-10 15:04 UTC (permalink / raw)
To: Bruce Badger <bruce_badger@badgerse.com>; +Cc: pgsql-interfaces; Vince Vielhaber <vev@michvhf.com>
> A Smalltalk driver has been developed for PostgreSQL.
Great!
> What steps need to be taken to get these Smalltalk libraries listed on
> the PostgreSQL web site?
The main Postgres distribution ships several drivers. Would this be a
candidate for inclusion? I'm not sure how it builds or what it would
take, but if it could be done, and if there is a Smalltalk environment
available for, say, our Linux RPM builder guy, then we could include the
driver in the RPM distro.
In any case, to cross-reference your existing driver from the main
Postgres web site, we just need the details: URL reference, developer's
name, etc etc or perhaps you could include all that in a short intro
which we might be able to use verbatim.
- Thomas
^ permalink raw reply [nested|flat] 10+ messages in thread
* Re: Smalltalk driver
2000-07-10 12:41 Smalltalk driver Bruce Badger <bruce_badger@badgerse.com>
2000-07-10 15:04 ` Re: Smalltalk driver Thomas Lockhart <lockhart@alumni.caltech.edu>
@ 2000-07-10 16:38 ` Vince Vielhaber <vev@michvhf.com>
2000-07-10 20:45 ` Re: Smalltalk driver bruce_badger <bbadger@badgerse.com>
1 sibling, 1 reply; 10+ messages in thread
From: Vince Vielhaber @ 2000-07-10 16:38 UTC (permalink / raw)
To: Thomas Lockhart <lockhart@alumni.caltech.edu>; +Cc: Bruce Badger <bruce_badger@badgerse.com>; pgsql-interfaces
On Mon, 10 Jul 2000, Thomas Lockhart wrote:
> > A Smalltalk driver has been developed for PostgreSQL.
>
> Great!
>
> > What steps need to be taken to get these Smalltalk libraries listed on
> > the PostgreSQL web site?
Where is the driver now?
Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH email: vev@michvhf.com http://www.pop4.net
128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================
^ permalink raw reply [nested|flat] 10+ messages in thread
* Re: Smalltalk driver
2000-07-10 12:41 Smalltalk driver Bruce Badger <bruce_badger@badgerse.com>
2000-07-10 15:04 ` Re: Smalltalk driver Thomas Lockhart <lockhart@alumni.caltech.edu>
2000-07-10 16:38 ` Re: Smalltalk driver Vince Vielhaber <vev@michvhf.com>
@ 2000-07-10 20:45 ` bruce_badger <bbadger@badgerse.com>
2000-07-10 19:34 ` Re: Smalltalk driver The Hermit Hacker <scrappy@hub.org>
0 siblings, 1 reply; 10+ messages in thread
From: bruce_badger @ 2000-07-10 20:45 UTC (permalink / raw)
To: Vince Vielhaber <vev@michvhf.com>; +Cc: Thomas Lockhart <lockhart@alumni.caltech.edu>; Bruce Badger <bruce_badger@badgerse.com>; pgsql-interfaces
As of today, the library is on my machine, and the machines of two
reviewers in the Smalltalk community (perhaps more if they've handed it
on).
I'm on the verge of letting comp.lang.smalltalk know about the driver, so
that should increase the number of copies out there quite a bit :-)
I'll send you a copy, if you wish. You'll need to install VisualWorks
5i.1 NC to use it.
All the best,
Bruce
On Mon, 10 Jul 2000, Vince Vielhaber wrote:
> On Mon, 10 Jul 2000, Thomas Lockhart wrote:
>
> > > A Smalltalk driver has been developed for PostgreSQL.
> >
> > Great!
> >
> > > What steps need to be taken to get these Smalltalk libraries listed on
> > > the PostgreSQL web site?
>
> Where is the driver now?
>
> Vince.
> --
> ==========================================================================
> Vince Vielhaber -- KA8CSH email: vev@michvhf.com http://www.pop4.net
> 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
> Online Campground Directory http://www.camping-usa.com
> Online Giftshop Superstore http://www.cloudninegifts.com
> ==========================================================================
>
>
>
>
^ permalink raw reply [nested|flat] 10+ messages in thread
* Re: Smalltalk driver
2000-07-10 12:41 Smalltalk driver Bruce Badger <bruce_badger@badgerse.com>
2000-07-10 15:04 ` Re: Smalltalk driver Thomas Lockhart <lockhart@alumni.caltech.edu>
2000-07-10 16:38 ` Re: Smalltalk driver Vince Vielhaber <vev@michvhf.com>
2000-07-10 20:45 ` Re: Smalltalk driver bruce_badger <bbadger@badgerse.com>
@ 2000-07-10 19:34 ` The Hermit Hacker <scrappy@hub.org>
2000-07-10 22:49 ` Re: Smalltalk driver bruce_badger <bbadger@badgerse.com>
0 siblings, 1 reply; 10+ messages in thread
From: The Hermit Hacker @ 2000-07-10 19:34 UTC (permalink / raw)
To: bruce_badger <bbadger@badgerse.com>; +Cc: Vince Vielhaber <vev@michvhf.com>; Thomas Lockhart <lockhart@alumni.caltech.edu>; Bruce Badger <bruce_badger@badgerse.com>; pgsql-interfaces
what license does this fall under? if BSD, is this something that would
make sense in including in our interfaces directory of our distribution?
On Mon, 10 Jul 2000, bruce_badger wrote:
> As of today, the library is on my machine, and the machines of two
> reviewers in the Smalltalk community (perhaps more if they've handed it
> on).
>
> I'm on the verge of letting comp.lang.smalltalk know about the driver, so
> that should increase the number of copies out there quite a bit :-)
>
> I'll send you a copy, if you wish. You'll need to install VisualWorks
> 5i.1 NC to use it.
>
> All the best,
> Bruce
>
> On Mon, 10 Jul 2000, Vince Vielhaber wrote:
>
> > On Mon, 10 Jul 2000, Thomas Lockhart wrote:
> >
> > > > A Smalltalk driver has been developed for PostgreSQL.
> > >
> > > Great!
> > >
> > > > What steps need to be taken to get these Smalltalk libraries listed on
> > > > the PostgreSQL web site?
> >
> > Where is the driver now?
> >
> > Vince.
> > --
> > ==========================================================================
> > Vince Vielhaber -- KA8CSH email: vev@michvhf.com http://www.pop4.net
> > 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
> > Online Campground Directory http://www.camping-usa.com
> > Online Giftshop Superstore http://www.cloudninegifts.com
> > ==========================================================================
> >
> >
> >
> >
>
Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org
^ permalink raw reply [nested|flat] 10+ messages in thread
* Re: Smalltalk driver
2000-07-10 12:41 Smalltalk driver Bruce Badger <bruce_badger@badgerse.com>
2000-07-10 15:04 ` Re: Smalltalk driver Thomas Lockhart <lockhart@alumni.caltech.edu>
2000-07-10 16:38 ` Re: Smalltalk driver Vince Vielhaber <vev@michvhf.com>
2000-07-10 20:45 ` Re: Smalltalk driver bruce_badger <bbadger@badgerse.com>
2000-07-10 19:34 ` Re: Smalltalk driver The Hermit Hacker <scrappy@hub.org>
@ 2000-07-10 22:49 ` bruce_badger <bbadger@badgerse.com>
0 siblings, 0 replies; 10+ messages in thread
From: bruce_badger @ 2000-07-10 22:49 UTC (permalink / raw)
To: The Hermit Hacker <scrappy@hub.org>; +Cc: Vince Vielhaber <vev@michvhf.com>; Thomas Lockhart <lockhart@alumni.caltech.edu>; pgsql-interfaces
At the momemt we're thinking of the LGPL - would this be a problem?
On Mon, 10 Jul 2000, The Hermit Hacker wrote:
>
> what license does this fall under? if BSD, is this something that would
> make sense in including in our interfaces directory of our distribution?
>
>
>
> On Mon, 10 Jul 2000, bruce_badger wrote:
>
> > As of today, the library is on my machine, and the machines of two
> > reviewers in the Smalltalk community (perhaps more if they've handed it
> > on).
> >
> > I'm on the verge of letting comp.lang.smalltalk know about the driver, so
> > that should increase the number of copies out there quite a bit :-)
> >
> > I'll send you a copy, if you wish. You'll need to install VisualWorks
> > 5i.1 NC to use it.
> >
> > All the best,
> > Bruce
> >
> > On Mon, 10 Jul 2000, Vince Vielhaber wrote:
> >
> > > On Mon, 10 Jul 2000, Thomas Lockhart wrote:
> > >
> > > > > A Smalltalk driver has been developed for PostgreSQL.
> > > >
> > > > Great!
> > > >
> > > > > What steps need to be taken to get these Smalltalk libraries listed on
> > > > > the PostgreSQL web site?
> > >
> > > Where is the driver now?
> > >
> > > Vince.
> > > --
> > > ==========================================================================
> > > Vince Vielhaber -- KA8CSH email: vev@michvhf.com http://www.pop4.net
> > > 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
> > > Online Campground Directory http://www.camping-usa.com
> > > Online Giftshop Superstore http://www.cloudninegifts.com
> > > ==========================================================================
> > >
> > >
> > >
> > >
> >
>
> Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
> Systems Administrator @ hub.org
> primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org
>
>
^ permalink raw reply [nested|flat] 10+ messages in thread
* Re: Smalltalk driver
2000-07-10 12:41 Smalltalk driver Bruce Badger <bruce_badger@badgerse.com>
2000-07-10 15:04 ` Re: Smalltalk driver Thomas Lockhart <lockhart@alumni.caltech.edu>
@ 2000-07-10 19:42 ` bruce_badger <bbadger@badgerse.com>
2000-07-10 16:59 ` Re: Smalltalk driver Vince Vielhaber <vev@michvhf.com>
1 sibling, 1 reply; 10+ messages in thread
From: bruce_badger @ 2000-07-10 19:42 UTC (permalink / raw)
To: Thomas Lockhart <lockhart@alumni.caltech.edu>; +Cc: pgsql-interfaces; Vince Vielhaber <vev@michvhf.com>
The libraries are currently slated to be released under the LGPL. I
understand that PostgreSQL is under a BSD license, so would the use of
LGPL for the Smalltalk stuff be a problem?
The libraries take the form of "parcels". These are files which can be
loaded into either development or run-time VisualWorks "images" (running
Smalltalk environments. Once in an image, the classes in the library are
available for use, typically by application classes. A non-commercial
version of visualworks can be downloaded from here:
http://www.cincom.com/smalltalk/vwdownload.asp.
The same parcels can be used regardles of where the image is being run -
currently the non-commercial version of VisualWorks runs on Windoze and
Linux (commercial versions also run on Solaris, HPUX, Mac etc..).
Currently, I have the parcels in tar file, and you are most welcome to the
current version. "Installing" the libraries simply means putting them on
the target machine such that they can be loaded (read) by a running
VisualWorks image. Once loaded the libraries will be rready for use -
there are test methods that can be run to check that everything works.
The project page is here:
http://wiki.cs.uiuc.edu/VisualWorks/PostgreSQL+EXDI
What next?
All the best,
Bruce
On Mon, 10 Jul 2000, Thomas Lockhart wrote:
> > A Smalltalk driver has been developed for PostgreSQL.
>
> Great!
>
> > What steps need to be taken to get these Smalltalk libraries listed on
> > the PostgreSQL web site?
>
> The main Postgres distribution ships several drivers. Would this be a
> candidate for inclusion? I'm not sure how it builds or what it would
> take, but if it could be done, and if there is a Smalltalk environment
> available for, say, our Linux RPM builder guy, then we could include the
> driver in the RPM distro.
>
> In any case, to cross-reference your existing driver from the main
> Postgres web site, we just need the details: URL reference, developer's
> name, etc etc or perhaps you could include all that in a short intro
> which we might be able to use verbatim.
>
> - Thomas
>
^ permalink raw reply [nested|flat] 10+ messages in thread
* Re: Smalltalk driver
2000-07-10 12:41 Smalltalk driver Bruce Badger <bruce_badger@badgerse.com>
2000-07-10 15:04 ` Re: Smalltalk driver Thomas Lockhart <lockhart@alumni.caltech.edu>
2000-07-10 19:42 ` Re: Smalltalk driver bruce_badger <bbadger@badgerse.com>
@ 2000-07-10 16:59 ` Vince Vielhaber <vev@michvhf.com>
2000-07-10 20:53 ` Re: Smalltalk driver bruce_badger <bbadger@badgerse.com>
0 siblings, 1 reply; 10+ messages in thread
From: Vince Vielhaber @ 2000-07-10 16:59 UTC (permalink / raw)
To: bruce_badger <bbadger@badgerse.com>; +Cc: Thomas Lockhart <lockhart@alumni.caltech.edu>; pgsql-interfaces
On Mon, 10 Jul 2000, bruce_badger wrote:
> The libraries are currently slated to be released under the LGPL. I
> understand that PostgreSQL is under a BSD license, so would the use of
> LGPL for the Smalltalk stuff be a problem?
>
> The libraries take the form of "parcels". These are files which can be
> loaded into either development or run-time VisualWorks "images" (running
> Smalltalk environments. Once in an image, the classes in the library are
> available for use, typically by application classes. A non-commercial
> version of visualworks can be downloaded from here:
> http://www.cincom.com/smalltalk/vwdownload.asp.
Can you give me a quick 2-3 line description?
Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH email: vev@michvhf.com http://www.pop4.net
128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================
^ permalink raw reply [nested|flat] 10+ messages in thread
* Re: Smalltalk driver
2000-07-10 12:41 Smalltalk driver Bruce Badger <bruce_badger@badgerse.com>
2000-07-10 15:04 ` Re: Smalltalk driver Thomas Lockhart <lockhart@alumni.caltech.edu>
2000-07-10 19:42 ` Re: Smalltalk driver bruce_badger <bbadger@badgerse.com>
2000-07-10 16:59 ` Re: Smalltalk driver Vince Vielhaber <vev@michvhf.com>
@ 2000-07-10 20:53 ` bruce_badger <bbadger@badgerse.com>
2000-07-10 18:09 ` Re: Smalltalk driver Vince Vielhaber <vev@michvhf.com>
0 siblings, 1 reply; 10+ messages in thread
From: bruce_badger @ 2000-07-10 20:53 UTC (permalink / raw)
To: Vince Vielhaber <vev@michvhf.com>; +Cc: Thomas Lockhart <lockhart@alumni.caltech.edu>; pgsql-interfaces
A 2-3 line description:
The VisualWorks EXDI is a core API of the VisualWorks Smalltalk
development environment. It provides a standard set of interfaces to
SQL-compliant databases. The PosgreSQL Smalltalk driver + EXDI interface
libarries provide an EXDI implementation for VisualWorks programmers
wishing to access PostgreSQL databases.
Is this the kind of thing you had in mind?
^ permalink raw reply [nested|flat] 10+ messages in thread
* Re: Smalltalk driver
2000-07-10 12:41 Smalltalk driver Bruce Badger <bruce_badger@badgerse.com>
2000-07-10 15:04 ` Re: Smalltalk driver Thomas Lockhart <lockhart@alumni.caltech.edu>
2000-07-10 19:42 ` Re: Smalltalk driver bruce_badger <bbadger@badgerse.com>
2000-07-10 16:59 ` Re: Smalltalk driver Vince Vielhaber <vev@michvhf.com>
2000-07-10 20:53 ` Re: Smalltalk driver bruce_badger <bbadger@badgerse.com>
@ 2000-07-10 18:09 ` Vince Vielhaber <vev@michvhf.com>
0 siblings, 0 replies; 10+ messages in thread
From: Vince Vielhaber @ 2000-07-10 18:09 UTC (permalink / raw)
To: bruce_badger <bbadger@badgerse.com>; +Cc: Thomas Lockhart <lockhart@alumni.caltech.edu>; pgsql-interfaces
On Mon, 10 Jul 2000, bruce_badger wrote:
> A 2-3 line description:
>
> The VisualWorks EXDI is a core API of the VisualWorks Smalltalk
> development environment. It provides a standard set of interfaces to
> SQL-compliant databases. The PosgreSQL Smalltalk driver + EXDI interface
> libarries provide an EXDI implementation for VisualWorks programmers
> wishing to access PostgreSQL databases.
>
> Is this the kind of thing you had in mind?
Perfect.
Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH email: vev@michvhf.com http://www.pop4.net
128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================
^ permalink raw reply [nested|flat] 10+ messages in thread
end of thread, other threads:[~2000-07-10 22:49 UTC | newest]
Thread overview: 10+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-07-10 12:41 Smalltalk driver Bruce Badger <bruce_badger@badgerse.com>
2000-07-10 15:04 ` Thomas Lockhart <lockhart@alumni.caltech.edu>
2000-07-10 16:38 ` Vince Vielhaber <vev@michvhf.com>
2000-07-10 20:45 ` bruce_badger <bbadger@badgerse.com>
2000-07-10 19:34 ` The Hermit Hacker <scrappy@hub.org>
2000-07-10 22:49 ` bruce_badger <bbadger@badgerse.com>
2000-07-10 19:42 ` bruce_badger <bbadger@badgerse.com>
2000-07-10 16:59 ` Vince Vielhaber <vev@michvhf.com>
2000-07-10 20:53 ` bruce_badger <bbadger@badgerse.com>
2000-07-10 18:09 ` Vince Vielhaber <vev@michvhf.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox