zdo (Zen Data Objects) is an ActiveObject-like sql library based on mysqlnd.