A basic ORM implemented in PHP