Dorm is an object/relational persistence tool, written in PHP.
It implements the CRUD interface (create, read, update, delete), in addition to a data selection method, for querying the database and populating sets of PHP objects.
An XML file defines the mapping between tables and classes, and between columns and properties. The format of this file is rather similar to the one used in the Java project Hibernate.

You can manually set the underlying SQL statements (WHERE, ORDER BY, GROUP BY clauses), or let Dorm write them.

Dorm does not query the database by itself. It works on top of an abstract layer (either MDB2, or ADOdb).