What Are Modules?

 

开发者能利用开发模块来扩展DNN的功能。DNN
Modules provide developers with the ability to extend the functionality of DotNetNuke. DotNetNuke provides a pluggable framework that can be expanded by the development of modules. A module container is provided by DotNetNuke to host a custom module. Modules can be developed in any .NET language, even though DNN is developed in VB.NET, a C# developer can still create a module that plugs into the core framework provided by DNN. This pluggable framework is accomplished by creating compiled private assemblies that expose and utilize interfaces specific to DNN. Once you compile the assembly, and then just create a user interface (UI) in the form of ascx files that allow your user to interact with your module.

Modules provide you with maximum code reusability; you can key off the module ID value (provided by the DNN framework) which allows you to display unique data for each implementation of your module.

From the user’s perspective a module is an area of functionality within their DNN installation. For example, in Figure 1, you see an example of the Text/HTML module that comes standard with DNN. This module provides the user with the ability to edit content inline via their Web browser. It provides several functions such as basic text editing and formatting, and publishing of content.

原文地址:https://www.cnblogs.com/fenix/p/278896.html