Question: what is the difference between active record and data mapper pattern?
Answer: The biggest difference between the data mapper pattern and the active record pattern is that the data mapper is meant to be a layer between the actual business domain of your application and the database that persists its data.