Ditto is a lightweight view-model mapper for Umbraco. It offers a simple solution to the problem of using strongly-typed models in your MVC views. There are no 3rd party dependencies, other than Umbraco core itself.
Is Ditto a "Yet Another Code-First" approach?
Nope! The goal of Ditto is to provide a simple way to convert your content/media/member nodes (e.g. IPublishedContent
) to your desired view-model object.
There is absolutely zero intention of generating Document-Types from your view-models.
Ditto has been developed against Umbraco v6.2.5 and will support that version and above.
Ditto can be installed from either Our Umbraco or NuGet package repositories, or build manually from the source-code.
For detailed documentation, please visit: http://umbraco-ditto.readthedocs.org/
Anyone and everyone is welcome to contribute. Please take a moment to review the guidelines for contributing.
Have a question?
- Ditto Forum on Our Umbraco
- Raise an issue on GitHub
- Thanks to Darren Ferguson for inspiration in his article "Mapping Umbraco content to POCOs for strongly typed views" on the 24 days in Umbraco advent calender.
- Thanks to Jeavon Leopold for being a rockstar and adding AppVeyor support.
- Thanks to Hendy Racher for testing and contributions.
- Thanks to Jamie Pollock for continued support, feedback and encouragement.
Copyright © 2014 Umbrella Inc, Our Umbraco and other contributors
Licensed under the MIT License