When designing an application you must decide how to implement the data persistence. Two main patterns are available: Data Mapper pattern or the Active Record pattern. With the Active Record pattern, ...