Our great sponsors
-
pgocaml
PG'OCaml provides an interface to PostgreSQL databases for OCaml applications. It uses Camlp4 to extend the OCaml syntax, enabling one to directly embed SQL statements inside the OCaml code.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Although I haven't had to use it in several years, I'm quite fond of the OCaml extension I wrote which integrates PostgreSQL statements directly into the language. Values are type-checked across the boundary, SQL commands are validated at compile time, and proper prepared statements get generated (also at compile time). It's a little bit like MS Linq in concept, but it works by using PGSQL "DESCRIBE" to send the statement to the PostgreSQL server when compiling the code to do the validation and get the types. It really made writing database-baked websites less of a grind. https://github.com/darioteixeira/pgocaml