Choosing an API

This section provides general guidelines to help you choose an API for various types of applications. It compares the capabilities of the C, DBI, and PHP APIs to give you some idea of their relative strengths and weaknesses, and to indicate when you might choose one over another.

I should probably point out first that I am not advocating any one of these languages over the others. I use them all, although I do have my preferences. You will have your own preferences, too, as did my reviewers. In fact, one reviewer felt that I should emphasize the importance of C for MySQL programming to a much greater extent, while another thought I should come down much harder on C programming and discourage its use! You'll have to weigh the ...

Get MySQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.