next up previous contents
Next: The occam- programming language Up: MySQL occam- API Previous: Contents   Contents

Introduction

This paper describes the development of a MySQL API in occam-$ \pi $ (MoA), including documentation of the API, a benchmark against the MySQL C API, some remarks on developing with the API and a short notice on some demonstration programs distributed with MoA.

The reason for developing MoA is to contribute to the general acknowledgement and spreading of the occam-$ \pi $ programming language. The ease of access to databases is central to many applications, especially web applications which is a field where the parallelism of occam-$ \pi $ is a definite advantage. It is the hope of the authors that MoA will contribute to making occam an attractive language for developers.

The choice of MySQL as the target database for the API was made because MySQL is currently the most widespread free database. An alternative was to make an ODBC API, which would have provided access to more database systems, the cost being a solution less readily applied to MySQL. As the audience is hoped to be upcoming developers and the open-source community, generality was sacrificed for accessibility.


next up previous contents
Next: The occam- programming language Up: MySQL occam- API Previous: Contents   Contents
Espen Suenson 2006-07-07