NDBAL (Nidhogg Database Abstract Layer) is part of a YCMS which is available as a separate library. It's main goal is to provide a common API for all kinds of database engines so that a programmer won't have to worry what kind of SQL is available on the server. Thanks to this library, a PHP script can be easily ported from one webserver to another with completly different database.