This is an outdated version. Please see the newer version here.
DataMapper OverZealous Edition 1.5.4
Download the Latest Version Here
View the change log and the upgrade process
Having issues? Please look through the Troubleshooting Guide & FAQs
View the Complete Manual
Search the Manual NEW!
DataMapper (DM) is an Object-Relational Mapper that builds on ActiveRecord. Data is loaded from database tables into objects, and relationships can be managed through simple, easy-to-read functions.
DataMapper OverZealous Edition (DMZ) adds several important features to DM, enhancing it’s usage, usually without requiring any code changes.
To install DMZ over DataMapper, the (fairly simple) upgrade process is described here.
DMZ offers these features and more over the original DataMapper:
• In-table foreign keys
• Multiple relationships to the same model
• Better self references
• Add fields from a related model into one query
• Update, view, and query extra columns on join tables
• A shareable extension mechanism, including:
• Easy creation of HTML forms,
• Processing posted input,
• Converting to-and-from JSON, CSV, and arrays, and
• Query caching
Minor bugfix for related validation, fixed dead links in docs.
Also, I am going to start a new thread for each DMZ release from now on, to prevent the very large threads from the past.
The older version was discussed here.
Thanks goes to stensi, for providing such an amazing code base to work on.