images

Beginning Module Development

WHAT'S IN THIS CHAPTER?

  • Choosing your tool set
  • Setting up your development environment
  • Understanding design and embedding of modules
  • Creating a module online in DNN
  • Creating a simple Razor-based module
  • Creating a more complex module
  • Distributing a module

WROX.COM CODE DOWNLOADS FOR THIS CHAPTER

The wrox.com code downloads for this chapter are found at www.wiley.com/go/prodnn7 on the Download Code tab. The code comes as two downloads of the finished sample module you'll be building in this chapter:

  • Guestbook_01.00.00_Install.zip
  • Guestbook_01.00.00_Source.zip

As previously mentioned, the number 1 feature of the DNN Platform is its extensibility, notably the ability to easily install and manage modules. A module comes as a Zip file. You upload this file into the platform, and DNN takes care of the rest whether it's the first time you've uploaded it or whether it's an upgrade. The part of the platform that takes care of this is aptly named the Installer and is discussed in more detail later. The takeaway here is that you can leverage this technology to create your own modules that are highly transportable. And just like Apple's App Store, DNN also has its DNN Store (http://store.dnnsoftware.com, see Figure 13-1), and maybe one day you will sell your module there. But first you need to master module development. And although it's not trivial, there are ...

Get Professional DNN7: Open Source .NET CMS Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.