In my OpenForce session I introduced a sample module that builds on top of the DotNetNuke starterkit compiled VB module template. That template is pretty outdated and contains patterns that have been enhanced long since. The module presented here contains the following features:
- IHydratable – custom object hydrating
- IPropertyAccess – tokenreplace support
- IBaseEntity – auditing support
- PropertyEditorControl – generates settings UI, uses strong typed settings class
- Caching – the module controller uses the DNN 5 caching pattern
- Custom module permissions
This sample is a compiled module, compiled against DNN 5.1.4. There are 2 packages: an install and a source package, where the source package can be used in older DNN 5 versions (5.1.x). The next step for this little project is to create a new module template so you can use that to jumpstart your module.
By all means, this is just an interim solution though. There has been talk in the core team (specifically the forge team) about new templates and new template technologies. Visual Studio T4 (Text Template Transformation Toolkit) looks very promising.
Anyhow, below are the downloads.. enjoy!