REPORT
REPORT
INTRODUCTION
Once the access to the application has been granted the user can continue with his work
on the application selected, which is a very easy task as all module have been designed with
the common toolbar.
Each module has buttons attached by which the set of coding has been reduced, which
otherwise would have been a tedious process in designing has the same set of menu bar
attached with its corresponding shortcuts. The menu designed to include all the following
options where in each one provides certain functions to be carried out.
The end-user can take hard copy from reports. If the computer system has its printer, it
is very easy to take hard copy of the data in the reports.
1
1.2 SYSTEM SPECIFICATION
2
1.2.3 SOFTWARE DESCRIPTION
FEATURES OF PHP
PHP is a widely-used, open source scripting language used for scripts that are
executed on the server and it is freeware. It is a server side scripting language used to develop
attractive and dynamic web pages. PHP is widely-used, free, and efficient alternative to
competitors such as Microsoft’s ASP. We make available with database used with PHP is
MYSQL – which is also an open source which is an added advantage. PHP’s simple
programming style, we attempt to design in a way that enables anyone with basic
programming knowledge to learn and shift to never-ending opportunity available.
PHP started out as a small open source project that evolved as more and more people
found out how useful it was Rasmus Lerdorf unleashed the first version of PHP way back in
1994.
PHP is a server side scripting language that is embedded in HTML. It is used to manage
dynamic content, databases, session tracking, even build entire ecommerce sites.
PHP is pleasingly zippy in its execution, especially when compiled as an Apache module on
the Unix side. The MySQL server, once started, executes even very complex queries with
huge result sets in record-setting time.
PHP supports a large number of major protocols such as POP3, IMAP, and LDAP. PHP4
added support for Java and distributed object architectures (COM and CORBA), making n-
tier development a possibility for the first time.
3
COMMONUSES OF PHP
PHP performs system functions, i.e. from files on a system it can create, open, read,
write, and close them.
PHP can handle forms, i.e. gather data from files, save data to a file, through email
you can send data, return data to the user.
You add, delete, modify elements within your database through PHP.
Access cookies variables and set cookies.
Using PHP, you can restrict users to access some pages of your website.
It can encrypt data.
CHARACTERISTICS OF PHP
Simplicity
Efficiency
Security
Flexibility
Familiarity
In order to develop and run PHP Web pages three vital components need to be
installed on your computer system.
Web Server − PHP will work with virtually all Web Server software, including
Microsoft's Internet Information Server (IIS) but then most often used is freely
available Apache Server.
Database − PHP will work with virtually all database software, including Oracle
and Sybase but most commonly used is freely available MySQL database.
PHP Parser − In order to process PHP script instructions a parser must be
installed to generate HTML output that can be sent to the Web Browser. This
tutorial will guide you how to install PHP parser on your computer.
4
PHP Parser Installation
Before you proceed, it is important to make sure that you have a proper environment
setup on your machine to develop your web programs using PHP. If this displays a page
showing your PHP installation related information, then it means you have PHP and
Webserver installed properly. Otherwise you have to follow given procedure to install PHP
on your computer.
Apache Configuration
If you are using Apache as a Web Server then this section will guide you to edit
Apache Configuration Files.
Escaping to PHP
The PHP parsing engine needs a way to differentiate PHP code from other elements in
the page. The mechanism for doing so is known as 'escaping to PHP'.
5
CakePHP
FEATURES of PHP
It is most popular and frequently used worldwide scripting language, the main reason
of popularity is; It is open source and very simple.
Simple
Faster
Interpreted
Open Source
Case Sensitive
Simplicity
Efficiency
Platform Independent
Security
Flexibility
Simple
It is very simple and easy to use, compare to other scripting language it is very simple
and easy, this is widely used all over the world.
Interpreted
Faster
6
Open Source
Open source means you no need to pay for use php, you can free download and use.
Platform Independent
PHP code will be run on every platform, Linux, Unix, Mac OS X, Windows.
Case Sensitive
PHP is case sensitive scripting language at time of variable declaration. In PHP, all
keywords (e.g. if, else, while, echo, etc.), classes, functions, and user-defined functions are
NOT case-sensitive.
Introduction of SQL
What is a Database?
7
What is SQL?
Structured Query Language (SQL) is a relational database language which allows you
to create, delete, access and manipulate databases. The following is a list of the main
operations that can be formulated with SQL:
Deleting a database
Executing queries against a database o retrieving data from a database o inserting records
in a database o updating records in a database o deleting records from a database
MySQL
MySQL can also be accessed using many tools. It can be easily communicated with
via PHP (PHP Hypertext Preprocessor), a scripting language whose primary focus is to
manipulate HTML for a webpage on the server before it is delivered to a client’s machine. A
user can submit
queries to a database via PHP, allowing insertion, retrieval and manipulation of information
into/from the database.
8
Installation Guide to use MySQL
XAMPP
9
CHAPTER II
SYSTEM STUDY
The existing system maintains all purchase and sales activities through manual work.
All ledgers have to be worked through manual entry and keep it in separate ledgers.
Normally the purchase and sales department contains many divisions such as Stock
section, sales counter, Cutting and Stitching section etc. All these details have to be
maintained under separate ledgers. Manpower is used for maintenance and processing of
details till the delivery of goods.
All data processing and procedures are done manually. There may be a chance of
error occurrence at the time of entering the data.
As it is done manually it becomes a time consuming process.
Checking the stock level on each day is a difficult task.
Maintenance of reports is a tough task because there may be chance for missing the data.
Salary calculation is tedious
10
2.2 PROPOSED SYSTEM
In order to overcome the existing systems drawbacks, the whole system is planned to
computerize under one platform to solve the maintenance problem of spinning mill. In this
computerized system it is very easy to maintain all details and also retrieving any information
from any kind of details.
This software would be able to provide flexibility in accessing sales and purchase
information. User can access any type of information. The data is completely checked for
validity before storing in the database.
11
CHAPTER III
12
3.2 INPUT DESIGN
Input Design is one of the most expensive phases of the operation of computerized
system and is often the major problem of a system. A large number of problems with a system
can usually be tracked backs to fault input design and method.
Needless to say, therefore, that the input data is the lifeblood of a system and have to
be analyzed and designed with at most case and consideration.
The decisions made during the input design are
To provide cost effective method of input
To achieve the highest possible level of accuracy
To ensure that input is understand by the user.
System analysis decide the following input design details like, what data to input,
what medium to use, how the data should be arranged or coded, data items and transaction
need validations to detect errors and at last the dialogue to guide user in providing input.
Input data of a system may not be necessarily is raw data captured in the system from
scratch. These can also be the output of another system or subsystem. The design of input
covers all phases of input from the creation of initial data to actual entering the data to the
system for processing. The design of input involves identifying the data needed, specifying the
characteristics of each data item, capturing & preparing data for computer processing and
ensuring correctness of data. The input has been designed as
Purchase details
Sales details
Process details
Employee details
Customer details
Stock details
13
3.3 OUTPUT DESIGN
Output Design generally refers to the result and information that are generated by the
system for many end-user, output is the main reason for developing the system and the basis
on which they evaluate the usefulness of the application.
The objective of a system finds its shape in terms of the output. The analysis of the
objective of a system leads to determination of output. Output of a system can face various
forms. The most common are report, screen display, printed forms, graphical drawing etc., the
output also vary in terms of their contents frequency, timing & format. The users of the output
from a system are the justification for its existence. If the outputs are inadequate in any way,
the system is itself is adequate. The basic requirement of output are that it should be accurate,
timely and appropriate, in terms of content, medium and layout for its intended purpose.
When designing output, system analysis most accomplish thing like, to determine
what information to be present, to decide whether to display or print the information and
select and output medium and to decide how to distribute the output to intended recipients.
External outputs are those destinations will be outside the organization and which
require special attention as they project the image of the organization.
Internal outputs are those whose destination is within the organization. It is to be
carefully designed, as they are the user main interface with the system.
The output has been formed as the reports. They are followed as
Sales reports
Purchase reports
Suppliers information
Employee information
14
3.4 DATA BASE DESIGN
The database design is a must for any application developed especially more for the
data store projects. The general theme behind a database is to handle information as an
integrated whole. A database is the collection of interrelated data stored with minimum
redundancy to serve many users quickly and efficiently. The general objective is to make
information PHP very easy, quick, inexpensive and flexible for the user.
A table is a collection of data about a specific topic. For example a table can contain
data about customers, suppliers and the products. Tables organize data into columns (called
fields) and rows (called records). Database is the storage media where the data given by the
user are stored as such or processed and stored. The system accepts data from the database
to generate required information for the user database determines the purpose and exact
application of the system. While designing decided which facts are to be stored in it and
divide the subjects & create tables for each subject and determine the relationship between
the data in each table to other data in the other table. Verify the data by entering the sample
records to produce the results. Data Integration Data integrity
DATA INTEGRATION
In a database, information from several files are coordinated, accessed 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 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
15
3.5 SYSTEM DEVELOPMENT
Master Module
Purchase Module
Sales Module
Process Module
Reports Module
MASTER MODULE
The master menu is designed to collect details about Supplier master, employee
master, new stock master. The Supplier menu contains the adding new supplier details as like
supplier code, supplier name, supplier address and all other information about the supplier.
The supplier details containing the details of the all supplier for the company and having the
option for to add modify, delete the supplier details.
PURCHASE MODULE
This module takes care maintaining the Purchase and Purchase Return details of the
company. For Purchase, the details like Purchase No, No of thread Cones, Type of Fabric,
Rate per Piece, Color and Quantity are stored. Similarly, to manage details for purchase
return, purchase order no, Type of Fabric, Color, Quantity and Reason for Return are
collected.
16
SALES MODULE
This module takes care maintaining the Sales and Sales Return details of the company.
For Sales, the details like Sales No, Purchase No, Type of Fabric, Rate per Piece, Color,
Quantity, Amount, Tax and Total Amount are collected. Similarly, to manage details for sales
return, sales order no, Type of Fabric, Color, Quantity and Reason for Return are collected.
PROCESS MODULE
This is the main module designed to manage the main processes involved in the
garments. The transaction menu contains sub menu as Cutting, Stitching, Stock, and Salary
details. Separate forms will be designed to collect details for Cutting and Stitching. Stock will
be automatically updated based on the purchase and sales of respective items. Salary to
employees will be given based on their completed jobs in cutting and stitching section.
REPORTS MODULE
The system is designed to generate user friendly reports. Here the reports are created
by crystal format by using of crystal report structure in PHP. The following reports are to be
listing as
Sales reports
Purchase reports
Suppliers information
Employee information
17
CHAPTER IV
SYSTEM TESTING
LEVELS OF TESTING
UNIT TESTING
In unit testing the user tests the programs making up a system. This test focuses on the
modules, independently of one another to locate errors. This enables the tester to deduct
errors in coding and logic that are contained within that module alone. Those resulting from
the interaction between modules are initially avoided.
In this system, demand of each query, customer entry and registration, employee
details, stock details are separate modules. They are checked with valid codes and their
response is studied. For invalid inputs they are terminated with messages that are easy to
identify.
INTEGRATION TESTING
All the modules in the system are combined a single system. It also tests to find
discrepancies between the system and its original objective, current specifications, system
documentation. The primary concern is the compatibility of individual modules.
18
OUTPUT TESTING
After performing the integration testing, the next step is output testing of the proposed
system. Since no system would be useful if it does not produce the required output in a
specified format. The output generated are displayed by the system under consideration are
tested by asking the users about the format required to them. Hence, the output format is
considered into two ways. One is on screen and another is printed format For the hard
copy also, the output comes out as the specified requirements by the user. Hence, output
testing does not result any correction in the system.
ACCEPTANCE TESTING
The users find no major problems with its accuracy the system passes through a final
acceptance test. This last test confirms that the system meets the original goals, objectives
and requirements established during design.
User acceptance of a system is the key factor for the success of any system. The
system under consideration is tested for user acceptance by constantly keeping in touch with
the prospective system users at the time of developing and making changes where ever
required.
The new system developed was tested by the acceptance testing method. Acceptance
test incorporates both unit testing and integration testing. The user provided test area. Thus the
system was successfully tested and it satisfies the user requirements. Afterwards it was
implemented successfully.
SOFTWARE TESTING
The system undergoes integrated testing before the users could use it. It provides a
means for assembling the software. All the related system has been corrected and each unit of
data has been given as inputs to the system and tested. By making slight changes in the units,
the overall system has been obtained with integration.
19
SYSTEM IMPLEMENTATION
Implementation means, “Converting a new system into operation”. This is the crucial
phase in the system development life cycle. This involves creating computer compatible
file, training the operating system development life cycle, training the operating staff and
installing the hardware before the system is setup on running. The success of the new
system can be measured during the implementation. This phase of the system consist of
Each program is tested individually at the time of development using the data and has
verified that this program linked together in the way specified in the programs
specification, the computer system and its environment is tested to the satisfaction of the
user. The system that has been developed is accepted and proved tobe satisfactory for the
user. And so the system is going to be implemented very soon.
20
CHAPTER V
CONCLUSION
1. The Garments Management System can save money and time after
implementing this project.
2. Modification and maintenance can be made very easily since the software is very
much flexible.
3. Very large data can be stored and also can be retrieved very easily.
4. Speed and accuracy is maintained.
5. Data is entered in formatted manner.
6. The report can be taken in any format.
7. Elimination of manual processing in user department
21
FUTURE ENHANCEMENTS
Every application has its own merits and demerits. The project has covered almost all
the requirements. Further requirements and improvements can easily be done since the
coding is mainly structured or modular in nature. Changing the existing modules or adding
new modules can append improvements. The main objective of the business is the Customer
satisfaction. This system helps the clients to give their problems online at whatever point the
client needs, without any constraints implied on them. This system helps the clients to briefly
explain their complaint without any hesitation. Through this system the clients are helped with
some predefined objections and quick arrangements which spare the valuable time of the
clients. The clients get the answers for their protestation inside multi-day and the client can
likewise see the status of the complaint at any time utilizing the complaint no. Through this
system, the clients get the brief solution for their complaint.
The system has scope for future enhancement i.e. if in case the organization feels that
the changes to be made to this system it can be done through authorized people. This system
can be developed with more information by adding new modules to it.
Some of the new features that can be considered for future enhancements are:
22
BIBLIOGRAPHY
I. BOOK REFERENCE:
1. Elias M.Awad, “System Analysis and Design”, Galgotia Publications (p) Ltd, Second
Edition, 1996.
2. Gary Cornell, “Visual Basic 6.0”, TataMc Graw-Hill Publications, Fourth Edition, 1999.
3. Naveen Prakash, “Introduction To Database Management System”, Tata Mc Graw Hill
Publication, Second Edition 1995.
4. Rogers Pressman, “Software Engineering”, TataMc Graw-Hill Publications, Fourth
Edition, 1994.
5. Silberschatz, Korth, Sudharsan, “Database System Concept”, Tata McGraw-Hill, First
Edition, 2002.
II. WEBSITES:
http://www.sourcecode.com
http://download.ms-access.com
http:/Visualbasicnetblogspot.com
23
APPENDICES
Garments management
Add
category CategoryDetails
Reports
24
B. TABLE STRUCTURE
25
Table name: StockItem
Primarykey: ItemId
26
Table name: ProductionDetails
Primarykey: Pid
27
Table name: PurchaseItems
Primarykey: Itemid
28
Table name: Sales
Primarykey: Billno
29
Table name: SalesOrder
Primarykey: Ordno
30
C. SAMPLE CODING
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49