Project Description
Bidirectional automatic mapping for the .Net platform, with strong verification and testing tools.
Features
Bidirectional mapping
Automatic mapping
Mapping between different types
Nested mapping and Flattening
Lists and Arrays
Verification of relations
Testing the mapping
Properties, Fields and Methods
Using the framework will be easier if you know about the basic concepts.
Driving forces
Examples
Flattening a large structure
External articles about Glue
This blogpost describes the motivation for creating this framework: http://tore.vestues.no/2009/08/10/glue-the-new-mapping-framework/
An introduction to using Glue with focus on verification and testing: http://tore.vestues.no/2009/09/02/how-i-use-the-glue-mapping-framework/
Bidirectional automatic mapping for the .Net platform, with strong verification and testing tools.
Features
Bidirectional mapping
Automatic mapping
Mapping between different types
Nested mapping and Flattening
Lists and Arrays
Verification of relations
Testing the mapping
Properties, Fields and Methods
Using the framework will be easier if you know about the basic concepts.
Driving forces
- Bidirectional mapping - when relations are set up, you should not have to define them again to map the other way
- Verification and testing of mapping - to be able to trust, assert and verify your mappings
- Convetion over configuration - Not having to state the obvious
- Explicitness - If you want to be explicit, we'll let you
- Simplicity - mapping should be simple, not an error prone nightmare.
- Good practices - The goal is to promote good coding practices, but not to ignore the fact that there is a lot of legacy code out there that forces us to work a bit differently at times.
Examples
Flattening a large structure
External articles about Glue
This blogpost describes the motivation for creating this framework: http://tore.vestues.no/2009/08/10/glue-the-new-mapping-framework/
An introduction to using Glue with focus on verification and testing: http://tore.vestues.no/2009/09/02/how-i-use-the-glue-mapping-framework/