dotnetNuke module development steps, dnn 模块开发步骤

Architechture(examplex by GuestBook module[VB Version] ):

1、Data Access Layer

    include sqlDataProvider.vb,DataProvider.vb

2、Business logic Layer

    include GuestBookController.vb

    include GuestBookInfo.vb

3、PresentationLayer

    include ViewGuestBook.ascx  others in DesktopModules/GuestBook

一、To Build the Data Access Layer we will:

  1. Create the Table
  2. Create the sotred procedures
  3. Alter the sqlDataProvider.vb, put the code that call the stored procedures in the SqlDataProvider.vb
  4. Alter the DataProvider.vb , put the methods (that are overiden by the SqlDataProvider.vb ) into DataProvider.vb

二、To build the Business logic

  1. Alter "GuestBookInfo.vb"
  2. Alter "GuestBookController.vb"

三、To build the Presentation layer

  1. Alter the localization(.recx)files
  2. Alter "controls and their code behind files
  • EditGuestBook.ascx
  • Settings.ascx
  • ViewGuestBook.ascx         

版权声明:本文为博主原创文章,未经博主允许不得转载。

你可能感兴趣的:(Module,Build,include,dotnetnuke,localization,layer)