[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] Re: status of chickenlib: build process and mysql interf
From: |
Johannes Groedem |
Subject: |
[Chicken-users] Re: status of chickenlib: build process and mysql interface usage sample |
Date: |
Wed, 01 Sep 2004 21:52:38 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
* gian paolo ciceri <address@hidden>:
> mmmh., chickenlib has something following this schema (dbi/dbd), for
> mysql and oracle - as eggs we've postgresql and sqlite that don't
> follow this approach AFAIK.
I'd be happy to make the PostgreSQL-bindings comply to some standard,
I just wasn't aware of any. Any suggestions on how to do this? I
mean, ideally, it should be possible to only change the connect
statement (maybe not even that) and leave the rest of the code as it
is, if you want to change database. Maybe make the database-functions
TinyCLOS-methods and dispatch on the connection object? (IIRC, this
is the CLSQL-approach.)
The Python DB-standard just uses packages, FWIW. I.e. if you want to
change from Oracle to PGSQL, you just import the PGSQL package
instead. The functions are named the same, and behave (mostly) the
same.
http://clsql.b9.com/
http://www.python.org/peps/pep-0249.html
--
Johannes Groedem <OpenPGP: 5055654C>
- Re: [Chicken-users] status of chickenlib: build process and mysql interface usage sample, F. Wittenberger, 2004/09/01
- Re: [Chicken-users] status of chickenlib: build process and mysql interface usage sample, gian paolo ciceri, 2004/09/01
- Re: [Chicken-users] status of chickenlib: build process and mysql interface usage sample, klaus schilling, 2004/09/01
- Re: [Chicken-users] status of chickenlib: build process and mysql interface usage sample, F. Wittenberger, 2004/09/01
- Re: [Chicken-users] status of chickenlib: build process and mysql interface usage sample, gian paolo ciceri, 2004/09/01
- Re: [Chicken-users] status of chickenlib: build process and mysql interface usage sample, Joerg F. Wittenberger, 2004/09/01
- Re: [Chicken-users] status of chickenlib: build process and mysql interface usage sample, Tony Garnock-Jones, 2004/09/01
- Re: [Chicken-users] status of chickenlib: build process and mysqlinterface usage sample, Ed Watkeys, 2004/09/01
- Re: [Chicken-users] status of chickenlib: build process and mysqlinterface usage sample, Tony Garnock-Jones, 2004/09/01
- Re: [Chicken-users] status of chickenlib: build process and mysqlinterface usage sample, Joerg F. Wittenberger, 2004/09/01
- [Chicken-users] Re: status of chickenlib: build process and mysql interface usage sample,
Johannes Groedem <=
- Re: [Chicken-users] status of chickenlib: build process and mysql interface usage sample, felix, 2004/09/01
- Re: [Chicken-users] status of chickenlib: build process and mysqlinterface usage sample, Ed Watkeys, 2004/09/01
- Re: [Chicken-users] status of chickenlib: build process and mysqlinterface usage sample, F. Wittenberger, 2004/09/02
- [Chicken-users] Re: status of chickenlib: build process and mysqlinterface usage sample, Ed Watkeys, 2004/09/01
Re: [Chicken-users] status of chickenlib: build process and mysql interface usage sample, F. Wittenberger, 2004/09/01