You are on page 1of 48

This is to certify that

Mr. Nguyen Manh Cuong Mr. Nguyen Van Ky Ms. Mai Hao Quang Ms. Nghiem Xuan Sang

Has successfully Designed & Developed Online Book Store

Submitted by: Aptech

Authorized signature:
Nguyen Manh Cuong

Table of contents

Problem Definition
After reading the project specifictions, the developer states the of the project very briefly. This is referred to as the problem definition. Queries related to the system can be one or more of the following:

1. 2. 3. 4. 5.
6.

How will a customer search for books? How will multiple buyers purchase the same product? How to validate a purchase repuest? How can the payment process be made secure? How to implement approval of requests, orders..?

What kind of reports can be generated for the management?

Customer Requirement Specification(CRS)


I. Client: Web Site User. II. Project objective: An application www.shradhabookstores.com created using ASP.Net and MS SQL Server 2005. Its purpose is to assist managers can manage the products that his business-like books, magazines, CDs, DVDs, product details, the more sales and customer details , etc ... Customers can search products according to your needs and order than directly on the website with a user account with the relevant information has been created previously. III. Inputs provide by the Client y Input for the Web-based application y Out put from the Web-based application y Process involvednin the Web-based application y List of order y Data constrants/Trigger/Validation Tables IV. A application needs to be developed based on following requirements:

y Web site should be www.shradhabookstores.com y On the site have links to navigate pages like Contact information, Introduction
(information agents), Products (books, etc.), FAQ s, Order Tracking, Purchase a product, Information feedback and Questions and Admin y For the Products there should be information categorized based on the categories like Books, Magazines, Files, CD s, DVD s, Utilities like Pen, Pencil, Paper, Sketches, etc . and the sub categories based on the Publisher, type of the Products (like for books novel, Magazine, etc ., for CD s readable or rewritable, etc and similarly is the case with the other products) y Also for the products like books, CD s, DVD etc . the details like the manufacturer, price, and the type of the product (like for CD s it will be readable or re writable) should be indicated y For the Books like Novels, Preparation books like learning vocabulary,

Genera Knowledge, etc the brief description is to be included (like What is the book all about and for what it is used, Author Name, Publisher Name, Release Date, Version, etc .) y The products to be assigned with a unique seven digit code, which will be as follows : 1. The Category of the Products (like Book, Magazine, Files, CD s, DVD s, etc utilities etc ) are to be assigned with the Unique 2 digit alpha numeric code (first being Alphabet and the second one being the Numeric digit) 2. The subcategory of the Products are to be assigned with a unique 5 Digit Code (First three Digits being the first three acronyms of the Manufacturer and the remaining two being the Numeric digit) so as to separate the different products being manufactured by a single manufacturer (like if a manufacturer Ab Cd manufactures products X and Y , then the Code for X can be AC001 and for Y it can be AC002 , where AC0 is representing the manufacturer, AC being the first two acronyms of the manufacturer and the digit zero being added as the third one, as the manufacturer is having only two acronyms, and the remaining two will be the numeric order, which can be in the order you maintain the list of the products of that manufacturer). y y The details of the Products should be easily inserted, updated and deleted. The admin alone will be able to insert, update or delete a product. So there should be a login for the Admin. y When one places the order, the order number is to be auto-generated and the code will be a unique 8 digit code, which will depend on the serial order of the receipt of the booking (order placed). y On the Order Tracking Page there should be two links, one is to track the status of the order and the other is to cancel or update the order. y Also one can track the order through the Order Tracking link in the Navigation bar. Also in this page alone one can cancel or update an order based on the conditions applicable. y And One can provide a feedback and also can post their queries through Online through the Link Feedback and Queries in the navigation bar.

In the Feedback and Queries and the Order Form (available when a product is chosen for placing an order i.e., Buy a Product page) page the Email id will be taken for further conversation. When an Order is to be Placed, i.e., in the order form, the following Message is to be displayed Apart from the Product Charges, the Delivery charges will be Nil, if <3 KMs and if >3KMs is as per the Delivery charges based on the type of the delivery chosen As per the orders received, the customer details is to be maintained so as to track the details of the orders placed by that customer and as to know the status of the order. The payment is of three types 1. Payment before delivery (Note : where the customer need to send a Demand Draft of the total bill so as to receive the order) 2. Payment after Delivery (Note : Payment to be done at the time of receipt of the product). It can be done in two ways, either payment through cash or payment through cheque. 3. Online Payment (Note : This payment is through the Credit Card, and the order will be dispatched only after the payment is being processed by the respective bank) The FAQ s Should consist the Following : 1. Will there be any charges for the delivery apart from the products ordered? 2. How many days will it take to deliver the order? (Ans : Depends on the Order, Quantity and Stock and as well on the payment type chosen, as if the payment option chosen is payment before delivery, then the order will only be dispatched after the receipt of the payment.) 3. What if the order delivered is not in proper condition? (Ans : If the order delivered is improper, it will be replace with the other) 4. Can an Order be cancelled? If yes, will there be any charges? (Ans : Yes, but if cancelled with in 24 Hrs. there will be no charges, but if cancelled after 24 Hrs. and if the Order is being dispatched the Delivery charges

for the to and fro is to be bared by the one who has ordered). 5. How can the payment be made? Functional Requirements : 1. The Admin should alone be able to update or insert or delete the details of the products and the order and as well that of the FAQ s. 2. The admin should alone be able to reply to the feedback and Queries that are posted by the customer. 3. Auto generation of the unique 8 digit Order Number and based on the series of the order received. 4. The products to be assigned a unique seven digit code based on the manufacturer and the category of the product and as well based on the serial order of entry of that particular product. 5. The feedback and query page to collect the feedback and queries of the customer. 6. The Order tracking page, where one can track the status of the order and as well cancel or update an order 7. Creation, maintenance and updating database, which contains       Details of the Products. Details of the Manufacturers. Details of the stock available. Details Orders (included order details and the Delivery details). Details of the Payments based on the Order and Products and the Distance of delivery.

8. The billing for the order is to be calculated taking into account the Order quantity, type of the product, and the Distance of the Delivery.

V. Hardware and OS Requirements:

y y y y

Pentium IV CPU 2.80 GHz 512 MB of RAM or higher Hard disk requirement: Minimum 4 GB Windows XP or higher ASP.Net 2.0 Visual Studio 2008 ISS 4.0 or higher Firefox 3.0 or higher SQL Server 2005

VI. Software Requirements: y y y y y

VII. Scope of the work: Following are requirements based on which the Web site needs to be developed: 1. Registration of new users and authentication of existing users. 2. An GUI containing the appropriate drivers, which will provide a user-friendly interface to the user to work with the website. 3. Allows the user is admin can access and manipulate the professional management specifically for authorized Admin like customer information management, orders, products, etc. 4. Enables users to purchase a guest can sign him as a new user, perform logging, find products, order products and payment in another page. 5. Generate an invoice after successful the purchase for the customer.

Architecture & Design of the Project


The application will be made of a Web-based distributed three-tier architecture to support multiple user transactions at the same time. User Interface with HTML Web-Tier and ASPX pages

C# (code-behind) files comtenting Middle-Tier business logic

Database-Tier

SQL Server 2005

Web-based Distributed 3-Tier Architecture of the Project

Data Flow Diagram


The flow of data in the application is shown by the various data flow diagrams. The most basic data flow diagram is the Context diagram. It shown the basic flow of data in to and out of the system.

Products

Product Details

Customer

Infromation Authentication

Order Details OnlineBookStore Order

Information Authentication

Admin

Contect Diagram - Level 0 OnlineBookStore.com

10

3.0 Place orders 4.0 View products

2.0 Login

6.0 Post Feedback & Queries

5.0 1.0 Registry View FAQs

7.0 Search products

Customer

DFD Level 1.1 OnlineBookStore.com

11

Admin 9.0 Manage products 8.0 Login 11.0 Manage customer

12.0 Manage Feedback & Queries

13.0 Manage FAQs

10.0 Manage orders

DFD Level 1.2 OnlineBookStore.com

12

1.0 Registry User details

Report

Valid user details

Customer

Customers table

Email, password Information authentication 2.0 Login

User profile

DFD Level 2.1 OnlineBookStore.com

13

Order table

New order details Order details

Edited information

3.1 Placed

3.2 Cancel Order

Report Valid detail of new order

Order details

Edit data

Customer

DFD Level 2.2 OnlineBookStore.com

14

Sub_Category table and Product_details table

Product informations

4.0 View product

Data corresponding

Product informations

Customer

DFD Level 2.3 OnlineBookStore.com

15

FAQs table

FAQs details

5.0 View FAQs

Data corresponding

FAQs details

Customer

DFD Level 2.4 OnlineBookStore.com

16

Feedback & Query table

Feedback & Query informations

6.0 Post Feedback & Query

Data corresponding details

Report

Customer

DFD Level 2.5 OnlineBookStore.com

17

Products table

Product informations

7.0 Search product

Keyword Corresponding search data

Response Product informations

Customer

DFD Level 2.6 OnlineBookStore.com

18

Admin

Admins table

Username, password Information authentication 8.0 Login

Admin profile

DFD Level 2.7 OnlineBookStore.com

19

Products table

New product details Old product details Edited information

Product details

9.1 Add

9.2 Update Keyword Report Valid Editing data Valid Data of new product Report

9.3 Search

Response product details

Admin

DFD Level 2.8 OnlineBookStore.com

20

Orders table

Order details

10.0 Delete order

Report Valid information Order id Admin

DFD Level 2.9 OnlineBookStore.com

21

Customers table

Customers details

11.0 Search

Response order information

Search information

Admin

DFD Level 2.10 OnlineBookStore.com

22

Feedback & Queries table

Feedback & Queries details

12.0 Delete

Report

Valid data

Admin

DFD Level 2.11 OnlineBookStore.com

23

FAQs table

New FAQ details details

FAQ details Old FAQ information Edited

13.1 Add

13.2 Update

13.3 Delete

Valid data of FAQ Report Report Valid editing data

Report

Valid Corresponding data

Admin

DFD Level 2.12 OnlineBookStore.com

24

FlowCharts

Begin Yes

Insert new customer into database

No

Registry for Customer

User informations

End

Here, information input is verified. If valid then add new into database, else give a suitable report.

Diagram 0.

25

Begin No

Customer profile

Yes

Login for Customer

Email and password

End

Here, information authentication is verified. If corresponded with data in database then response admin profile, else give a suitable report.

Diagram 1.

26

Begin No

Admin profile

Yes

Login for Admin

Username and password

End

Here, information authentication is verified. If corresponded with data in database then response admin profile, else give a suitable report.

Diagram 2.

27

Begin No

Insert into Order

Yes

Add Order

Informations relate to Placed order

End

Here, information input is verified. If valid then add into order, else give a suitable report.

Diagram 3.

28

Begin No

Yes Update data in Database Update Order Editing data

End

Here, information input is verified. If valid then update info of order, else give a suitable report.

Diagram 4.

29

Begin No

Yes Product detail

View product

Product Id

End

Here, information input is verified and authentication. If ok then response product details, else give a suitable report.

Diagram 5.

30

Begin No

Yes Information of products

Search product

Key word

End

Here, information input is compared with data in database. If ok then response coressponding product in result , else give a suitable report.

Diagram 6.

31

Begin No

Insert new Feedback or queries

Yes

Port Feedback & queries

Informations relate to feedback and queries

End

Here, information input is verified. If valid then add new into database, else give a suitable report.

Diagram 7.

32

Begin No

Yes FAQ detail

View FAQs

FAQ Id

End

Here, information input is verified and authentication. If ok then response FAQ details, else give a suitable report.

Diagram 8.

33

Begin No

Insert new product into databse

Yes

Add product

New Product detail

End

Here, information input is verified. If ok then add new product detail into database, else give a suitable report.

Diagram 9.

34

Begin No

Update product detail in database

Yes

Update product

Editting data

End

Here, information input is verified. If ok then update old data by edited data, else give a suitable report.

Diagram 10.

35

Begin No

Delete product in database

Yes

Delete product

Product Id

End

Here, information input is verified and authenticated. If ok then remove product with product_id coresspond, else give a suitable report.

Diagram 11.

36

Begin No

Remove order in database

Yes

Delete order

Order id

End

Here, information input is verified. If ok then remove order, else give a suitable report.

Diagram 12.

37

Begin No

Customers details

Yes

Search Customers

Key word

End

Here, information input is verified and authenticated. If ok then response Customers informations correspond with key word, else give a suitable report.

Diagram 13.

38

Begin

Remove feed&queries in database

Delete Feedback & Queries

Feedback&Queries Id

End

Here, information input is verified and authenticated. If ok then remove Feedback and query with product_id coresspond in database, else give a suitable report.

Diagram 14.

39

Begin

Insert new FAQs into database

Add FAQ

New FAQ details

End

Here, information input is verified. If ok then add new FAQ into database, else give a suitable report.

Diagram 15.

40

Begin

Update FAQ detail in databse

Update

Editting data

End

Here, information input is verified and authenticated. If ok then update FAQ with FAQ id coresspond, else give a suitable report.

Diagram 16.

41

Begin

Delete FAQ in databse

Delete

FAQ id

End

Here, information input is verified and authenticated. If ok then remove FAQ with FAQ id coresspond in database, else give a suitable report.

Diagram 17.

42

Entity Relationship Diagram (ERD)

ERD OnlineBookStore.com

43

Database Design/Structure
Table design Table: Admins Lenght Description PK 200 Store full name of admin Store sex of admin Store birth day 20 Store phone number 200 Store email id 200 Store username 200 Store password 7 Store security code Table: Categories Lenght Description 2 PK 100 Store name of category 4000 Store description of category Table:Types Lenght 3 2 100 1000

Column Admin_id Admin_name Gender Birth Phone Email Username Password Code

DataType int varchar int datetime varchar varchar(200) varchar varchar char

Column Category_id Category_name Description

DataType char varchar varchar

Column Type_id Category_id Type_name Description

DataType char char varchar varchar

Description PK FK to Category table Store name of type Store description of category

Column SubCategory_id Manufacture Address Phone Email

DataType char varchar varchar varchar varchar

Table: SubCategories Lenght Description 5 PK 500 Store name of manufacture 500 Store address of manufacture 20 Store phone number of manufacture 200 Store email id of manufacture

44

Column Product_id SubCategory_id Type_id Title Image Description Quantity Price Author Release_date Version

DataType char char char varchar varchar varchar int float varchar datetime varchar

Table: Products Lenght Description 7 PK 5 FK to SubCategories table 3 FK to Types table 500 Store title of product 500 Store image name of product 4000 Store description Store stock available Store price of product 200 Store author name Strore release date 100 Store version of product Table: Customers Lenght Description PK 200 Store name of customer Store sex of customer Store birth od customer 500 Store address of customer 20 Store contact phone of customer 200 Store email of for perform login 200 Store password for perform login Table: Orders Lenght Description 8 PK FK to Customer table Delivery charge or not? 100 Store payment type of order Store total value of order Store date order created Order approved or sour?

Column Customer_id Customer_name Gender Birth Address Phone Email Password

DataType int varchar int datetime varchar varchar varchar varchar

Column Order_id Customer_id Delivery_charge Payment_type Total Create_date Status

DataType char int int varchar float datetime int

45

Column Id Product_id Quantity_charge Price Order_id

Table: Order_details DataType Lenght Description int PK char 7 FK to Products table int Store product purchase quantity float Store price of product char 8 FK to Order table

Column Id Customer_id Contents Post_date

Table: Feedback_Queries DataType Lenght Description int PK int FK to Customer table varchar 4000 Store content of Feedback Queries datetime Store post date Table: FAQs Lenght 4000 4000

Column FAQ_id Question Answer

DataType int varchar varchar

Description PK Store content of question Store content of answer

46

Task Sheet
Project Ref.No.: Sr.No. Task. System analyse and designation Project Title: Date of Preparation of Activity Plan Activity Plan Prepared By: Actual Start Date Problem 1-14-2010 analys3 customer requirement specification database designation 1-25-2010 Actual Team Days Member Names 10 Toan Status

Online Book Store

Completed

Application development

Online Book Store

18

Toan Huy Van Huyen

Completed

Modules Test

Online Book Store

Members test each others work

2/13/2010

Toan Huy Van Huyen Toan Huy

Completed

Code joining

Online Book Store

Provide application fully

2/25/2010

Completed

47

Checklist of Validations
Option The link works or not? Font-friendly application interface with users who do not? Validated Yes Yes

Submission checklist
Sr.No. Particulars 1. When customers want to send feed-back queries, track orders login page is opened? 2. Notifications made necessary or not? Yes No Yes Yes NA Comments

48

You might also like