Lazy Mofo Datagrid is a single class data grid for MySQL and PHP. It generates datagrids from SQL statements or table names, handles file uploads and image cropping, pagination, searching, CSV export, and inline editing, is lightweight, and works well for large datasets. It is meta driven, and detects dates, numbers, and text blobs automatically. It can edit an additional child table from within a record. Multiple uploads are also supported.
PDO4You is a class that implements the Singleton design pattern for connecting the database using the PDO extension (PHP Data Objects). It provides an abstraction layer for accessing data, regardless of which database you are using, and ensures that there is a single object instance per database connection. It can connect to several possible SQL databases using the available PDO drivers. Currently it supports MySQL, PostgreSQL, SQLite, MariaDB, Oracle, Microsoft SQL server, Sybase, and CUBRID (a database highly optimized for Web applications). The class can also execute multiple queries at once given a string in JSON format that specifies the type of query, the tables, fields, field values, conditions, etc.
Zend Framework Models Generator generates Zend Framework model classes from MySQL, PostgreSQL, and SQLite databases. It can query a given database to retrieve the list of tables and their fields, and generates model classes for one table or for all tables of the specified database.
The YB.ORM library aims to simplify writing C++ code that has to deal with SQL databases. The goal is to provide a convenient interface like SQLAlchemy (Python) or Hibernate (Java). The library itself is cross-platform and supports a variety of SQL dialects: SQLite3, MySQL, Postgres, Oracle, and Firebird. Integration with Boost, Qt4, and wxWidgets is built-in. In a typical usage scenario, you would describe your database schema and table relationships in a simple XML-based format, generate SQL code to populate database schema with tables, generate C++ classes, add application-specific logic to the classes, and use these classes in cooperation with the Session object to query objects from the database, create new or modify/delete existing objects, or link and unlink objects using relations. Simple serialization to XML is supported along with connection pooling.