You are on page 1of 65

Textile Catalog Management System

A Project report submitted in partial fulfillment of the requirements


for the award of the Degree of
Bachelor of Science in Computer Science
June-2022
Submitted by
M.Bhagavathi Reg.no:19ucs108
K.Geetha Reg.no:19ucs127
M.Kiruthika Reg.no:19ucs149
S.Malligeshwari Reg.no:19ucs157

Under the Guidance of


Dr. V. Monisha, M.Sc., M.Phil., PhD.,
Assistant Professor,
Department of Computer Science [UG & PG]

DEPARTMENT OF COMPUTER SCIENCE [UG & PG]


VELLALAR COLLEGE FOR WOMEN (Autonomous)
“College with potential for Excellence”
Affiliated to Bharathiar University
(Re-accredited by NAAC with ‘A’ Grade)
Erode -638012.
DECLARATION
DECLARATION
We hereby declare that this project work entitled “TEXTILE CATALOG MANAGEMENT
SYSTEM” done to the Vellalar College for Women(Autonomous), Erode-12 in partial fulfillment
of the requirements for the award of the Degree of Bachelor of Computer Science, is a record of
original work done by us during our period of study in Vellalar College for Women (Autonomous) ,
Erode-12, the guidance of Dr. V. MONISHA., M.Sc., M.phil., Ph.D., Assistant Professor ,
Department of Computer Science[UG& PG], Vellalar College for Women(Autonomous), Erode-12
and this project work has not formed on the award of any Degree / Diploma / Associateship /
Fellowship or similar title to any candidate of any University.

Name of the candidate Register Number Signature of the candidate

M.Bhagavathi 19ucs108
K.Geetha 19ucs127
M.Kiruthika 19ucs149
S.Malligeshwari 19ucs157

Signature of the Guide,


Dr.V. Monisha, M.Sc., M.phil., Ph.D.,
Assistant Professor,
Department of Computer Science [UG&PG] ,
Place: Erode Vellalar College for Women(Autonomous),
Date: Erode-638012.
CERTIFICATE
CERITIFICATE
This is to certify that the project work entitled “TEXTILE CATALOG MANAGEMENT
SYSTEM” submitted to Vellalar College for Women (Autonomous), Erode -12, in a partial
fulfillment of the requirements for the award of the Degree Of Bachelor of Science in Computer
Science is a record of original work done by Miss. M.BHAGAVATHI [Reg.no: 19UCS108],
Miss. K.GEETHA [Reg.no:19UCS127], Miss. M.KIRUTHIKA [Reg.no:19UCS149] and Miss.
S.MALLIGESHWARI [Reg.no:19UCS157] during her period of study in the Department of
Computer Science[UG&PG] under my supervision and guidance and that this project work has no
formed of the basis for the award of any Degree / Diploma / Associateship / Fellowship or similar
title to any candidate of any University.

Forwarded by, Guided by,

Dr.B.ANANTHI,M.C.A.,M.Phil.,Ph,D., Dr.V.MONISHA,M.Sc.,M.Phil.,Ph.D.,
Head of the Department, Assistant Professor,
Department of Computer Science [UG&PG], Department of Computer Science [UG&PG],
Vellalar College for Women (Autonomous), Vellalar College for Women (Autonomous),
Erode -638012. Erode -638012.

College Seal Signature of the Principal


Dr. (Tmt) S.K.JAYANTHI, M.Sc.,
P.G.D.C.A., M.Phil., Ph.D.,
Principal,
Vellalar College for Women(Autonomous),
Erode -638012.

Submitted to the Project Viva-Voice Examination held on .

INTERNAL EXAMINER EXTERNAL EXAMINER


ACKNOWLEDGEMENT
ACKNOWLEDGEMENT

A Great deal of time and effort has gone in preparing this project work. Several special
people have guided us and have contributed significantly to this effort. We wish to recognize
and thank them.

We express our sincere thanks to our respected Secretary and Correspondent


Thiru.S.D.Chandarasekar, B.A., and our principal Dr. (Tmt) S.K.Jayanthi, M.Sc.,
P.G.D.C.A., M.Phil., Ph.D., Vellalar College for Women (Autonomous), Erode-12 for
giving us all encouragement and enthusiasm in successful completion of our project work
within the stipulated time.

Our deep sense of gratitude and thanks to Dr.B.Ananthi, M.C.A., M.Phil., Ph.D.,
Head of the Department, Department of Computer Science [UG&PG], Vellalar college for
Women (Autonomous), Erode-12 , for providing wonderful atmosphere which enabled us to
complete our project work successfully.

We would like to express our sincere thanks to Dr.V.Monisha., M.Sc., M.Phil., Ph.D.,
Assistant Professor, Department of Computer Science [UG& PG], Vellalar College for
Women (Autonomous), Erode-12, for her guidance and valuable suggestions during the
course for our study.

We wish to express our special thanks to our beloved parents and our friends who
helped us to complete this project by every means.
ABSTRACT
ABSTRACT

This project is a “Textile Catalog Management System” is a web based application. It is


designed using PHP as front end and MYSQL as backend database. The main objective of the
system is to reveal about the textile Manufactures through a web application. The project deals with
the computerization of the maintenance of textile shop. It also records the information of customer
who wants to buy products through the web application.

The master component is used to enter the input data about the customer, clothes details etc. It
displays the whole textile shop and it also shows all the brands of cloths sold by the Manufactures.
The Customers can view the web catalog and enquire about the products they want to buy.
CONTENTS
CONTENTS

CHAPTER TITLE PAGE NO.


NO.
1 INTRODUCTION
1.1 OBJECTIVES
2 SYSTEM ANALYSIS
2.1 EXISTING SYSTEM
2.2 DRAWBACKS OF EXISTING SYSTEM
2.3 PROPOSED SYSTEM
2.4 ADVANTAGES OF PROPOSED SYSTEM
2.5 FEASIBILITY STUDY
2.5.1 ECONOMICAL FEASIBILITY
2.5.2.TECHINCAL FEASIBILITY
2.5.3 OPERATIONAL FEASIBILITY
3 SYSTEM SPECIFICATION
3.1 HARDWARE REQUIREMENTS
3.2 SOFTWARE REQUIREMENTS
4 SOFTWARE DESCRIPTION
4.1 FRONT END
4.2 BACK END
5 PROJECT DESCRIPTION
5.1 PROBLEM DEFINITION
5.2 OVERVIEW OF THE PROJECT
5.3 MODULE DESCRIPTION
6 SYSTEM DESIGN
6.1 DATA FLOW DIAGRAM
6.2 DATABASE DESIGN
6.3 INPUT DESIGN
6.4OUTPUT DESIGN
7 SYSTEM TESTING
7.1 UNIT TESTING
7.2 ACCEPTANCE TESTING
7.3 INTEGRATION TESTING
7.4 VALIDATION TESTING
8 SYSTEM IMPLEMENTATION
9 CONCLUSION AND FUTURE ENHANCEMENTS
10 APPENDIX
10.1 SCREEN SHOTS
REFERENCES

LIST OF TABLES

TABLE NO. TABLE NAME PAGE NO.


6.2.1 ADMIN_MASTER
6.2.2 CATEGORY_MASTER
6.2.3 CUSTOMER_REGISTRATION
6.2.4 FEEDBACK_MASTER
6.2.5 ITEM_MASTER
6.2.6 OFFER_MASTER
6.2.7 SHOPPING_CART
6.2.8 SHOPPING_CART_FINAL
LIST OF FIGURES
FIGURE NO. FIGURE NAME PAGE NO.
6.1.1(A) DATA FLOW DIAGRAM (ADMIN)
6.1.1(B) DATA FLOW DIAGRAM
(CUSTOMER)

LIST OF ABBREVIATIONS
PHP : PHP HYPER TEXT PREPROCESSOR
SQL : STRUCTURED QUERY LANGUAGE
HTML : HYPER TEXT MARKUP LANGUAGE
DHTML : DYNAMIC HYPER TEXT MARKUP LANGUAGE
XML : EXTENDED MARKUP LANGUAGE
CSS : CASCADING STYLE SHEET
WWW : WORLD WIDE WEB
W3C : WORLD WIDE WEB CONSORTIUM
INTRODUCTION
1. INTRODUCTION

Computer plays an important role in our daily life. Anything we want we can get only in one
mouse click. Speed, reliability and accuracy of the computer make it a powerful tool for different
purposes. A very important and basic need of today’s modern business world is the quick
availability and processing of information using computer. One can easily get the type of required
information within a fraction of a second. The project that I have taken is also in this category
which is used in our daily life whenever we want to purchase some items we can easily get them at
our home.

1.1. OBJECTIVES

The aim of the project is to provide a better platform for textile manufacture through online
shopping. This application is very useful, the customer can directly view and buy the textile
products from home by login through this system and it reduces lots of workload for customer as
well as web application admin.

The main objectives of this project is

♣ To maintain catalog of textile items, customer list and orders list.

♣ To improve sales volume and customer satisfaction.

♣ To promote business through the online.

♣ To generate reports easily.


SYSTEM ANALYSIS
2. SYSTEM ANALYSIS

EXISTING SYSTEM

In the existing system is already to maintain the billing system in online, but the catalog and
management of customers and orders of the textile shop in offline. It is very hard to maintain all the
catalog and management of customers and orders of the textile shop. So there is reason need for a
proposed system to rectify the drawbacks of the existing system and so it is computerized.

DRABCKS OF EXISTING SYSTEM

The existing system has following disadvantages,

• Highly suspected to data loss since all the process is handled.


• It has difficulty in maintaining the products.
• It is difficult to promoting the business through online.
• The Customer can’t able to find the proper store.

2.3. PROPOSED SYSTEM

The proposed system is maintaining data through web application. It is computerized by


displaying the textile manufactures through web application. This approach helps to be efficient in
management of products. It rectifies the drawbacks of the existing system and so it is computerized,
also the mode of operation is desktop applications.

ADVANTAGES OF PROPOSED SYSTEM

The proposed system has following advantages,

• It is used searching for specific product is easier since it is online and is user friendly.
• Data can be accessed anywhere and backup Management is easier than ever.
• Soft copies can be easily maintained to prevent data loss.
FEASIBILITY STUDY

The feasibility study deals with all the analysis that takes up in developing the project. Each
structure has to be thought of in the developing of the project, as it has to serve the end user in a
user-friendly manner. One must know the type of information to be gathered and the system
analysis consist of collecting, Organizing and evaluating facts about a system and its environment.

The main objective of the system analysis is to study the existing operation and to learn and
accomplish the processing activities. The textile industry management process through web
application needs to be analyzed well. The details are processed through coding themselves. It will
be controlled by the programs alone.

ECONOMIC FEASIBILITY

The cost centers in the system development as well as operation are trivial. The major can be
network, internet and the software required for coding .The software used for the development of
the proposed system is PHP and MySQL. In terms of wallet our product is in well reach of pocket.

TECHNICAL FEASIBILITY

Technical feasibility centers on the current system and to what extent it can support the
proposed system, it includes current computer system specifications such as hardware, software etc.
it also involves financial considerations to accommodate the technical enhancements. If the budget
is serious constraint then the project is judged not feasible.

Though the system is developed in the generalized form, which covers all the procedures and
operations carried out in an internet based solution. The version used in the system is PHP and
MySQL.

MySQL can manage large amount of data and is simple and secure. Using PHP helps us to design
the look of our application.

2.5.3. OPERATIONAL FEASIBILITY

In this we determine what change will be brought in system, new skills required and other
human organization and political aspects. Each user can easily use our site. However it is desirable
that the user has the basic knowledge of the computers. Without making any changes in the rules
and regulations of the existing system and proposed system can easily adopted.
SYSTEM SPECIFICATION
3. SYSTEM SPECIFICATION

HARDWARE SPECIFICATIONS

This section gives the details and specification of the hardware on which the system is
expected to work.

Processor : Pentium Dual Core


RAM : 2 GB RAM
Monitor : 17” Color
Hard disk : 250 GB
Keyboard : Standard102 keys
Mouse : LOGI TECH (3 Buttons)

SOFTWARE SEPCIFICATIONS

This section gives the details of the software that are used for the development.

Operating system : Windows 7


Front –End : PHP
Back-End : MYSQL 5.2.5
Web server : Wamp server 5.0
Software : PHP, MYSQL, JAVASCRIPT.
SOFTWARE DESCRIPTION
4. SOFTWARE DESCRIPTION
FRONT END

Front End tool is used for give a Graphical user interface to system. By this we can make a
system user friendly and more capable. I have chosen PHP as front end tool. Because it is an Open
Source Technology, freely available and more familiar with any type of database.

HYPERTEXT PRE-PREOCESSOR (PHP)

PHP is a simple, object-oriented, interpreted, robust, secure, very high-performance,


architecture neutral, portable, dynamic scripting language.

1. The Web page is based on data submitted by the user. For example the results pages from
search engines are generated this way and programs that process orders for e-commerce sites to
this as well.
2. The data changes frequently. For example, a weather-report or news headlines page might
build the page dynamically, perhaps returning a previously built page if it is still up to date.
3. The Web page uses information from corporate databases or other such sources. For
example, you would use this for making a Web page at an on-line store that lists current prices
and number of items in stock.

ADVANTAGES OF PHP

PHP is an established server-side scripting language for creating dynamic Web pages. As a
language that has been designed expressly for the Web, it brings many features that commercial
entities are looking for:

• Exceptionally short learning curve


• Quick development time
• Very high performance

PHP initially started on UNIX platform, but it is very portable and runs on MS Windows and
MS IIS web server. Today PHP has a large user base on MS Windows 2000/NT/95/98; you will
find a huge collection of tools for PHP under MS Windows platform.
Many PHP programmers develop code on MS Windows and deploy on large Linux servers
like IBM mainframe running Linux, Compaq DEC Alpha and Sun spark.

A great advantage is that since PHP also runs on UNIX/Linux, developers on UNIX platform
"cash on" the user base of PHP under MS windows as the PHP code developed under MS Windows
can be used on UNIX/Linux without any code change!!

PHP itself is written in 100% "C" language, and hence it runs on a very wide variety of
platforms like BeOS, UNIX, MS Windows, Apple Macintosh, and IBM OS/2 and on many more
operating systems.

PHP is very fast and is much faster than Java. For web development, forget Java/JSP. PHP
will be everywhere as a solution!! PHP is also becoming a general purpose object oriented scripting
language.

USES OF PHP

PHP is the most superior technology. Other technologies PERL, Python, Tcl, VB script, ASP
are older and inferior technologies. Even Java/JSP is inferior to PHP.

• Open source
• Easily learned syntax
• Broad database connectivity
• Massive library of contributed extensions
• General purpose scripting language much superior to PERL, VB script, ASP, JSP.

WAMP SERVER

WAMPs are packages of independently-created programs installed on computers that use a


Microsoft Windows operating system.

WAMP is an acronym formed from the initials of the operating system Microsoft Windows
and the principal components of the package: Apache, MySQL and one of PHP, Perl or Python.
Apache is a web server. MySQL is an open-source database. PHP is a scripting language that can
manipulate information held in a database and generate web pages dynamically each time content is
requested by a browser.
Other programs may also be included in a package, such as phpMyAdmin which provides a
graphical user interface for the MySQL database manager, or the alternative scripting languages
Python or Perl. On the other hand we have LAMP which is same as WAMP but for Linux operating
system. WampServer installs automatically (installer), and its usage is very intuitive. You will be
able to tune your server without even touching the setting files.

JAVASCRIPT

JavaScript is a lightweight interpreted programming language with object-oriented


capabilities. The general-purpose core of the language has been embedded in Netscape Navigator,
Internet Explorer, and other Web browsers and embellished for web programming with the addition
of objects that represent the web browser window and its content.

JavaScript is not Java; it is an incomplete syntactic resemblance. Both Java and JavaScript
provide executable content in web browsers, the two languages are entirely unrelated. JavaScript
can control browser behavior and content, but cannot draw graphics or perform behavior and
content, or perform networking.

TYPES OF JAVASCRIPT

1) Client-side JavaScript
2) Server-side JavaScript

Client-Side JavaScript

When a JavaScript interpreter is embedded in a web browser, the result is client-side


JavaScript. This is by far the most common variant of JavaScript; when most people refer to
JavaScript, they usually mean client-side JavaScript.

Client-side JavaScript combines the scripting ability of a JavaScript interpreter with the
document Object model defined by a web browser. Client-side JavaScript enables executable
content to be distributed over the web and it is at the heart of a new generation of "dynamic HTML"
documents.
Features of client-side JavaScript

The following features are available in the JavaScript.


1) Control document appearance and content
2) Control the browser
3) Interact with HTML forms
4) Interact with user
5) Read and write client state with cookies
6) Change the image displayed by an <image> tag
7) Interact with Java applet and other embedded objects that appear in the browser
8) Date object simplifies the process of computing and working with dates and times
9) Screen object provides information about size and color depth of the monitor on which the web
browser is being displayed.
10) The scroll () method of the window object allow JavaScript program's to scroll window in the X
and Y dimensions.

Incapability of JavaScript

Client side JavaScript has an impressive list of capabilities however that they are confined
to browser related and html related tasks.
1) JavaScript does not have any graphics capabilities, expect for the powerful ability to generate
HTML dynamically (including images, tables, frames, forms, fonts, etc.) for the Browser to
display.
2) JavaScript does not support networking, expect that it can use case the browser to download
arbitrary URLs and it can send the contents of HTML forms to CGI scripts, email addresses and
Usenet newsgroups.

Server-side JavaScript

Server side JavaScript provides an alternative to CGI scripts. It goes beyond the CGI model
because server-side JavaScript code is embedded directly within HTML pages, which allows
executable server-side scripts to be directly intermixed with web content. Whenever a document
containing server-side JavaScript code is requested by the client, the server executes the script or
scripts contained in the document and send the resulting document to the requester. Because the
execution speed is a very important issue on production web servers, HTML files that contain
server-side JavaScript are precompiled to a binary form that can be more efficiently interpreted and
sent to the requesting client. Besides the File and Database Object, Server-side JavaScript also
provides other powerful objects, including request and client objects.

Embedded JavaScript

JavaScript is a general programming language; it is use is not restricted to web browser and
web servers. Both Netscape and Microsoft have made their JavaScript interpreter available to
companies and to programmers that want to embed them in their applications. When a web browser
is augmented with a JavaScript interpreter, it allows executable content to be distributed over the
Internet on the form of JavaScript scripts.

Embedding JavaScript in HTML

There are six ways in which JavaScript code can be embedded into HTML document:
1) Between a pair of <SCRIPT> and </SCRIPT> tags.
2) From an external file specified by the SRC or ARCHIVE attributes of a <SCRIPT> tag.
3) In an event handler, specified as the value of an HTML attributes such as onclick or
onMouseOver.
4) As a body of a URL that uses the special JavaScript : Protocol
5) In a style sheet, between <STYLE TYPE="text/JavaScript"> and </STYLE> tags.
6) In a JavaScript entity, as the value of an HTML attribute.
4.2. BACK END

Back end part of a system is more important because it controls all the internal process of a
system. I have chosen oracle database as back end. Because it is word’s Most Capable relational
database and provide more security than others.

MySQL

MySQL is a relational database management system (RDBMS) that runs as a server


providing multi-user access to a number of databases. It is named after developer Michael
Widenius' daughter, my. The SQL phrase stands for Structured Query Language. The MySQL
development project has made its source code available under the terms of the GNU General Public
License, as well as under a variety of proprietary agreements. MySQL was owned and sponsored
by a single for-profit firm, the Swedish company MySQL AB, now owned by Oracle Corporation.
Free-software projects that require a full-featured database management system often use MySQL.
PROJECT DESCRIPTION
5. PROJECT DESCRIPTION

PROBLEM DEFINITION

The first step in the software development life cycle is the identification of the problem. As
the success of the system depends largely on how accurately a problem is identified. This system is
a computerized, online solution to the various problems faced by the Product buyer and seller
wishing to outsource their software development work to a Provider at an economical cost, thus
achieving high performance, accuracy, reliability and high speed of data retrieval.

PRODUCT DEFINITION

In this system, there is a registration process each for the Product buyer and seller. The
Administrator of the site verifies the Provider after his registration and if satisfied, assigns him a user
name and password.

Our site can be used by anyone who is searching for Products whether he/she is first time visiting our
site. Our site also provides some discounted Products as same u get on any shop.

The software covers the following point while keeping in mind user’s requirement-:

• Fast online access of information about our various Products.


• Administrator will maintain the database and perform all process.

There are 3 categories of users-


1. General User
2. Admin User
3. Registered User.
OVERVIEW OF THE PROJECT

The project titled “TEXTILE CATALOG MANGEMENT SYSTEM ” is designed using


PHP 5.0. The back end used is MySQL.
The system is basically easier to understand, the customer should create an account first to
order some clothes. Then the user will choose their preferable cloth and add them to the shopping
cart in order to check out the product. The admin has an important role here ,he /she manages all the
daily transactions, adding new clothes, setting up the product offers, and monitoring customer
information.

MODULE DESCRIPTION

Admin

• Login
• Add category
• Add product
• Add Offers

Manage

• Manage Users
• Manage Customers
• Mange Orders
• Manage Feedback

Customer

• Registration
• Login
• Cart
• Checkout
• Submit Feedback
View

• View Product list


• View category list
• View Offers
• View Order Report

Contact Us

About Us

ADMIN

Login

The admin user logins to the website using the given username and password. The records
are checked against ‘Admin _master’ database and login process is carried out. The admin can
change the password any time.

Add category

In this module, the categoryId, categoryName, description and Image are added and saved
into the ‘Category_master’ database .The details are added into table by the admin.

Add Product

In this module, the itemId, categoryId, itemName, description, size, Image, price, discount,
Total are added and saved into the ‘Item_master’ database .The details are added into table by the
admin.

Add Offer

In the module, the offerId, offer, detail and valid are added into the ‘Offer_master’ database
table by the admin.
MANAGE

Manage users

In this module, the AdminId, Username and Password are added and saved in the
‘Admin_master’ database table. These user details are managed by the admin.

Manage Customers

In this module ,the customerId , customerName , Address , city , Email , mobile , Gender ,
Birthdate , username and password in the ‘Customer_registration’ database table. These customer
details are managed by the admin.

Manage Orders

In this module, the cartId, customerId, ItemName, Quantity, Price, Total are added by the
customer in the cart are stored in the ‘shopping_cart_final’ database table. These order details are
managed by the admin.

Manage Feedback

In this module, the Feedback, CustomerId, Feedback, Date is added by the customer in the
‘Feedback_master’ database table. These feedback details are managed by the admin.

CUSTOMER

Register

In this module, the customers register their details in the website using the Customer register
form. In the registration form ,the customerName , Address , city , Email , mobile , Gender ,
Birthdate , username and password in the ‘Customer_registration’ database table.

Login

In this module, the Customers login to the website using the given username and password.
The records are checked against ‘Customer_registration’ database and login process is carried out.
The customer can change the password by forget password.
Cart

In this module, the customer can add the wished product in the cart. The cartId, customerId,
ItemName, Quantity, Price, and Total in the ‘shopping_cart’datbase and these details are store in
the ‘shopping _cart_final’database.

Checkout

In this module, after the shopping is done the customer can click checkout option to exit the
shopping cart.

Submit Feedback

In this module, the Feedback, CustomerId, Feedback, Date is added by the customer in the
‘Feedback_master’ database table. These feedback details are submitted by the customers.

View

View Product List

In this module, the itemId, categoryId , itemName , description, size , Image, price,
discount, Total are added and saved into the ‘Item_master’ database .The details are view by both
the admin and the customer.

View Category List

In this module, the categoryId, categoryName, description and Image are added and saved
into the ‘Category_ master’ database .The details are view by both the admin and customer.

View offer

In the module, the offerId, offer, detail and valid are added into the ‘Offer_master’ database table
by the admin. These offer details are view by the customer.

View Order History

In this module, the cartId, customerId, ItemName, Quantity, Price, Total are added by the
customer in the cart are stored in the ‘shopping_cart_final’database table. These order details are
view by the customer in the order history.
Contact us

The module is to displays the contact information of the manufactures in the website such as
address, phone, mobile number along with the email id and the Google map. These details can view
by both the admin and the customer.

About us

The module is to display about the manufactures company in the website. These can be view
by both the admin and the customer.
SYSTEM DESIGN
6. SYSTEM DESIGN
6.l(A) DATA FLOW DIAGRAM (Administrator: level 0)

Admin_master Category_master
Item_master
Offer_master

DATA FLOW DIAGRAM (Administrator: level 1)

Admin

Admin_ma Customer Shopping_ Feedback Item_master Category_m Offer_master Shopping_ca


ster _registrati cart_final _master aster rt_final
6.1. (B) DATA FLOW DIAGRA M (Customer)

Customers

Offers Cart

Category_master
Item_master Offer_master Feedback_ Shopping_ Sho pping_cart
master cart _final

_final
DATABASE DESIGN

The most important consideration in designing the database is how information will be used.
The main objectives of designing a database are:

DATA INTEGRATION

In a database, information from several files are coordinated, accessed and operated upon as
through it is in a single file. Logically, the information are centralized, physically, the data may be
located on different devices, connected through data communication facilities.

DATA INTEGRITY

Data integrity means storing all data in one place only and how each application to access it.
This approach results in more consistent information, one update being sufficient to achieve a new
record status for all applications, which use it. This leads to less data redundancy; data items need
not be duplicated; a reduction in the direct access storage requirement.

DATA INDEPENDENCE

Data independence is the insulation of application programs from changing aspects of


physical data organization. This objective seeks to allow changes in the content and organization of
physical data without reprogramming of applications and to allow modifications to application
programs without reorganizing the physical data.

The tables needed for each module were designed and the specification of each and every
column was given based on the records and details collected during record specification of the
system study.
TABLE DESIGN

In this project containing the following tables, they are


TABLE NAME: Admin_master
Primary Key: AdminId
Purpose: It is used to store administrator’s username and password.
FIELD NAME DATA TYPE SIZE DESCRIPTION
AdminID Int 11 Id of the Admin
USerName Varchar 15 Admin’s username
Password Varchar 15 Admin’s password

TABLE NAME: Category_master


Primary Key: CategoryId
Purpose: It is used to store list of category.
FIELD NAME DATA TYPE SIZE DESCRIPTION
CategoryId Int 11 Id of the category
CategoryName Varchar 20 Name of the category
Discription Varchar 200 Category discription
Image Varchar 100 Image of the category

TABLE NAME: Customer_Registration


Primary Key: CategoryId
Purpose: It is used to store list of customers
FIELD NAME DATA TYPE SIZE DESCRIPTION
CustomerId Int 11 Id of the customer
CustomerName Varchar 20 Name of the customer
Address Varchar 100 Customer’s address
City Varchar 20 Customer’s city
Email Varchar 50 Customer’s email
Mobile Bigint 10 Customer’s mobile
Gender Varchar 10 Customer’s gender
Date of birth Date Customer’s dob
Username Varchar 20 Customer’s username
Password Varchar 20 Customer’s password
TABLE NAME: Feedback_master
Primary Key: FeedbackId
Purpose: It is used to store customers feedback.
FIELD NAME DATA TYPE SIZE DESCRIPTION
FeedbackId int 11 Id of the feedback
CustomerId Int 11 Id of the customer
Feedback Varchar 200 Feedback of the
customer
Date date

TABLE NAME: Item_master


Primary Key: ItemId
Purpose: It is used to store list of products.
FIELD DATA TYPE SIZE DESCRIPTION
NAME
ItemId Int 11 Primary
CategoryId Int 11 Id of the catogory
ItemName Varchar 20 Name of the product
Description Varchar 200 Discription of the product
Size Varchar 10 Size of the product
Image Varchar 100 Image of the product
Price Float Price of the product
Discount Float Discount of the product
Total Float Total amount

TABLE NAME: Offer_master


Primary Key: OfferId
Purpose: It is used to store Offer for the product.
FIELD NAME DATA TYPE SIZE DESCRIPTION
OfferID Int 11 Id of the offer
Offer Varchar 50 Name of the offer
Detail Varchar 200 Details of the offer
Valid Date Valid date of the offer
TABLE NAME: Shopping_cart
Primary Key: CartId
Purpose: It is used to store the cart items.
FIELD NAME DATA TYPE SIZE DESCRIPTION
cartId Int 11 Id of the cart
CustomerId Int 11 Id of the customer
itemName Varchar 20 Name of the product
Quantity Int 11 Quantity of the products
Price Float Price of the products
Total Float Total amont
Orderdate Date Date of the order

6.2.7 TABLE NAME: Shopping_cart_final


Primary Key: CartId
Purpose: It is used to store the final order of the customer.
FIELD NAME DATA TYPE SIZE DESCRIPTION
cartId Int 11 Id of the cart
CustoemrId Int 11 Id of the customer
itemName Varchar 20 Name of the product
Quantity Int 11 Quantity of the product
Price Float Price of the product
Total Float Total amount
Orderdate Date Date of the order
6.3. INPUT DESIGN

Input design is the process of converting the user originated inputs inot a computer based
format. In this project, the input design made the data entry very easier, logical and free form errors.
The application is being developed and designed in such a way that during the processing the cursor
is placed in the position where the data must be entered. The user is provided with an option of
selecting and appropriate inputs from the list of values.

In this system, the keyboard is the primary input medium. It also includes mouse input when
user clicks on any of controls. In some situations, some field should not be left blank, because it
will affect the integrity constraints of the system. It also performed by appropriate validation code
behind that control. These kinds of validation code behind that control. These kinds of validation
are done for improving the quality of the system.

Validations are made for each and every data entered. For example, in Login form, if the user
enters the wrong user id or password, it will check against with the appropriate data in the database.
If it is not matching, it will generate the error message, so that whenever the user inputs erroneous
data, error message is displayed and the user can move next field only after entering the correct
data. The input screen is designed with various controls like frames, labels, text, Command, option,
checkbox, flex grid and date picker. We have to ensure that what are the valid inputs to the
particular controls. This is very important to eliminate the entering of duplicate invalid values. If a
system accepts any invalid data, then it will lead to confusion.

If any event occurs due to user actions, some specified set of activities will be carried out
default. For this purpose, I have used triggers in the database. For Example, if a user logged into the
system, his log in time is automatically noted. Each of the form in this application consist of
different Graphical User Interface(GUI) like Labels, Text Box, Button, Text Area, Menus, List
Box, Internal frame and Tool Bar to enter the user inputs. For example in customer details form
have Labels, Text Box, Text Area and Button for entering customer Name, Address.
6.4 OUTPUT DESIGN

During the output design phase, the necessary outputs are planned and designed based on
user. Apart from the reports needed for the basic functioning, various other reports , which provide
the management with the detailed data required to appraise and control the material activites of the
company , are also generated by the system .
The reports generated are designed to inform the management with the conditions in the
material area that potentially could have a serious impact on the company total operations. Reports
are designed that they contained only timely information that is of definite value to the recipient.
The objective of the management report is to present data in the way that they can be quickly and
clearly understood.
SYSTEM TESTING
7. SYSTEM TESTING
After the source code has been completed, documented as related data structures. Completed
the project has to undergo testing and validation where there is subtitle and definite attempt to get
errors.

The project developer treads lightly, designing and execution test that will demonstrates that
the program works rather than uncovering errors, unfortunately errors will be present and if the
project developer doesn’t find them, the user will find out.

The project developer is always responsible for testing the individual units i.e. modules of the
program. In many cases developer also conducts integration testing i.e. the testing step that leads to
the construction of the complete program structure.

UNIT TESTING

In unit testing, we have to test the programs making up the system. For this reason, Unit
testing sometimes called as Program testing. The software units in a system are the modules and
routines that are assembled and integrated to perform a specific function, Unit testing first on the
modules independently of one another, to locate errors.

This enables, to detect errors in coding and logic that are contained with the module alone.
The testing was carried out during programming stage itself.

USER ACCEPTANCE TESTING

In these testing procedures the project is given to the customer to test whether all
requirements have been fulfilled and after the user is fully satisfied. The project is perfectly ready.
If the user makes request for any change and if they found any errors those all errors has to be taken
into consideration and to be correct it to make a project a perfect project.

INTEGRATION TESTING

Integration testing is a systematic technique for constructing the program structure. While at
the same time conducting tests to uncover errors associated with interfacing. The objective is to
take unit tested modules and build a program structure that has been dictated by design.
In this integration testing its done using the main module and based on the type of integration
testing the subordinate tables and other criteria along with their path, is replaced one at a time with
actual modules. In the project, after integrating the all modules, they are tested with their
integration in view module.

VALIDATION TESTING

It is said that validation is successful when the software functions in a systematic manner that
can be reasonably accepted by the customers. This type of testing is very important because it is the
only way to check whether the requirements given by user have been completely fulfilled. The
input given to various forms are validated effectively. The validated input is given for all modules.
Each module is tested independently.
SYSTEM IMPLEMETATION
8. SYSTEM IMPLEMENTATION

When the initial design was done for the system, the client was consulted for the acceptance
of the design so that further proceedings of the system development can be carried on. After the
development of the system a demonstration was given to them about the working of the system.
The aim of the system illustration was to identify any malfunction of the system.

After the management of the system was approved the system implemented in the concern,
initially the system was run parallel with existing manual system. The system has been tested with
live data and has proved to be error free and user friendly.

Implementation is the process of converting a new or revised system design into an


operational one when the initial design was done by the system; a demonstration was given to the
end user about the working system.

This process is uses to verify and identify any logical mess working of the system by feeding
various combinations of test data. After the approval of the system by both end user and
management the system was implemented.

System implementation is made up of many activities. The six major activities are as follows.

Coding

Coding is the process of whereby the physical design specifications created by the analysis
team turned into working computer code by the programming team.

Testing

Once the coding process is begin and proceed in parallel, as each program module can be
tested.

Installation

Installation is the process during which the current system is replaced by the new system.
This includes conversion of existing data, software, and documentation and work procedures to
those consistent with the new system.
Documentation

It is result from the installation process, user guides provides the information of how the use
the system and its flow.

Training and support

Training plan is a strategy for training user so they quickly learn to the new system. The
development of the training plan probably began earlier in the project.The best-suited application
package to develop the system is PHP under windows XP’ environment.
CONCLUSION
9. CONCLUSION AND FURTHER ENHANCEMENTS

Through this project, the textile catalog management becomes easy. The interface helps not
only to administrator but also to customers for communication. All the day-to-day sales are
managed through the web application itself and can be prepared as reports for administrator and
customers.

Since the application is designed as web, any browser can be used to view the application.
The change password helps to protect the accessibility of users. The application is tested well and
end users satisfaction is found to be more. The application is designed such that minimum internet
knowledge is required for end users to browse the web site.

SCOPE FOR FUTURE DEVELOPMENT


The application become useful if the below enhancements are made in future.
1. The sales details and receipt details can be sent as mails to respective customers.
2. PayPal Integration can be made to web site for payment amount from customer.
3. Item stock updated details can be attached as mails to customers so that they make request
easily.
The application is developed such that above said enhancements can be integrated with current
modules.
APPENDIX
10. APPENDIX

10.1. OUTPUT SCREENSHOTS

Home

Category
Product

Offers
Customer Registration Form

Contact Us
About Us

Manage User
Add Category

Add Product
Add Offer

Manage Orders
Manage Feedback

Home (Customer)
View Category

View Product
View Offer

Add Cart
Add Feedback

Order History
Proceed to Checkout
REFERENCES
REFERENCE

BOOK REFERENCES

1. Teach Yourself PHP in 24 Hours, Third Edition, Sams Publishing ISBN 0-672-32619-1. Matt
Zandstra.
2. Sams Teach Yourself PHP, MySQL and Apache: All in One, Third Edition, Sams Publishing,
ISBN 10: 672-32873-9. Julie Meloni.
3. Sams Teach Yourself JavaScript in 24 Hours, Sams Publishing, ISBN 10: 672-32879-8.
Michael Moncur.

WEB REFERENCES

1. http://www.amazon.co.uk/phpbooks

2. http://www.java.com/internationalization

3. http://www.mysql.net

4. http://www.php.net

5. http://www.roseindia.net/mysql/mysql5/what-is-mysql.shtml

6. http://www.sourceforge.net

You might also like