Online Book Store: A Master's Thesis on Software Engineering, Thesis of Information Technology

this thesis is intended for those who are interesting

Typology: Thesis

2018/2019

Uploaded on 04/27/2019

joseef13
joseef13 🇮🇳

1 document

1 / 109

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Online Book Store
by
Vamsi Krishna Mummaneni
A Report Submitted in partial fulfillment of the requirements of the degree of
Master of Software Engineering
Kansas State University
Manhattan
Kansas
Committee Members
Dr.Torben Amtoft (Major Professor).
Dr. Dan Andresen.
Dr. Mitchell L. Neilsen.
1
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
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Online Book Store: A Master's Thesis on Software Engineering and more Thesis Information Technology in PDF only on Docsity!

Online Book Store

by

Vamsi Krishna Mummaneni

A Report Submitted in partial fulfillment of the requirements of the degree of

Master of Software Engineering

Kansas State University

Manhattan

Kansas

Committee Members

Dr.Torben Amtoft (Major Professor).

Dr. Dan Andresen.

Dr. Mitchell L. Neilsen.

Acknowledgements

I would like to thank my major professor Dr. Torben Amtoft who persuaded and

continuously guided me during the whole course of my project. I would also like to thank

Dr.Daniel Andresen and Dr. Mitchell L. Neilsen and for their assistance and insightful

comments, and who willingly shared their expertise with me.

I sincerely acknowledge and thank my family members and friends who gave

moral support for me from my childhood.

Abstract

The main objective of the project is to create an online book store that allows users to search and purchase a book online based on title, author and subject. The selected

books are displayed in a tabular format and the user can order their books online through credit card payment. Using this Website the user can purchase a book online

instead of going out to a book store and wasting time.

There are many online book stores like Powell’s, Amazon which were designed using Html. I want to develop a similar website using .NET, SQL Server.

Online Book store is an online web application where the customer can purchase books

online. Through a web browser the customers can search for a book by its title or author, later can add to the shopping cart and finally purchase using credit card transaction. The

user can login using his account details or new customers can set up an account very

quickly. They should give the details of their name, contact number and shipping address. The user can also give feedback to a book by giving ratings on a score of five.

The books are divided into many categories based on subject like Software, Database, English, Architecture etc.

The Online Book Store Website provides customers with online shopping through a web browser. A customer can, create, sign in to his account, place items into a shopping cart and purchase using his credit card details.

The Administrator will have additional functionalities when compared to the common user. He can add, delete and update the book details, book categories, member information and also confirm a placed order.

This application is developed using C#, ASP.NET programming language. The Master page, data sets, data grids, user controls are used to develop the Online Book store.

Table of Contents

Section.1 Vision Document

  1. Introduction 7 1.1 Purpose and Motivation 7 2 .

Project Overview 7

2.1 Background 7 3 .

Requirement Specifications 9

3.1 Main Requirements 9 3.2 Critical Use Case Requirements 9 3.3 Environment 11

Section.2 Project Plan

Task Breakdown 15

1.1. Inception Phase 15 1.2. Elaboration Phase 15 1.3. Production Phase 16 2 .

Cost Estimate 16

2.1. COCOMO 16

Architecture Elaboration Plan 17

3.1. Vision Document 1.0 Revision 17 3.2. Project Plan 1.0 Revision 17 3.3. Formal Requirement Specification 18 3.4. Architectural Design 18 3.5. Test Plan 18 3.6. Formal Technical Inspection 18 3.7. Architecture Prototype 19

Section 3.Architecture Design

  1. Introduction 20 2 .

Architecture 21

Presentation Tier 23

Middle Tier 26

Data Tier 29

References 31

Section.4 Formal Requirement Specification 32

Section.5 Formal Technical Inspector Checklist

Introduction 37

Items to be Inspected 37

2.1. UML Diagrams 37 2.2. Formal Specification 38 3 .

Formal Technical Inspectors 38

Formal Inspection Checklist 39

Formal Technical Inspection Report 39

Section.6 Software Quality Assurance Plan

Purpose 40

Reference Documents 40

Management 40

3.1 Organization and Responsibilities 40 3.2 Tasks 40 4 .

Documentation 41

  1. Standards, Practices, Conventions, and Metrics 42 6 .

Reviews and Audits 43

Test and Problem Reporting 44

Tools, Techniques, and Methodologies 44

Records collection, Maintenance, and Retention 44

  1. Deliverables 44

Section.7.Test Plan

Test plan identifier 45

  1. Introduction 45 3 .

Features to be tested 45

Approach 48

Unit testing 48

5.2 Load testing 49

3

System Testing 49

Performance Testing 49

Section.1 Vision Document

1. Introduction

1.1 Purpose and Motivation

The main objective of the project is to create an online book store that allows users to search and purchase a book based on title, author and subject. The selected books are displayed in a tabular format and the user can order their books online through credit card payment. The Administrator will have additional functionalities when compared to the common user.

The motivation to create this project has many sources

  • Interest to develop a good user friendly website with many online transactions using a database.
  • To increase my knowledge horizon in technologies like .NET, SQL, CSS, HTML.
  • To gain good experience in .NET before joining in a full time job.
  • To gain expertise using Data Grid, Data Set, Data Table, Data Adapter and Data Readers.
    1. Project Overview 2.1 Background

There are many online book stores like Powell’s, Amazon which were designed using Html. I want to develop a similar website using .NET, SQL Server.

Online Book store is an online web application where the customer can purchase books online. Through a web browser the customers can search for a book by its title or author, later can add to the shopping cart and finally purchase using credit card transaction. The user can login using his account details or new customers can set up an account very quickly. They should give the details of their name, contact number and shipping address. The user can also give feedback to a book by giving ratings on a score of five. The books are divided into many categories based on subject Like Software, Database, English, Architecture etc.

3. Requirement Specifications

All the requirements are specified using OCL a software specification language in the second phase of my presentation.

3.1 Main Requirements

The Main Requirements include Microsoft Visual Studio 2005 and ASP.NET to develop the web application, SQL Server 2005 to design the database and Mozilla as a main web browser to run the website.

3.2 Critical Use Case Requirements

User and Administrator are the two actors included in the Online Book Store.Fig.2 shows the use case diagram for this website.

Fig.2 Use Case Diagram

Maintain Account

  1. Register
  • Purpose : If the user doesn’t have an account then he will be asked to register.
  • Actor: User
  • Input: The user will enter details in the registration form according to the required fields. The fields include
  1. Username
  2. Password
  3. confirm password
  4. first name
  5. (^) last name
  6. email
  7. Address
  8. Phone
  9. CC details
  • Output: After registration the user will be directed to the main home page.
  1. Login
  • Purpose : If the user wants to get access to all the functionalities of Online Book Store he should login using his username and password.
  • Actor: User
  • Input: The user will enter his username and password.
  • Output: If it is a successful login the user will be directed to the main home page. Else if the user enters invalid information he will be asked to check the entered information.
  1. Update Profile
  • Purpose : If the user wants to change his personal account information then he can update his selected fields and the entire data will be updated in the data base through an update query.
  • Actor: User
  • Input: The user will update his account information.
  • Output: The system will update the entered information in the database using an update query.
  1. Logout
  • (^) Purpose : If the user wants to end his session and sign out of the website then he can use the logout option.
  • Actor: User
  • Input: The user will click the logout button.
  • Output: The user’s account session comes to an end and he should login again if he wants to enter into the website.

Manage Shopping Cart

  1. Place an order
  • Purpose : If the user wants to purchase a book then he can place an order by selecting the add to shopping cart button and entering the quantity required under the book description.
  • Actor: User
  • Input: The user will enter the quantity required and click the add to shopping cart button.
  • Output: The order will be added to the user’s shopping cart.
  1. Update Shopping Cart
  • Purpose : If the user wants to change the quantity of a book or change a book then he can update his shopping cart.
  • Actor: User
  • Input: The user will click the details button in the shopping cart summary to edit and update his order details..
  • Output: The updated order details are reflected in the shopping cart summary.
  1. (^) View Shopping Cart
  • Purpose : If the user wants to view the items he added to the shopping cart then he can click the shopping cart link at the top of the page.
  • Actor: User
  • Input: The user will click the shopping cart link at the top of every page.
  • Output: The user’s shopping cart summary will be displayed in the form of a tabular format with all the books and their quantity. A total cost of all the items is also displayed at the bottom.

Administrator

  1. Login
  • Purpose : If the Administrator wants to get access to all the functionalities of Online Book Store he should login using his username and password.
  • Actor: Administrator
  • Input: The Administrator will enter his username and password.
  1. (^) Add or Delete CC (Credit Card)
  • Purpose : If the Administrator wants to add or delete a CC type then he can insert or delete a CC type using his administration rights and the CC table will be updated in the database.
  • Actor: Administrator
  • Input: If the Administrator wants to add a CC type the he should click the insert link button in the CC page else he can delete a particular selected CC type..
  • Output: The updated CC list will be displayed in registration page where the user will select it for his future transactions.
  1. Add or Delete Member
  • Purpose : If the Administrator wants to add or delete a book category then he can insert or delete a book category using his administration rights and the category table will be updated in the database.
  • Actor: Administrator
  • Input: If the Administrator wants to add a book category the he should click the insert link button in the category page else he can delete a particular selected book category.
  • Output: The updated categories list will be displayed in the main home page.
  1. Logout
  • Purpose : If the Administrator wants to end his session and sign out of the website then he can use the logout option.
  • Actor: Administrator
  • Input: The Administrator will click the logout button.
  • Output: The Administrator’s account session comes to an end and he should login again if he wants to enter into the website.

3.3 Environment

  • The Online Book store will be developed in Visual Studio 2005 environment.
  • C# will be used as the programming language.