您的位置:首页 > 产品设计 > 产品经理

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

2009-07-20 20:22 661 查看
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:

Create the Table

Create the sotred procedures

Alter the sqlDataProvider.vb, put the code that call the stored procedures in the SqlDataProvider.vb

Alter the DataProvider.vb , put the methods (that are overiden by the SqlDataProvider.vb ) into DataProvider.vb

二、To build the Business logic

Alter "GuestBookInfo.vb"

Alter "GuestBookController.vb"

三、To build the Presentation layer

Alter the localization(.recx)files

Alter "controls and their code behind files

EditGuestBook.ascx

Settings.ascx

ViewGuestBook.ascx
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: