You are previewing Building Websites with VB.NET and DotNetNuke 4.
O'Reilly logo
Building Websites with VB.NET and DotNetNuke 4

Book Description

"

A practical guide to creating and maintaining your own DotNetNuke website, and developing new modules and skins

  • Specially revised and updated version of this acclaimed DotNetNuke book

  • Create and manage your own website with DotNetNuke

  • Customize and enhance your site with skins and custom modules

  • Extensive coverage of the DAL and DAL+ for custom module development

  • Complete coverage of setup, administration, and development

In Detail

DotNetNuke is an open-source Content Management System and web application framework. DotNetNuke has taken the Microsoft world by storm and now at version 4, its community has grown to over 200,000 users.

This book covers virtually everything you need to know to get your DotNetNuke website up and running. Concisely written and with clear explanations, this book is covers installation, administration, deployment, site creation and all of the basic built in DotNetNuke modules. For developers, chapters on the core architecture, skinning and custom modules, including coverage of the DAL+, give you the skills to customize and extend your site.

The book starts off by giving you a deep understanding of working with basic DotNetNuke sites, guiding you through the features and giving you the confidence to create and manage your site.

After that, you will journey to the heart of DotNetNuke, and learn about its core architecture. Always concise, relevant and practical, you will find out what makes DotNetNuke tick, and from there, you will be ready to customize DotNetNuke. Developers will enjoy the detailed walkthrough of creating a new custom modules. Special emphasis is given to the DAL+, an extended feature set of the DotNetNuke Data Access Layer (DAL). You will see how to create custom modules with the DAL+, and invigorate your module development.

Web designers will enjoy the material on skinning, helping them to create a new look for their site. You will learn about creating new skins, and packaging them up for easy deployment.

You will master all of this as you leap into the development of a DotNetNuke 4 site.

Revised and updated for DotNetNuke 4, this renowned book is your indispensable guide to creating content-rich websites with DotNetNuke, as quickly as possible. This is the only book to provide in-depth coverage of the DAL+, an extended feature set of the DotNetNuke Data Access Layer (DAL) introduced in version 4.3 of DotNetNuke that makes developing custom modules fast and easy.

Visit the Free Online Edition for Building Websites with VB.NET and DotNetNuke 4 and learn more about the book and discover what each chapter from this book has in store. : http://dotnetnuke-4book.packtpub.com

"

Table of Contents

  1. Building Websites with VB.NET and DotNetNuke 4
    1. Building Websites with VB.NET and DotNetNuke 4
    2. Credits
    3. About the Authors
    4. About the Reviewers
    5. Introduction
      1. What This Book Covers
      2. What You Need for Using This Book
      3. Conventions
      4. Reader Feedback
      5. Customer Support
        1. Downloading the Example Code for the Book
        2. Errata
        3. Questions
    6. 1. What is DotNetNuke?
      1. Open-Source Web Portals
        1. What is a Web Portal?
        2. Common Portal Features
        3. Why DotNetNuke?
          1. PHP-Nuke
          2. Metadot
          3. Rainbow
          4. DotNetNuke
        4. Benefits of Using an Established Program
      2. The DotNetNuke Community
        1. Core Team
        2. The DotNetNuke Discussion Forum
        3. The Bug Tracker
        4. DotNetNuke Project Roadmap Team
      3. The License Agreement
      4. Coffee Connections
        1. Determining Client Needs
          1. What is a User Story?
          2. Advantages of Using User Stories
          3. Coffee Connections User Stories
      5. Summary
    7. 2. Installing DotNetNuke
      1. Installing DotNetNuke (Local Version)
        1. Clean Installation
        2. Downloading the Code
        3. Setting Up a Virtual Directory
          1. Using Windows Explorer (the Easy Way)
          2. Using the Virtual Directory Creation Wizard
        4. Verifying Default Documents
        5. Setting Security Permissions
        6. Setting up the Database
      2. Upgrading
        1. Upgrade Checklist
        2. Back Up Your Database
        3. Back up Your DotNetNuke files
      3. Logging In as Admin and Changing Passwords
      4. Summary
    8. 3. Users, Roles, and Pages
      1. User Accounts
        1. What is a User?
        2. Creating User Accounts
          1. Setting Required Registration Fields
          2. Managing a Profile
          3. Registering a User Manually
      2. Understanding DotNetNuke Roles
        1. Assigning Security Roles to Users
      3. Understanding DotNetNuke Pages and tabIDs
        1. Administering Pages
      4. Summary
    9. 4. Standard DotNetNuke Modules
      1. DotNetNuke Modules
        1. Adding a Module
        2. Module Settings
          1. Editing a Module
          2. Importing and Exporting Content
          3. Syndicate Information
          4. Online Help and Documentation
          5. Editing Module Functionality
            1. Basic Settings
            2. Advanced Settings
            3. Page Settings
      2. Standard Modules
        1. Account Login Module
          1. Practical Purposes
          2. Administration and Modification
          3. Special Features
        2. Announcements Module
          1. Practical Purposes
          2. Administration and Modification
          3. Special Features
        3. Banner Module
        4. Contacts Module
          1. Practical Purposes
          2. Administration and Modification
          3. Special Features
        5. Documents Module
          1. Practical Purposes
          2. Administration and Modification
          3. Special Features and Additional Information
        6. Events Module
          1. Practical Purposes
          2. Administration and Modification
          3. Special Features and Additional Information
        7. FAQs Module
          1. Practical Purposes
          2. Administration and Modification
          3. Special Features and Additional Information
        8. Feedback Module
          1. Practical Purposes
          2. Administration and Modification
          3. Special Features and Additional Information
        9. IFrame Module
          1. Practical Purposes
          2. Administration and Modification
          3. Special Features and Additional Information
        10. Links Module
          1. Practical Purposes
          2. Administration and Modification
          3. Special Features and Additional Information
        11. News Feed (RSS) Module
          1. Practical Purposes
          2. Administration and Modification
          3. Special Features
        12. Text/HTML Module
          1. Practical Purposes
          2. Administration and Modification
          3. Special Features and Additional Information
        13. User Accounts Module
          1. Practical Purpose
          2. Administration and Modification
          3. Special Features and Additional Information
        14. User Defined Table Module
          1. Practical Purpose
          2. Administration and Modification
          3. Special Features and Additional Information
        15. XML/XSL Module
          1. Practical Purpose
          2. Administration and Modification
          3. Special Features and Additional Information
      3. Summary
    10. 5. Host and Admin Tools
      1. The Difference between Host and Admin
      2. Admin Tools
        1. Site Settings
          1. Basic Settings
          2. Advanced Settings
          3. Stylesheet Editor
        2. Pages Menu
        3. Security Roles
        4. User Accounts
        5. Vendors
        6. Site Log
        7. Newsletters
        8. File Manager
        9. Recycle Bin
        10. Log Viewer
        11. Skins
        12. Languages
      3. Host Tools
        1. Host Settings
          1. Basic Settings
          2. Advanced Settings
        2. Portals
        3. Module Definitions
        4. File Manager
        5. Vendors
        6. SQL
        7. Schedule
        8. Languages
        9. Search Admin
        10. Lists
        11. Superuser Accounts
        12. Extra Options on the Admin Menu
        13. Common Tasks
      4. Summary
    11. 6. Understanding the DotNetNuke Core Architecture
      1. Architecture Overview
      2. Diving into the Core
        1. Using the Context Object in Your Application
          1. The PortalSettings Class
        2. Working with the Configuration Files
        3. The web.config File
          1. Configuring the Providers Used in DotNetNuke
          2. Handling the Providers
            1. The <dotnetnuke> Group
            2. The <system.web> Group
          3. HTTP Modules
          4. Application Settings
        4. The Global Files
          1. Global.aspx.vb
          2. Application Start
          3. Examining Application_BeginRequest
        5. The Globals.vb File
      3. Putting It All Together
      4. Summary
    12. 7. Custom Module Development
      1. Setting up the Development Environment
      2. The Coffee Shop Listing Module
        1. Creating the View Control
        2. Displaying the Module
        3. What we have Accomplished
          1. The Module Folder Structure
          2. Inheriting from PortalModuleBase
          3. Module Configuration
          4. Diagnosing Errors using the Log Viewer
      3. Navigation and Localization
        1. Create EditShopList.ascx
        2. Navigation
        3. Localization
        4. Update the Configuration
        5. Navigate from ShopList to EditShopList
        6. What we have Accomplished
          1. IActionable
          2. NavigateUrl
          3. Adding Localization
      4. Summary
    13. 8. Connecting to the Database
      1. DotNetNuke Data Access Layer (DAL)
      2. Create the Database Elements
        1. Execute the SQL Script
        2. Create the Class Files
        3. Insert the DAL+ Code
        4. Create the Settings Page
        5. Update the Configuration
        6. View the Settings Page
        7. What we have Accomplished
          1. SQL Scripts
          2. The DAL+
          3. The Business Logic Layer (BLL)
            1. The CoffeeShopListingOptionsInfo class
            2. Custom Business Objects (CBO)
            3. The CoffeeShopListingOptionsController Class
          4. The Settings Page
            1. Inheriting from ModuleSettingsBase
            2. Overriding LoadSettings and UpdateSettings
            3. Built-in DotNetNuke User Controls
      3. Comparing the DAL to the DAL+
      4. A Close-up Look at the DAL
        1. Create the DataProvider.vb
        2. Create the SqlDataProvider.vb
        3. Create the BLL Layer
        4. DAL Summary
      5. Complete the Presentation Layer
        1. Alter and Complete ShopList
        2. Alter and Complete EditShopList
        3. Build and View the Module
      6. Implementing Optional Interfaces
        1. Implementing IPortable
        2. Implementing ISearchable
        3. Making IPortable and ISearchable Work
        4. Testing Your Module
      7. Packaging Your Module for Distribution
        1. Installation Scripts
        2. Create the Installation Scripts
        3. The Install ZIP File
        4. Testing Your Installation
      8. Summary
    14. 9. Skinning Your Site
      1. What Are Skin Packages?
      2. Uploading a Skin Package
      3. Applying the Skin
      4. Creating a Custom Skin
      5. What Tools can we Use?
      6. Creating a Skin Using HTML
        1. Creating the HTML Files
        2. Creating the Container
        3. Creating the XML Support Files
      7. Creating a Skin Using Visual Web Developer
        1. Creating the Web User Controls
        2. Placing the Skin Objects
        3. Placing the Container Objects
      8. Creating the Cascading Style Sheets
      9. Creating the Skin Package
      10. Summary
    15. 10. Deploying Your DNN Portal
      1. Acquiring a Domain Name
      2. Finding a Hosting Provider
      3. Preparing Your Local Site
      4. Setting Up the Database
        1. Backup and Restore Database
        2. Build New Database
      5. FTP Your Files
      6. Summary
    16. 11. Creating Multiple Portals
      1. Multiple Portals
      2. Parent Portals versus Child Portals
        1. Setting up a Parent Portal
          1. Registering Your Domain and Setting the DNS
          2. Creating a Parent Portal
        2. Setting Up a Child Portal
      3. Creating Portal Templates
      4. Using the Site Wizard
      5. Managing Multiple Portals
      6. Summary