Book description
This book was written to provide insight into the development techniques needed (and the options available) to work within the DotNetNuke framework. Emphasis is placed on the available methods to extend the framework, as well as the situations and rules governing when each respective extension model should be used. Along with this emphasis on selecting the right extension method, the book stresses the importance of leveraging the framework in as many areas as possible, and ultimately using the framework to the advantage of the developer, rather than merely working with it.
One current weakness of the DotNetNuke framework is developer documentation. The framework provides developers with numerous amazing methods to extend the framework and build truly robust applications, but as of this writing, minimal API documentation exists, and overall development topics are scattered all over the Internet. Many community members have helped to supplement this lack of developer content by writing blog articles and technical tutorials to help teach the individual concepts, but because there is no central repository, it can be tedious and difficult to find just what you need.
This book helps truly identify and document some excellent new features that are supported starting with DotNetNuke 5.0. The inclusion of jQuery exposes developers to a great JavaScript library that will enable interactive and animated interfaces to be created easily. The new Module Packaging system (discussed in detail in Appendix D) provides module developers and skin designers with many much-needed options when it comes to deploying applications. This book was written to expose this information, and to function as a key resource for the development community.
This book assumes that the reader has a working knowledge of standard ASP.NET development techniques and terminologies. Samples in the book are provided in both C# and Visual Basic (VB) to enable readers with diverse backgrounds to fully understand the concepts presented. Users do not need to have a comprehensive understanding of DotNetNuke prior to using this book because the early chapters discuss the configuration of both DotNetNuke and the development environment, and careful consideration has been taken to ensure that DotNetNuke-specific terminology is explained as the book progresses.
Readers already familiar with DotNetNuke 4.x development will find this book valuable because it introduces many of the new features of the latest software version, although some of the beginning chapters for these readers will be redundant because the overall concepts of environment configuration and basic interface elements have not changed from 4.x to 5.x. Differences between versions 4.x and 5.x are pointed out as appropriate.
As the title implies, this book primarily covers development techniques within the DotNetNuke 5.x platform. The chapters point out similarities and differences between the 4.x and 5.x platforms, enabling readers to apply some newer concepts to the older technology. Although this book primarily focuses on the concept of module development, it discusses other extension models as well, such as skin objects and authentication providers. Also covered in this book are recommended practices for successful integration with the framework.
This book begins with an introduction to development within DotNetNuke. The discussions walk you through DotNetNuke setup, terminology, development environment setup, and options for .NET project setup.
The book then presents a scenario-based model to introduce basic concepts of module development. This is accomplished by building a simple guestbook module that demonstrates how individual portions interact with one another. The discussion lays the foundation for the most basic elements of development within DotNetNuke. Later in the book, you learn about the more advanced module programming concepts, such as optional interfaces and DotNetNuke user controls. This discussion additionally introduces other extension methods, such as authentication providers and skin objects, as well as best practices.
In short, the main content of the book creates a working model that guides you through the most common development scenarios; at the same time, it provides the detail needed to tightly integrate custom code with the framework.
The appendixes provide supplemental information to what is contained in the chapters. This is material that, while not critical to an understanding of the individual chapters, is nonetheless important. The appendixes include items such as community resources and general DotNetNuke configuration items, as well as a detailed look at the new module manifest and a few key integration API points that are not well documented overall.
Table of contents
- Copyright
- About the Author
- Credits
- Acknowledgments
- Foreword
- Introduction
- 1. Introduction to DotNetNuke and Resources
-
2. Creating the Development Environment
- 2.1. Development Models
- 2.2. Selecting a Visual Studio Edition
- 2.3. Installing DotNetNuke
- 2.4. Installing Development Templates
- 2.5. Summary
- 3. Under the DotNetNuke Hood
- 4. Guestbook Module Requirements
- 5. Starting the Module Creation Process
- 6. Investigating DotNetNuke Components
-
7. Creating the Module Back End
- 7.1. Data Methods Needed
- 7.2. Creating the DataProvider(.cs/.vb) File
- 7.3. Creating the SqlDataProvider (.cs/.vb) File
- 7.4. Creating the Information Object Class
- 7.5. Creating the Controller Class
- 7.6. Creating the 01.00.00.SqlDataProvider Script
- 7.7. Creating the Uninstall.SqlDataProvider File
- 7.8. Summary
- 8. Creating the Localized Module Interface
- 9. Packaging, Installing, and Debugging the Module
- 10. Implementing Optional DotNetNuke Interfaces
- 11. DotNetNuke Scheduled Tasks
- 12. DotNetNuke User Controls
- 13. Module Navigation and Communication
- 14. Third-Party Components and Controls
- 15. DotNetNuke, Modules, and Ajax Functionality
- 16. Creating Skin Objects
-
17. Creating Authentication Providers
- 17.1. What Is an Authentication Provider?
- 17.2. Example of Authentication Provider Use
- 17.3. Items to Consider When Creating a Provider
- 17.4. Investigating Provider Code
- 17.5. Installation Differences (Versions 4.6.x Versus 5.x)
- 17.6. Administration Differences (Versions 4.6.x Versus 5.x)
- 17.7. Summary
- 18. DotNetNuke Development Best Practices
- A. Community Resources
- B. Additional web.config Options
- C. Distributing Modules
-
D. Additional .DNN Manifest Options
- D.1. Manifest Opening
- D.2. package Node
-
D.3. component Node
- D.3.1. assembly Component Type
- D.3.2. file Component Type
- D.3.3. Cleanup Component Type
- D.3.4. script Component Type
- D.3.5. authenticationSystem Component Type
- D.3.6. module Component Type
- D.3.7. SkinObject Component Type
- D.3.8. container Component Type
- D.3.9. Provider and Library Components
- D.3.10. skin Component Type
- D.3.11. config Component Type
- D.3.12. dashboardInstaller Component Type
- D.4. Summary
- E. Working with DotNetNuke Entities
Product information
- Title: Professional DotNetNuke® Module Programming
- Author(s):
- Release date: February 2009
- Publisher(s): Wrox
- ISBN: 9780470171165
You might also like
book
Professional DNN7: Open Source .NET CMS Platform
A variety of positive change has recently taken place in the DNN ecosystem, code base, and …
book
DotNetNuke® Websites: Problem — Design — Solution
The objective of this book is to enlighten you in the ways of DotNetNuke by showing …
book
Professional DotNetNuke®5: Open Source Web Application Framework for ASP.NET
DotNetNuke creator Shaun Walker leads this superlative author team of MVPs while delivering the latest update …
book
Oracle 11g R1/R2 Real Application Clusters Essentials
In this book you’ll find a practical tutorial on configuring, installing, and designing Oracle 11g Real …