inicio mail me! sindicaci;ón

Asp.net abecedarian: Petshop4.0 designs a specification

Petshop4.0 designs a specification

One, project name and description: (Implementation measure is: 4-3-6-5-2-1)

1, WEB = expresses a layer

2, layer of logic of BLL = business

3, definition of interface of layer of visit of IDAL = data

4, Model = business is hypostatic

5, the abstract factory of layer of DALFactory = data (found reflection)

6, data of SQLServerDAL = SQLServer visits a layer / data of OracleDAL = Oracle visits a layer

DBUtility database visits package base kind

2, the project cites relation

1, Web cites BLL.

2, BLL cites IDAL, model, use DALFactory founds example.

3, IDAL cites Model.

4, Model is not had cite.

5, DALFactory cites IDAL, through reading the order part that takes the setting in Web.config, to load kind example, return BLL to use.

6, SQLServerDAL cites Model and IDAL, by the program volume of DALFactory to load, implement the method in interface.

3, implement measure

1, found Model, realize business substance.

2, found IDAL, realize interface.

3, found SQLServerDAL, implement the method in interface.

4, add the configuration information in Web.config, for the program volume of SQLServerDAL.

5, found DALFactory, return those who answer program volume to appoint kind example.

6, found BLL, call DALFactory, get program volume is appointed kind example, method of the data manipulation that finish.

7, found WEB, call the data manipulation method in BLL.

Attention:

1, the program volume name in Web.config must agree with the name of output program volume in SQLServerDAL.

2, a DataAccess needs only in DALFactory kind, can finish found all program volume example.

3, after the project is founded, notice the acquiesce that revises each project names space and program volume name.

4, the project in watchful modification solution is depended on.

5, the attention increases each project to cite in the solution.

Bookmark:Digg Del.icio.us Reddit

Leave a Comment