npacker / nFramework

A simple MVC framework in PHP.
1 stars 0 forks source link

Better Data Mappers #25

Open npacker opened 9 years ago

npacker commented 9 years ago

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?