Académique Documents
Professionnel Documents
Culture Documents
ABSTRACT
Online grocery shopping is a supermarket that allows online purchasing of fruits, vegetables etc.
you can conveniently computer to place your order online .you can select your choice of fruits
and vegetable from the grocery store .once you have finalized the order, then you can add an
item to the shopping cart. When you checkout from shopping cart, then you order will be
develop at the doorstep. When you are satisfied with this order, service and quantity then you pay
cash on the spot upon delivery.
CHAPTER I
1. INTROUCTION
1.1 ABOUT OUR COMPANY
1.2 ABOUT THE PROJECT
The application was designed into two modules first is for the users who
wish to buy the grocery item. Second is for the storekeepers who maintains and updates the
information pertaining to the grocery item and those of the users. The end user of this grocery
item is a departmental store where the application is hosted on the web and the administrator
maintains the database. The application which is deployed at the users’ database, the details of
the items are brought forward from the database for the users view based on the selection
through the menu and the database of all the grocery items are updated at the end of each
transaction. Data entry into the application can be done through various screens designed for
various levels of users.
CHAPTER II
2. SYSTEM ANALYSIS
The current system for shopping is to visit the shop manually and from the available grocery
item choose the item user want and buying the item by payment of the price of the item. Grocery
stores also offer non-perishable foods that are packaged in bottles, boxes, and cans; some also
have bakeries, butchers, delis, and fresh produce. Large grocery stores that stock significant
amounts of non-food grocery items, such as clothing and household items are
called supermarkets. Some large supermarkets also include a pharmacy, and user service,
redemption, and electronics sections..
Some grocery stores (especially large ones) form the centerpiece of a larger complex that
includes other facilities, such as gas stations, which will often operate under the store's name.
Some groceries specialize in the foods of a certain nationality or culture. These stores are known
as ethnic markets and may also serve as gathering places for immigrants. In many cases, the wide
range of grocery items carried by larger supermarkets has reduced the need for such specialty
stores the variety and availability of food is no longer restricted by the diversity of locally grown
food or the limitations of the local growing season.
It is less user-friendly.
In the proposed system user need not go to the shop for buying the grocery items. He can
order the grocery item the wishes to buy through the application in his website. The shop owner
will be admin of the system. Shop owner can appoint moderators who will help owner in
managing the users and grocery item orders. The system also recommends a home delivery
system for the purchased grocery items.
Save time. A 28-mile round trip, plus whatever time it takes to shop can easily burn up an
hour or more of my day. ...
Stay organized.
CHAPTER III
3. SYSTEM SPECIFICATION
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:
Overview of the MySQL Database Management System
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.
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
4.1 INPUT DESIGN
Input design is the link that ties the information system into the world of its users.
The input design involves determining the inputs, validating the data, minimizing the data
entry and provides a multi-user facility. Inaccurate inputs are the most common cause of
errors in data processing. Errors entered by the data entry operators can be controlled by
input design. The user-originated inputs are converted to a computer based format in the
input design. Input data are collected and organized into groups of similar data. Once
identified, the appropriate input media are selected for processing. All the input data are
validated and if any data violates any conditions, the user is warned by a message. If the
data satisfies all the conditions, it is transferred to the appropriate tables in the database.
In this project the student details are to be entered at the time of registration. A page is
designed for this purpose which is user friendly and easy to use. The design is done such
that users get appropriate messages when exceptions occur.
4.2 OUTPUT DESIGN
In general are:
Category details
Sub category details
Admin details
Shopping details
Update shopping cart details
Billing address details
Add compliant details
Order tracking details
Today order details
Pending order details
Delivery orders
Manage users
Manage orders
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
LOGIN DFD
LOGIN PAGE
MAIN PAGE
MAIN PAGE
REGISTRATION
PAGE
ADMIN DFD
PRODUCT DETAIL DB
USER DATABASE
ADD/REMOVE
ADD/REMOVE
VIEW
VIEW /DELEE
MANAGE ORDER
DELETE
PRODUCT ORDER DB
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.
Each module can be tested using the following two Strategies:
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 Grocery shopping 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 Grocery shopping 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 Grocery shopping system will consist of any web browser will
enable the employee to navigate the website. The online grocery shop is to make an application
in PHP platform to purchase items in an existing shop. In order to build such an application
complete web support need to be provided. A complete and efficient web application which can
provide the online shopping experience is the basic objective of the project. The web application
can be implemented in the form of a web application with web view.
CHAPTER VII
7. CODE DESIGN
7.1 SYSTEM MAINTENANCE
Build an online grocery shopping and home delivery ecommerce storefront by from
online grocery shopping systems and process received online orders back store front
automatically and without requiring dual database maintenance.
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 grocery shops are providing an online portal where their users can enjoy easy shopping
from anywhere, the shops won’t be losing any more users to the trending online shops such as
flipcart or ebay. Since the application is available in the website it is easily accessible and always
available.
CHAPTER VIII
8. CONCLUSION
The project entitled Online shopping system was completed successfully. The system has
been developed with much care and free of errors and at the same time it is efficient and less
time consuming. The purpose of this project was to develop a web application for purchasing
items from a shop.
This project has given us great satisfaction in having designed an application which can be
implemented to any nearby shops or branded shops selling various kinds of products by simple
modifications. There is a scope for further development in our project to a great extend. A
number of features can be added to this system in future like providing moderator more control
over products so that each moderator can maintain their own products. Another feature we
wished to implement was providing classes for so that different Users offers can be given to each
class. System may keep track of history of purchases of each user and provide suggestions based
on their history.
CHAPTER IX
9. APPENDIX
USER PRODUCTS
ID PRODUCT ID
ORDERS
NAME PRICE
MOBILE NO PHOTO
EMAIL ID PRODUCT NAME
DESCRIPTION
PRODUCT ID
ORDER ID
9.1 ER DIAGRAM
TABLE DESIGN
admin123
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