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

2015/08/27 13:20
阅读数 33

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         

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

展开阅读全文
打赏
0
0 收藏
分享
加载中
更多评论
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部