Online Shopping.doc

29
Online Market Place

Transcript of Online Shopping.doc

Online Market Place

Software Design Document ver1.1

ONLINE SHOPPING

INTRODUCTION

Online shopping is the process consumers go through to purchase products or services over the Internet. An online shop, eshop, e-store, internet shop, webshop, webstore, online store, or virtual store evokes the physical analogy of buying productss or servicess at a bricks-and-mortar retailer or in a shopping mall. Online shopping is a type of electronic commerce used for business-to-business (B2B) and business-to-consumer (B2C) transactions. Since the early 1990s, online shopping has emerged into every corner of life, linking people to the culture of capitalism in frequent and daily ways. It lets us buy what we want, when we want at our convenience , and helps us to imagine ourselves buying, owning, and having positive outcomes by the goods available out there on the web. Charles Stack created the first online book store, Book Stacks Unlimited (aka Books.com) in 1992, two years before Jeff Bezos began Amazon. In recent years, online shopping has become popular; however, it still caters to the middle and upper class. In order to shop online, one must be able to have access to a computer, a bank account and a debit card. Shopping has evolved with the growth of technology. One third of people that shop online use a search engine to find what they are looking for and about one fourth of people find websites by word of mouth. Books are one of the things bought most online, however clothes, shoes and accessories are all very popular things to buy online. Cosmetics, nutrition products and groceries are increasingly being purchased online. About one fourth of travelers are buying their plane tickets online because it is a quick and easy way to compare airline travel and make a purchase. Online shopping provides more freedom and control than shopping in a store.[

Online shoppers commonly use credit card to make payments, however some systems enable users to create accounts and pay by alternative means, such as:

Debit card Various types of electronic money Cash on delivery (C.O.D., offered by very few online stores)

Cheque Wire transfer/delivery on payment Postal money order PayPal Google Checkout Moneybookers Reverse SMS billing to mobile phones Gift cards Direct debit in some countries

Once a payment has been accepted the goods or services can be delivered in the following ways.

Download: This is the method often used for digital media products such as software, music, movies, or images.

Shipping: The product is shipped to the customer's address. Drop shipping: The order is passed to the manufacturer or third-party

distributor, who ships the item directly to the consumer, bypassing the retailer's physical location to save time, money, and space.

In-store pickup: The customer orders online, finds a local store using locator software and picks the product up at the closest store. This is the method often used in the bricks and clicks business model.

In the case of buying an admission ticket one may get a code, or a ticket that can be printed out. At the premises it is made sure that the same right of admission is not used twice.

Why does electronic shopping exist? For customers it is not only because of the high level of convenience, but also because of the broader selection; competitive pricing and greater access to information. For organizations it increases their customer value and the building of sustainable capabilities, next to the increased profits. Online stores are usually available 24 hours a day, and many consumers have Internet access both at work and at home. A visit to a conventional retail store requires travel and must take place during business hours.

Online stores must describe products for sale with text, photos, and multimedia files, whereas in a physical retail store, the actual product and the manufacturer's packaging will be available for direct inspection (which might involve a test drive, fitting, or other experimentation).

Some online stores provide or link to supplemental product information, such as instructions, safety procedures, demonstrations, or manufacturer specifications. Some provide background information, advice, or how-to guides designed to help consumers decide which product to buy.

Some stores even allow customers to comment or rate their items. There are also dedicated review sites that host user reviews for different products.

In a conventional retail store, clerks are generally available to answer questions. Some online stores have real-time chat features, but most rely on e-mail or phone calls to handle customer questions.

Price and selection

One advantage of shopping online is being able to quickly seek out deals for items or services with many different vendors (though some local search engines do exist to help consumers locate products for sale in nearby stores). Search engines and online price comparison services can be used to look up sellers of a particular product or service. Shipping costs (if applicable) reduce the price advantage of online merchandise, though depending on the jurisdiction, a lack of sales tax may compensate for this.

Fraud and security concerns

Given the lack of ability to inspect merchandise before purchase, consumers are at higher risk of fraud on the part of the merchant than in a physical store. Merchants also risk fraudulent purchases using stolen credit cards or fraudulent repudiation of the online purchase. With a warehouse instead of a retail storefront, merchants face less risk from physical theft.

Identity theft is still a concern for consumers when hackers break into a merchant's web site and steal names, addresses and credit card numbers. A number of high-profile break-ins in the 2000s has prompted some U.S. states to require disclosure to consumers when this happens. Computer security has thus become a major concern for merchants and e-commerce service providers, who deploy countermeasures such as firewalls and anti-virus software to protect their networks.

PROJECT CATEGORY:

This project can be categorized as “RDBMS”.

TOOLS/ENVIRONMENT USED:

INTRODUCTION OF .NET FRAMEWORK: -

The .NET infrastructure consists of all the technologies that help in creating and running robust, scalable and distributed application. The core of .NET infrastructure is the .NET Framework, which is a collection of services and classes. It exists as a layer between .NET application and the underlying operating system. In other words, the .NET frameworks encapsulate much of the basic functionality that was earlier built into various programming languages, such as debugging and security services.

The .NET Framework consists of Web Forms, windows Forms, and Console application that pertain to the presentation layer of an application. Web Forms are used in Web based application, whereas window forms are used in window-based application for providing an interactive user interface. In additional, you can create character-based console application that can be executed from the command line. Besides these three components, the .NET Framework Base Classes and the common language Runtime (CLR).

OPERATING SYSTEM: -

Windows XP Professional is easier to manage & configure because it is very user-friendly and is GUI BASED OPERATING SYSTEM.

TOOLS: -

FRONT-END : ASP.net/C#

BACK-END : SQL SERVER 2000

PLATFORM: -

WINDOW XP

HARDWARE ENVIRONMENT: -

PROCESSOR : PIV

RAM : 256 MB

STORAGE CAPACITY : 80GB

DRIVES : CD-RW(FOR

BACK-UP)

SOFTWARE ENVIRONMENT: -

OPERATING SYSTEM : WINDOW XP

Professional

RDBMS : SQL SERVER

2005

A COMPLETE STRUCTURE OF THE PROGRAM

(1) Number of modules:A. PurchaseB. SaleC. Customer RegistrationD. Delivery list

(2) Details of the modules: A. Purchase Module: This module basically gives information about different

items which is being purchased from different suppliers. Through this module we come to know that from which supplier and how much quantity of any particular items is purchasing what is the total amount of those items?

B. Sale: In this module we collect the information about sold items which

are sold to customers. Through this module we know that which item and how much quantity of those items have sold to different customers. This module also maintenance selling price of each items.

C. Customer Registration Module: By this module, we collect the information of the customer

that which customer has purchased the items, how many items and what is the total amount of items. It also gives detail about customer payment mode i.e., by which mode he is paying his payment like cash, cheque or credit card and all the detail of the customer like his address, phone/mobile no. , email id etc.

D. Delivery list: In this module, we collect the information of the customer

whom the products has delivered that they purchased. In this, an invoice number is recorded given to every customer whom the products are delivered.

Data Structure:

In Data Structure the tabular representation of the database is presented.

Table1: Add CartField Name Data Type Size KeyName Varchar2 25 PrimaryProduct Varchar2 25 Not NULLQuantity Number 10 Not NULLPrice Number 10 Not NULL

Table2: RegisterField Name Data Type Size KeyName Varchar2 25 Not NULLFirst Name Varchar2 25 Not NULLLast Name Varchar2 25 Not NULLSex Varchar2 10 Not NULLAddress Varchar2 30 Not NULLE-mail Varchar2 20 Not NULLPhone Number 10 Not NULLMobile Number 20 Not NULLCity Varchar2 10 Not NULLAmount Number 10 Not NULLQuestion Varchar2 25 Not NULLState Varchar2 25 Not NULLPincode Number 20 Not NULLCountry Varchar2 20 Not NULLPassword Password 20 Not NULLRetypePassword Password 20 Not NULL

Table3: ProductsField Name Data Type Size KeySno Varchar2 20 Not NULLidno Varchar2 20 Not NULLProduct Varchar2 25 Not NULLPath Varchar2 25 Not NULLPrice Number 10 Not NULLDetails Varchar2 25Desc Varchar2 30 Not NULL

Table4: Bank DetailsField Name Data Type Size KeyName Varchar2 25 PrimaryCreditcardno Number 20 Not NULLCvv2code Varchar2 20 Not NULLMonth Varchar2 10Year Number 10Address Varchar2 30 Not NULLPincode Number 20 Not NULL

Table5: AdministerField Name Data Type Size KeyAdministerid Varchar2 20 Not NULLPassword Number 20 Not NULL

Table6: Delivery ListField Name Data Type Size KeyInvoiceno Varchar2 20 PrimaryCustomername Varchar2 25 Not NULL

Address Varchar2 30 Not NULLPhone Number 10 Not NULLEmail Varchar2 20 Not NULLState Varchar2 20 Not NULLPincode Number 20 Not NULLCountry Varchar2 10 Not NULLProductdescription Varchar2 20 Not NULLDistributername Varchar2 25 Not NULLStatus Varchar2 25 Not NULLSubject Varchar2 20 Not NULLAmountpaid Number 10 Not NULLDate Varchar2 10 Not NULL

Table7: DistributorField Name Data Type Size KeyDistributorname Varchar2 25 Not NULLPassword Password 10 Not NULLRetypepass Password 10 Not NULLCentername Varchar2 25 Not NULLAddress Varchar2 30 Not NULLPhone Number 10 Not NULLEmail Varchar2 25 Not NULLPincode Number 20 Not NULLState Varchar2 25 Not NULLCountry Varchar2 20 Not NULLDate Varchar2 10 Not NULL

Table8: CustomerField Name Data Type Size KeyInvoiceno Varchar2 25 PrimaryCustomername Varchar2 25 Not NULLAddress Varchar2 30 Not NULLPhone Number 20 Not NULLEmail Varchar2 25 Not NULLState Varchar2 25 Not NULL

Pincode Number 20 Not NULLCountry Varchar2 20 Not NULLProductdesc Varchar2 25 Not NULLDistributorname Varchar2 25 Not NULLStatus Varchar2 25 Not NULLAmountpaid Number 10 Not NULLDate Varchar2 10 Not NULL

RDBMS (Relational Database management System): -

A Relational data model was invented by E.F.Codd and is based on simple concept i.e. Table. A RDBMS is a computer program for managing table. It has three major parts:

Data that is presented as tables.

Operation for manipulating tables.

INTRODUCTION TO SQL SERVER 2000

A Modern relational database management system can perform a wide range of tasks. It has got the following advantages:-

Define a database.

Query the Database.

Add, Edit, and delete data.

Modify the structure of the Database.

Secure data from public access.

Communicate within networks.

Export and import data.

SQL SERVER is one such RDBMS. It provides a set of functional programs that we use as tools to build structure and perform tasks. In Sql Server data is stored and displayed in tables. A table is a data structure that holds data in a relational database. A table comprises of row and columns. Table can also show relationship between entities. The formal name of a table is relation; hence the RELATIONAL DATABASE MANAGEMENT SYSTEM.

ACCESS OF DATA IN SQL SERVER 2000

SQL is a structured query language that we use to communicate with Sql Server. It consists of a set of English words like SELECT, CREATE etc. The standard set of SQL command fail into following category:-

Queries using select clause.

Data Definition Language (DLL) commands which are for

creating and altering the structure of database.

VALIDATIONS: -

Validations are the necessary checks performed to make the program more reliable, efficient, and strong. When the user passes the values then the values would be checked to fall within the range. If values are incorrect or any data type error then an appropriate message would flash. A validation builds a relationship between program and data types. Science validation does not accept the wrong entries so the program becomes more effective.

In this project the validation are performed through the following fields:

PRIMARY KEY

FOREIGN KEY

LIMIT VALUE

Validation Criteria: -

Validations are the necessary checks performed to make the program more reliable, efficient, and strong. When the user passes the values then the values would be checked to fall within the range. If values are incorrect or any data type error then an appropriate message box would displayed. Validations build a relationship between program and data types. Since validation does not accept the wrong entries so the program becomes more effective.

In this project the following are several validations, which are performed:

Primary key

Foreign key

Limit value

Validations also check for data being entered in a particular format or checked value like-

Dates are to follow the ‘DD-MM-YYYY’ format.

Text box allows user to enter character only.

Name text box allows user to enter alphabets only.

The customer credit limit and the customer credit

period should not be null at the time of insertion of

records.

While updating the customer code should not be blank.

The check facility should be either ‘y’ or ‘n’. Use check

constraint.

While updating the customer code should not be

allowed to change.

The item category should not be null.

FUTURE APPLICATION

The main Future scopes are as follows:-

Since we are in the process of developing the software, so the things are not in the best shape. The scope of improvements is very wide.

This software is totally best on computer and all the works are being done by computer.

So in the future we can enhance this project for network based shopping.

Through networked based shopping we can communicate with the other franchisee of this online store.

It might be that this networked based software run in either LAN or MAN.

Analysis(DFD, ER-Diagram):-

Data Flow Diagram:_

Level 0 DFD

DATABASE

Level 1 DFD

COOL SHOPPING.COM

Products Display

Products Display

Products DisplayProducts Display

Products DisplayProducts DisplayProducts Display

Products Display

ONLINE SHOPPING CUSTOMER Administrator

User ID/PasswordUserID/Password

1. Login CUSTOMER

Administrator&Distributer

Login Account Info

Level 2 DFD

Request

Failure

Response

Failure

Login Success

2. Customer Account

Mgt

Request

3. Company and Emp

Acoount Mgt

Response

Login Success

Company Info

Request

Failure

User ID/Password

Retry Message

Failure

Login Success

UserID/Password 1.1 Login Verification CUSTOMER

Administrator&Distributers

2.1 Show User Options

Page

1.2 Show Retry Login

Page

1.2. Show Retry

Login Page

Request

3.1 Show Admin, Dist.Options Page

3.2 Create

Account3.3

Update/Delete

Account

3.4 Manage Pending Orders

Retry Message

Login Info

Level 2 DFD (Distributer Role)

2.2 Account

2.2 Edit Accoun

tdetails

2.3 View

Products

2.4 Place Order

2.5 View Previous Bills,

Order and Transaction

2.6 View OrderStatus

Company Products Info. Company Bills & Order Details

3.1 Show Distributers

Options Page

3.3 View Orders

3.1 Edit Accoun

tdetails

3.2 View Products &

maintain Inventory

3.4 ManagePending Orders

DISTRIBUTER

Entity Relationship Diagram:

Company Bills & Order Details

Company Products Info.

Administer

CartsDelivery Reports

Products Customer

Register

Distributor

Bank Details

has

use

has

contain

sold

takes

has

Being registered

has

Last name

Address

E-mail

Question

Name

First name

Phone

Mobile no

State

CityAmount

Pin code

Name

Quantity

Product

Credit card no.

Subject Cvv2 Code

Month

Year

Name

Address

Amount Paid

State

Pin code

Distributor nameState

Customer name

Address

E-mail

Phone no.

Product desc

Invoice no.

Name

Password

Phone

Pin codeE-mail

Date

Center name

Address

Country

State

S. Number

PathID Number

Product

Descecription

DetailsPrice

State

Pin code

Distributor name

Status

Country

Invoice no.

E mail

Address

Phone

Date

Amount Paid

Name

PasswordAdmin ID

Product desc

DatePin code

Price

Sex

Country

Password

BIBLIOGRAPHY

1. (Ano 95) Anon “SQL * PLUS Guide and Users

Reference ”, ORACLE

Crop, 1995.

2. Stephen Wynkoop, “ SQL Server 7.0 “

3. (James 94) James A. Senn, “ Analysis and Design of

Information System “, TMH, 1994.

4. (Pankaj 98) Pankaj Jalote, “ Software Engineering “,

BPB Pub, 1998.

5. (Bipin 01) Bipin C. Desai, “ An Introduction to

Database Systems “, Galgotia

Pub.2001.

6. Matt Telles and Kogent Solutions Inc.,”BLACK

BOOK”,dreamtech press 2008