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

2015/01/13 10:28
阅读数 86

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
分享
返回顶部
顶部