TbsSQL is a small wrapper class for working with SQL databases within PHP scripts. It has few methods and two properties and it’s only one file per database for installation. Its most interesting feature is that it can protect and format values before merging them into the SQL statement. It has a cache feature, a trace mode, a debug console, and it can return data as arrays, standard objects, specific class objects, or clone objects. It can also delete PHP connection variables after making the connection.
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.