Online Sales and Inventory Management System
Online Sales and Inventory Management System
ABSTRACT
This project is aimed at developing an online Sales and Product Management System
(SIMS) for a departmental store. This system can be used to store the details of the product,
update the product based on the sale details, produce receipts for sales, generate sales and
product reports periodically etc. This is one integrated system that contains both the Employee
component (used by employee, add employee , product managers, add product, add product
category etc) and the admin component (used by the administrators for performing admin level
functions such as adding new products , changing the price of an product etc).
CHAPTER I
1. INTRODUCTION
In the existing system the sales can purchase the products only manual nothing but he
went to the supermarket buying the goods in this no reliability after buying the products some
time returns is not allowed or if allow every we need go to shops return to the goods it is time
consuming process. In farmer days online shopping sites not maintain the all much products.
When we want to purchase the products redirect into different sites and buying in case the
Employee need to maintain all sites transaction. It is not easy to handle.
System Crash One of the biggest problems with any computerized system is the
potential for a system crash. A corrupt hard drive, power outages and other
technical issues can result in the loss of needed data. At the least, businesses are
interrupted when they are unable to access data they need.
Complexity
Limited elimination of business risk
Expensive
This project is to developed for an online Sales and Product Management System
(SIMS) for a departmental store. This system can be used to store the details of the product ,
update the product based on the sale details, produce receipts for sales, generate sales and
product reports periodically etc. This is one integrated system that contains both the Employee
component (used by employee, add employee , product managers, add product, add product
category etc) and the admin component (used by the administrators for performing admin level
functions such as adding new products to the product , changing the price of an product etc).
ADVANTAGES of PROPOSED SYSTEM
PHP
PHP: Hypertext Preprocessor, is a widely used, general-purpose scripting language that was
originally designed for web development, to produce dynamic web pages. It can be embedded
into HTML and generally runs on a web server, which needs to be configured to process PHP
code and create web page content from it. It can be deployed on most web servers and on almost
every operating system and platform free of charge.
PHP was originally created by Rasmus Lerdorf in 1995 and has been in continuous development
ever since. The main implementation of PHP is now produced by The PHP Group and serves as
the de facto standard for PHP as there is no formal specification.PHP is free software released
under the PHP License, which is incompatible with the GNU General Public License (GPL)
because of restrictions on the use of the term PHP
PHP has evolved to include a command line interface capability and can also be used in
standalone graphical applications.
USAGE
PHP is a general-purpose scripting language that is especially suited for web development. PHP
generally runs on a web server. Any PHP code in a requested file is executed by the PHP
runtime, usually to create dynamic web page content. It can also be used for command-line
scripting and client-side GUI applications. PHP can be deployed on most web servers, many
operating systems and platforms, and can be used with many relational database management
systems. It is available free of charge, and the PHP Group provides the complete source code for
Employees to build, customize and extend for their own use.
PHP primarily acts as a filter, taking input from a file or stream containing text and/or PHP
instructions and outputs another stream of data; most commonly the output will be HTML. Since
PHP 4, the PHP parser compiles input to produce byte code for processing by the Zend Engine,
giving improved performance over its interpreter predecessor
Originally designed to create dynamic web pages, PHP now focuses mainly on server-side
scripting, and it is similar to other server-side scripting languages that provide dynamic content
from a web server to a client, such as Microsoft's Active Server Pages, Sun Microsystems' Java
Server Pages and mod_perl. PHP has also attracted the development of many frameworks that
provide building blocks and a design structure to promote rapid application development (RAD).
Some of these include CakePHP, Symfony, CodeIgniter, and Zend Framework, offering features
similar to other web application frameworks.
About HTML
HTML, which stands for Hyper Text Markup Language, is the predominant markup language
for web pages. It provides a means to create structured documents by denoting structural
semantics for text such as headings, paragraphs, lists etc as well as for links, quotes, and other
products. It allows images and objects to be embedded and can be used to create interactive
forms. It is written in the form of HTML elements consisting of "tags" surrounded by angle
brackets within the web page content. It can include or can load scripts in languages such as
JavaScript which affect the behavior of HTML processors like Web browsers; and Cascading
Style Sheets (CSS) to define the appearance and layout of text and other material. The W3C,
maintainer of both HTML and CSS standards, encourages the use of CSS over explicit
presentational markup.
Hyper Text Markup Language (HTML) is the encoding scheme used to create and format a web
document. A Employee need not be an expert programmer to make use of HTML for creating
hypertext documents that can be put on the internet.
Most graphical e-mail clients allow the use of a subset of HTML (often ill-defined) to provide
formatting and semantic markup not available with plain text. This may include typographic
information like coloured headings, emphasized and quoted text, inline images and diagrams.
Many such clients include both a GUI editor for composing HTML e-mail messages and a
rendering engine for displaying them. Use of HTML in e-mail is controversial because of
compatibility issues, because it can help disguise phishing attacks, because it can confuse spam
filters and because the message size is larger than plain text.
NAMING CONVENTIONS
The most common filename extension for files containing HTML is .html. A common
abbreviation of this is .htm, which originated because some early operating systems and file
systems, such as DOS and FAT, limited file extensions to three letters.
HTML APPLICATION
ABOUT JAVASCRIPT
PROTOTYPE-BASED
Functions double as object constructors along with their typical role. Prefixing a function
call with new creates a new object and calls that function with its local this keyword bound to
that object for that invocation. The constructor's prototype property determines the object used
for the new object's internal prototype. JavaScript's built-in constructors, such as Array, also
have prototypes that can be modified.
Unlike many object-oriented languages, there is no distinction between a function definition and
a method definition. Rather, the distinction occurs during function calling; a function can be
called as a method. When a function is called as a method of an object, the function's local this
keyword is bound to that object for that invocation.
USAGE
The primary use of JavaScript is to write functions that are embedded in or included from HTML
pages and interact with the Document Object Model (DOM) of the page.
Because JavaScript code can run locally in a Employee's browser (rather than on a remote
server) it can respond to Employee actions quickly, making an application feel more responsive.
Furthermore, JavaScript code can detect Employee actions which HTML alone cannot, such as
individual keystrokes. Applications such as Gmail take advantage of this: much of the
Employee-interface logic is written in JavaScript, and JavaScript dispatches requests for
information (such as the content of an e-mail message) to the server. The wider trend of Ajax
programming similarly exploits this strength.
4.3 MySQL:
What is MySQL?
MySQL, the most popular Open Source SQL database management system, is
developed, distributed, and supported by Oracle Corporation.
The MySQL Web site (http://www.mysql.com/) provides the latest information about
MySQL software.
The SQL part of “MySQL” stands for “Structured Query Language”. SQL is the most
common standardized language used to access databases. Depending on your
programming environment, you might enter SQL directly (for example, to generate
reports), embed SQL statements into code written in another language, or use a
language-specific API that hides the SQL syntax.
SQL is defined by the ANSI/ISO SQL Standard. The SQL standard has been evolving
since 1986 and several versions exist. In this manual, “SQL-92” refers to the standard
released in 1992, “SQL: 1999” refers to the standard released in 1999, and “SQL:
2003” refers to the current version of the standard. We use the phrase “the SQL
standard” to mean the current version of the SQL Standard at any time.
MySQL software is Open Source.
Open Source means that it is possible for anyone to use and modify the software.
Anybody can download the MySQL software from the Internet and use it without
paying anything. If you wish, you may study the source code and change it to suit your
needs. The MySQL software uses the GPL (GNU General Public
License),http://www.fsf.org/licenses/, to define what you may and may not do with the
software in different situations. If you feel uncomfortable with the GPL or need to
embed MySQL code into a commercial application, you can buy a commercially
licensed version from us. See the MySQL Licensing Overview for more information
(http://www.mysql.com/company/legal/licensing/).
The MySQL Database Server is very fast, reliable, scalable, and easy to use.
If that is what you are looking for, you should give it a try. MySQL Server can run
comfortably on a desktop or laptop, alongside your other applications, web servers, and
so on, requiring little or no attention. If you dedicate an entire machine to MySQL, you
can adjust the settings to take advantage of all the memory, CPU power, and I/O
capacity available. MySQL can also scale up to clusters of machines, networked
together.
You can find a performance comparison of MySQL Server with other database
managers on our benchmark page.
MySQL Server was originally developed to handle large databases much faster than
existing solutions and has been successfully used in highly demanding production
environments for several years. Although under constant development, MySQL Server
today offers a rich and useful set of functions. Its connectivity, speed, and security
make MySQL Server highly suited for accessing databases on the Internet.
We also provide MySQL Server as an embedded multi-threaded library that you can
link into your application to get a smaller, faster, easier-to-manage standalone product.
The official way to pronounce “MySQL” is “My Ess Que Ell” (not “my sequel”), but
we do not mind if you pronounce it as “my sequel” or in some other localized way.
CHAPTER IV
4. SYSTEM DESIGN
Input design is a part of overall system design. The main objective during the input design
is as given below:
Input design is a part of overall system design. The main objective during the input design is as
given below:
Data recording
Data transcription
Data conversion
Data verification
Data control
Data transmission
Data validation
Data input design is a part of overall system design. The main objective during the input design
is as given below:
Keeping in view the above description of the input types and input media, it can be said
that most of the inputs are of the form of internal and interactive. As Input data is to be the
directly keyed in by the Employee, the keyboard can be considered to be the most suitable input
device.
In general are:
It is not always desirable to print or display data as it is held on a computer. It should be decided
as which form of the output is the most suitable.
CHAPTER V
5. FLOW DIAGRAM
A data flow diagram is tool used to describe and analyze more system. And basis form
which the other components are developed. The transformation of data from input to output
through processed, may be described logically and independently of physical components
associated with the system. These are known as the logical data flow diagrams. The development
of DFD’S is done in several levels. Each process in lower level diagrams can be broken down
into a more detailed DFD in the next level. The top-level diagram is often called a “context
diagram”.
Context Diagram:
It contains a single process, but it plays a very important role in studying the
current system. The context diagram defines the system that will be studied in the sense that it
determines the boundaries. Anything that is not inside the process identified in the context
diagram will not be part of the system study. It represents the entire software element as a single
bubble with input and output data indicated by incoming and outgoing arrows respectively
LEVEL 0
LOGIN
Each Login
employee
LEVEL 1
REGISTRA
EMP ADMIN
TION
DETAILS
DETAILS
INSERT
EMP DETAILS
LEVEL 2
EMP EMP DETAILS
DETAILS
DETAILS
Product Type
CHECK
PRODUCT INFO
CHECK
VERIFY VERIFY
FOR
DATA DATA
PRO
DUCT
STATUS
CHAPTER VI
Testing is a process, which reveals errors in the program. It is the major quality measure
employed during software development. During software development. During testing, the
program is executed with a set of test cases and the output of the program for the test cases is
evaluated to determine if the program is performing as it is expected to perform.
In order to make sure that the system does not have errors, the different levels of testing
strategies that are applied at differing phases of software development are:
Unit Testing:
Unit Testing is done on individual modules as they are completed and become
executable. It is confined only to the designer's requirements.
In this strategy some test cases are generated as input conditions that fully execute all
functional requirements for the program. This testing has been uses to find errors in the
following categories:
In this the test cases are generated on the logic of each module by drawing flow graphs of
that module and logical decisions are tested on all the cases. It has been uses to generate the test
cases in the following cases:
Integration testing ensures that software and subsystems work together a whole. It tests the
interface of all the modules to make sure that the modules behave properly when integrated
together.
System Testing:
Involves in-house testing of the entire system before delivery to the user. Its aim is to
satisfy the user the system meets all requirements of the client's specifications.
Acceptance Testing
It is a pre-delivery testing in which entire system is tested at client's site on real world data
to find errors.
SYSTEM IMPLEMENTATION
The user wills entire a uniform resource locator (URL) into his/her browser as a request for a
Online sales and product management system webpage. The browser will forward the request to
the web server, which will use the path portion of the URL to determine the file to be returned to
the browser or the PHP script will be activated, the script will use sql queries to insert, update
and retrieve the data from the Online sales and product management system database tables, and
return the data to the browser as an html formatted document. The html document will be return
to the browser will contains hyperlink to other html pages to PHP script to the web server. In this
way the user will able to navigate among various pages in employee product information
management system.
The user interface of the Online sales and product management system will consist of any
web browser will enable the employee to navigate the website. There are two types of employee
associated with in product information process: the employees and admin. Product managers not
part of the user since the order of product information is still on manual basis and once order it
will be encoded by the administrator. Hence the system will be dividing into two main interfaces.
Upon entering the website, employee will be greeted by the homepage the employee product
information management system, which has a link of the login page of the product information
management system. When the user login the system, he/she will be transferred to their
respective interface depending on the type of user he/she is.
Employee interface
Login page
Employee information page
Add employee page
Employee incentive page
Add product page
Add order page
Generate report page
Add category details
Administrator interface
Login page
Home page
Update product information page
Update product list page
Update the order details
Update employee details
CHAPTER VII
7. CODE DESIGN
7.1 SYSTEM MAINTENANCE
Automate Your Product and Order Processes, Make Informed Business Decisions.
Accounting Integration. Better Shipping Options. Barcode Management. Order Management.
Multichannel Selling. CRM Integration. Services: Product Control.
The purpose of code is to make the task easy for identification and retrieval of items
of information when there are several items in the group. In any computer system, data to be
processed have codes so that sorting, retrieving, storing etc will become efficient.
•Data is simplified and standardized. Hence the numbers of mistakes are reduced to the extent
possible.
Online sales and online sales and Inventory management System sufficiently to determine the
feasibility and usability of a finished system. The core concept is to track the sale of products
from the cash registers with additional features for interpreting the data. It uses a client-server
model with a connected database to allow multiple stores and warehouses to be connected. This
allows for later expansion while still supporting the targeted small businesses
CHAPTER VIII
8. CONCLUSION
Online sales and Inventory management has to do with keeping accurate records of goods
that are ready for shipment. This often means having enough stock of goods to
the inventory totals as well as subtracting the most recent products of finished goods to buyers.
Online sales and Inventory management is essential to every company, having inventories.
Companies need to have stock, but in such amount to avoid out-of-stock and overstock
situations. Online sales and Inventory management can improve company’s inventory control
existing situation and decrease costs of the company. Agent system, in turn, proposes the
automation of this process, it can support several forecasting methods and it reacts to changes in
the environment
9. APPENDIX
Orders
employee
order id Suppli
ed Emp id
date completed Req
uest Mobile no
date required
Age
bar code
Address
Gender
Has
Emp name
9.1 ER DIAGRAM
TABLE DESIGN
Password : admin
CHAPTER X
BIBLIGRAPHY
BIBLIOGRAPHY
Book Name: PHP6 and MySQL Author Name: SteveSuehring, TimConverse, and Joyce Park
Websites
•http://www.w3schools.com
•http://www.quibids.com
•http://www.ubid.com
•http://www.i-bidder.com
•http://www.redbid.com