(19 May 2005 at 17:10)
|I made a project on Wikipedia (a free online encyclopedia) to fix the unreasonably popular mistake of leaving off punctuation at the end of paragraphs. It's called Project Punctuation, and it's a good way to spend time doing something easy and useful in order to, say, avoid working on your thesis proposal. It's based on my wikipedia-analyzing "periodbot" (source), which is written using a basic interface to mysql for mlton (source).
|You might be interested in my SML/NJ PostgreSQL binding, which is part of a larger project at:
It has a more functional interface, and it's done its time with some moderately heavy loads on dynamic web sites.
If we could write our implementations to the same signatures, wouldn't that be spiffy!
|My interface is pretty close to yours, actually, except that it uses a datatype instead of 'string' as the type of each cell.
Unfortunately, I think the real portability issues come not from the signature used to interface with the database, but with the query language of the SQL server. For simple stuff postgresql and mysql probably agree, but if you try to do anything moderatly complicated, you're going to need to know which database you're talking to.