Home > dm-models

dm-models

Dm-models is a project mainly written in Ruby, based on the View license.

Reusable standard models.

dm-models

DataMapper Models is an effort to collect reusable and relatively stable model classes which can be integrated into other applications. This project was set up as a shared repository for utility models, educational code demonstrating particular DM features, and as a common basis for fixtures for DataMapper related projects. Please remember that contributions can either be in the form of a model class, or could be properties and functions contained within a mixin module.

If you are looking to contribute some content, feel free to suggest (or just fork and add) models, or pick from the list below:

  • Location
    • Geolocation
    • Country Codes (ISO 639)
  • Currency Codes (ISO 4217)
  • Language Codes
  • The Dublin Core Metadata Specifications
  • Anything that has a microformat
    • hCalendar
    • hCard
    • hRecipe
    • hResume
    • hReview
    • hProduct
  • State/Event/Transaction models