Database Design and Implementation: A Three-Tier Architecture Approach, Slides of Applications of Computer Sciences

An in-depth look into the design and implementation of a database system using a three-tier architecture. Topics covered include physical database design, deployment model, use case implementation, and layered architecture. The document also includes references to external resources.

Typology: Slides

2011/2012

Uploaded on 07/16/2012

samderiya
samderiya 🇮🇳

4.3

(4)

62 documents

1 / 69

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Outline
Introduction
Previous Work
Three main parts - Physical Database Design, Deployment Model and
the Graphical User Interfaces.
Implementation
Layered Architecture
Three Tier Architecture
Use Cases Implementation
Each Use Case is implemented individually
Test Cases
Conclusion
References
docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45

Partial preview of the text

Download Database Design and Implementation: A Three-Tier Architecture Approach and more Slides Applications of Computer Sciences in PDF only on Docsity!

Outline

 Introduction

 Previous Work

 Three main parts - Physical Database Design, Deployment Model and

the Graphical User Interfaces.

 Implementation

 Layered Architecture

 Three Tier Architecture

 Use Cases Implementation

 Each Use Case is implemented individually

 Test Cases

 Conclusion

 References

Previous work

Presentation Focus

Introduction

Presentation Focus

 The primary Focus is on the implementation of the

Use cases. Each Use case is implemented

Separately.

 The layered Architecture is shown to explicitly

define how and which code snippets were used in

the implementation

 Test cases are also shown at the end of the

Presentation to elaborate on the quality which has

been incorporated into the project.

Layered Architecture

Use Case Implementation

Implementation

Presentation Tier

WebForm (UI)

WebForm (CodeBehind)

Business Tier

Objects

DAL

Data Tier

Stored Procedures

Data Tables

Select Goods

Order Fulfillment

Register as a new Customer

Sign In to Customer Account

Use Credit Card

Use Invoice

Use Direct Billing

Source Goods

Checking Order Status

Use Cases Implementation

HomePage

Code Behind

Product Catalog UI

Custom Entity Class

DAL

ProductDAL

countrows = dsPCLAN.Tables("Product").Rows.Count

For Each row As DataRow IndsPCLAN.Tables("Product").Rows Dim prod As New Product

prod.Product_ID = row("PRODUCT_ID") prod.Product_Line_ID=row("PRODUCT_LI NE_ID") prod.Catalog_Item_Name = row("CATALOG_ITEM_NAME").ToString() prod.Product_Actual_Cost = row("PRODUCT_ACTUAL_COST")

prod.Product_Selling_Cost = row("PRODUCT_SELLING_COST") prod.Product_Count = row("PRODUCT_COUNT") prod.Cost_Currency_CD = row("COST_CURRENCY_CD") prod.Product_Status = row("PRODUCT_STATUS").ToString() prod.Manufacturing_Company_Id = row("MANUFACTURING_COMPANY_ID"). ToString() productList.Add(prod)

Next Return productList

Adding to Product.vb from

the database

Order.aspx

myDataColumn = New DataColumn() myDataColumn.DataType = GetType(Decimal) myDataColumn.ColumnName = "Total_Price"

myDataTable.Columns.Add(myDataColum n)

Dim count, index As Integer Dim manComp As New ManufacturingCompany Dim manCompDal As New ManufacturingCompanyDAL prodArray = CType(Current.Session("ProductArray"), ArrayList) count = prodArray.Count

For index = 0 To (count - 1) product = prodArray(index)

manComp = manCompDal.GetManufacturingCompany (product.Manufacturing_Company_Id Dim totalPrice As Decimal totalPrice = totalPrice + (product.Product_Selling_Cost) Dim rowNew As DataRow rowNew = myDataTable.NewRow() rowNew("Product_ID") = product.Product_ID rowNew("Product_Name")= product.Catalog_ Item_Name

Adding rows from product.vb

Creating Grid columns

Custom Entity

Class

DAL

Order Table

Order Page UI

Order Fulfillment

 Presentation Tier

 Sign In.aspx

 Sign In.aspx.vb

 CustomerAccount.aspx

 CustomerAccount.aspx.vb

 Business Tier

 Customer.BE

 CustomerDAL

 CustomerAccount.BE

 CustomerAccountDAL

 Data Tier

 CustomerTable

 CustomerAccountTable