Professional Documents
Culture Documents
Online Shopping Documentation
Online Shopping Documentation
Online Shopping Documentation
SPECIFICATIONS
Natasha On-line Shopping Store
College of Engineering
and
Information Technology
To:
Ms. Mary Jane Suarez
By :
Garciano,Joie Marjon
Laforteza, Fame Joseph
Ybaes, Honey Jean
October 2011
DATABASE SPECIFICATIONS
TABLE OF CONTENTS
Page #
1.0 GENERAL INFORMATION...............................................................................................................1
1.1 Purpose.............................................................................................................................................1
1.2 Scope.................................................................................................................................................1
1.3 System Overview.............................................................................................................................1
1.4 Project References...........................................................................................................................1
1.5 Acronyms and Abbreviations.........................................................................................................2
2.0 DATABASE IDENTIFICATION AND DESCRIPTION....................................................................1
2.1 Naming Conventions.......................................................................................................................1
2.2 Database Identification...................................................................................................................1
2.3 Systems Using the Database............................................................................................................1
2.5 Schema Information........................................................................................................................1
2.5.1 Description...................................................................................................................................................1
2.5.2 Physical Design............................................................................................................................................1
................................................................................................................................................................2
2.6 Data Dictionary................................................................................................................................2
admin......................................................................................................................................................2
customer.................................................................................................................................................2
orders.....................................................................................................................................................3
products..................................................................................................................................................3
2.7 Special Instructions.........................................................................................................................3
Database Specifications
Page ii
1.0
Database Specifications
GENERAL INFORMATION
1.0
GENERAL INFORMATION
1.1
Purpose
The purpose of the project is to create a web-based online shopping store and create a
relational database using Mysql and PHP technologies.
1.2
Scope
The Online shopping site enables users or customer to search, view, add products to the
shopping cart. Once the customer is sure to purchase the product/s he/she can proceed to
checkout.
1.3
System Overview
Provide a brief system overview description as a point of reference for the remainder of the document. In
addition, include the following:
Responsible organization
System category
Major application: performs clearly defined functions for which there is a readily
identifiable security consideration and need
General support system: provides general ADP or network support for a variety
of users and applications
Operational status
1.4
Operational
Under development
Undergoing a major modification
Project References
Provide a list of the references that were used in preparation of this document.
Database Specifications
Page 1
1.5
Database Specifications
Page 2
2.0
Database Specifications
2.0
2.1
Naming Conventions
The naming conventions we use in the creation of the database are plain English.
2.2
Database Identification
Identify the names or labels by which the database may be uniquely identified. Specify the code name,
tag, or label by which each database table or file may be uniquely identified.
2.3
2.5
Schema Information
Describe the overall structure in the schema or other global definition of the database.
2.5.1 Description
Describe the schema and each sub-schema of the system including name, file type and name, data
description language, access control keys, concurrence locking, data name mapping, overall partition/file
limitations and controls, redefinition and access path restrictions and any other limitations or restrictions.
Database Specifications
Page 1
2.6
Data Dictionary
admin
Field
Type
id
int(11)
username
varchar(24)
password
varchar(24)
last_log_date date
Null
No
No
No
No
Default
Comments
MIME
customer
Field
id
firstname
lastname
Type
int(11)
text
text
Database Specifications
Null
No
No
No
Default
Comments
MIME
Page 2
username
password
email
contact_number
signup_date
last_log_date
varchar(255)
varchar(255)
varchar(255)
varchar(11)
datetime
datetime
No
No
No
No
No
No
orders
Field
Type
Null
id
int(11)
No
customerID
int(11)
No
customerName text
No
productID
int(11)
No
product_name varchar(255) No
quantity
int(11)
No
price
varchar(255) No
order_date
datetime
No
total
decimal(10,0) No
Default
Links to
customer -> id
Comments
MIME
products
Field
Type
id
int(11)
product_name varchar(255)
price
varchar(16)
details
text
category
varchar(16)
subcategory varchar(16)
date_added
datetime
2.7
Null
No
No
No
No
No
No
No
Default
Links to
orders -> id
Comments
MIME
Special Instructions
Identify instructions to be followed by personnel who will contribute to the generation of the database and
who will use it for testing and operational purposes. Such instructions may include:
Identify any specialized criteria for entering data into the database.
Identify source documents for the rules and procedures to be followed when submitting
data for entry into the database.
Identify source documents for the machine run instructions for generating, modifying,
updating, or otherwise using the database. In very large systems, in which the details of
such instructions are extensive, reference sections of other documents in which this
specific information may be found.
Database Specifications
Page 3
Database Specifications
Page 4