Re: Standard Database Interface?
- From: Sean Woods <yoda@xxxxxxxxxx>
- Date: Tue, 16 Oct 2007 06:57:27 -0700
On Oct 15, 1:30 am, tcltk...@xxxxxxx wrote:
I really like tcl/tk but I don't want to be in hot water in the
future. I really hope someone will do something about this. I know
that tcl/tk is used for many things but for I make a living by
developing business applications and w/o a standardize database
interface and tcl database bindings for popular database would deter
me and others from using tcl/tk for this purpose.
Just so you know, this is an issue that we are aware of in the Tcl
Community,
and we have a few projects that are underway that are designed to do
exactly
what you have in mind:
Give a consistent interface to database engines.
I presented a paper at this year's conference about my current
approach,
TDIF (Tcl Data Interface Framework). TDIF is a which is a script
level
wrapper around the various binary drivers and sql dialects. There is
also
some talk amoungst the database driver maintainers about exchanging
notes
on how the APIs should be designed. Look for some TIPs on the subject
this year.
I presently maintain several MySql, MSSQL, Sqlite, and LDAP databases.
The
layer I've written is essentially laziness on my part. I like to write
in
pseudocode, and I think in terms of "query" "cmnd" or "query_flat".
(Though
the sqlite eval that will sub the data into a script is going to be
adapted
for the rest.)
The library I'm working on is being cleaned up for submission into
Tcllib.
You can download snapshots from my website:
http://www.etoyoc.com/tao/
(It uses an OOP system I wrote called Tao. The database level stuff
would
probably do better in Will's SNIT.)
--Sean
.
- Follow-Ups:
- Re: Standard Database Interface?
- From: tcltkdev
- Re: Standard Database Interface?
- References:
- Standard Database Interface?
- From: tcltkdev
- Standard Database Interface?
- Prev by Date: pad++ widget
- Next by Date: Re: What is "TkDefaultFont"?
- Previous by thread: Re: Standard Database Interface?
- Next by thread: Re: Standard Database Interface?
- Index(es):
Relevant Pages
|