Database

Overview

Using a database is straight forward and simple in NomadPhp. NomadPhp currently is setup for use with MySQL; however, any custom database driver can written and used. NomadPhp can map directly to an object with the same property names as column names in a table. Sometimes a more complex mapping scheme is requires and NomadPhp provides a mapping abstract. Properties which are objects that require another database call are lazy loaded and therefore only created when accessed.


Work in progress.