Browse thread
Re: [Caml-list] PostgreSQL-OCaml 1.0.1
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Richard Jones <rich@a...> |
| Subject: | Re: [Caml-list] PostgreSQL-OCaml 1.0.1 |
Here's a few more examples I've culled from our code. We're doing some (I think) neat stuff here, eg. using sth#map and sth#iter to quickly iterate over the results from queries: http://www.annexia.org/tmp/dbi-ex2.txt ... combined with pre-prepared statements: http://www.annexia.org/tmp/dbi-ex3.txt And we have some neat code that lets you tie a variable to a particular field in the database, a kind of (primitive) persistence: http://www.annexia.org/tmp/dbi-ex4.txt We use this to tie Gtk widgets to database fields, using the transaction capabilities of the database to implement Save and Rollback operations in the GUI. Rich. -- Richard Jones. http://www.annexia.org/ http://www.j-london.com/ Merjis Ltd. http://www.merjis.com/ - improving website return on investment If I have not seen as far as others, it is because I have been standing in the footprints of giants. -- from Usenet ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners