Implement a more robust interface for Data Mappers. This should definitely include a private constant for the table name to which the mapper corresponds and a static method for retrieving the table name in other contexts. Similarly, a way to collect the column names for the Mapper would be nice - possibly use MySQL information schema to dynamically generate this?
Implement a more robust interface for Data Mappers. This should definitely include a private constant for the table name to which the mapper corresponds and a static method for retrieving the table name in other contexts. Similarly, a way to collect the column names for the Mapper would be nice - possibly use MySQL information schema to dynamically generate this?