Online Grocery Shopping System.docx

  • Uploaded by: Bharathi Gunasekaran
  • 0
  • 0
  • January 2021
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Online Grocery Shopping System.docx as PDF for free.

More details

  • Words: 4,536
  • Pages: 39
Loading documents preview...
ONLINE GROCERY SHOPPING SYSTEM 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.     

Admin has monitor everything in online grocery shop Admin can add ,delete and update the grocery item(fruits and vegetable etc) Admin can verify the orders of the online shop The user can view the grocery shop item(fruits ,vegetables etc) The user fill a form providing his/her name ,number, address, city delivery time

slot and payment method (cash on delivery) after he/she check out the shopping cart  Grocery item9fruite,vegetable etc) will be delivered to the user at the home with respect to the selected time slot

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 2.1 EXISTING SYSTEM 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. DRAWBACKS OF EXISTING SYSTEM  User must go to shop and select grocery items.  It is difficult to identify the required grocery item.  Description of the grocery item limited.  It is a time consuming process  Not in reach of distant users.  It is less user-friendly.

2.2 PROPOSED SYSTEM 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. ADVANTAGES OF PROPOSED SYSTEM

 Save on transportation costs. Back when I was working away from home, I simply scheduled my time to swing by the grocery store on the way home from work  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

3.1 HAREDWARE REAUIREMENTS Pentium processor RAM Capacity Hard Disk

: :

233 MHZ 128MB

:

20GB

Floppy disk

:

1.44 MB

CD-ROM Drive

:

32 HZ

KEYBOARD

:

3.2

108 Standard

SOFTWARE REQUIRMENT OPERATING SYSTEM : WINDOWS 8 FRONT END

: PHP

BACK END

: MYSQL

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 An HTML Application is a Microsoft Windows application that uses HTML and Dynamic HTML in a browser to provide the application's graphical interface. A regular HTML file is confined to the security model of the web browser, communicating only to web servers and manipulating only webpage objects and site cookies. An HTA runs as a fully trusted application and therefore has more privileges, like creation/editing/removal of files and Windows Registry entries. Because they operate outside the browser's security model, HTAs cannot be

executed via HTTP, but must be downloaded (just like an EXE file) and executed from local file system ABOUT JAVASCRIPT JavaScript is an object-oriented scripting language used to enable programmatic access to objects within both the client application and other applications. It is primarily used in the form of clientside JavaScript, implemented as an integrated component of the web browser, allowing the development of enhanced Employee interfaces and dynamic websites. JavaScript is a dialect of the ECMAScript standard and is characterized as a dynamic, weakly typed, prototype-based language with first-class functions. JavaScript was influenced by many languages and was designed to look like Java, but to be easier for non-programmers to work with. PROTOTYPE-BASED JavaScript uses prototypes instead of classes for inheritance. It is possible to simulate many class-based features with prototypes in JavaScript. 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 Employeeinterface 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. A JavaScript engine (also known as JavaScript interpreter or JavaScript implementation) is an interpreter that interprets JavaScript source code and executes the script accordingly. The first JavaScript engine was created by Brendan Eich at Netscape Communications Corporation, for the Netscape Navigator web browser. A web browser is by far the most common host environment for JavaScript. Web browsers typically use the public API to create "host objects" responsible for reflecting the DOM into JavaScript. 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. 

MySQL is a database management system. A database is a structured collection of data. It may be anything from a simple shopping list to a picture gallery or the vast amounts of information in a corporate network. To add, access, and process data stored in a computer database, you need a database management system such as MySQL Server. Since computers are very good at handling

large amounts of data, database management systems play a central role in computing, as standalone utilities, or as parts of other applications. 

MySQL databases are relational A relational database stores data in separate tables rather than putting all the data in one big storeroom. The database structures are organized into physical files optimized for speed. The logical model, with objects such as databases, tables, views, rows, and columns, offers a flexible programming environment. You set up rules governing the relationships between different data fields, such as one-to-one, one-to-many, unique, required or optional, and “pointers” between different tables. The database enforces these rules, so that with a well-designed database, your application never sees inconsistent, duplicate, orphan, out-of-date, or missing data. 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.



MySQL Server works in client/server or embedded systems. The MySQL Database Software is a client/server system that consists of a multithreaded SQL server that supports different back ends, several different client programs and libraries, administrative tools, and a wide range of application programming interfaces (APIs). 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.



A large amount of contributed MySQL software is available.

MySQL Server has a practical set of features developed in close cooperation with our Employees. It is very likely that your favorite application or language supports the MySQL Database Server. 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:  External Outputs whose destination is outside the organization.  Internal Outputs whose destination is within organization and they are the Employee’s main interface with the computer. Outputs from computer systems are required primarily to communicate the results of processing to Employees. They are also used to provide a permanent copy of the results for later consultation. The various types of outputs  Operational outputs whose use is purely within the computer department.  Interface outputs, which involve the Employee in communicating directly with the system. The outputs should be defined in terms of the following points:  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 5.1 DATA 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

USER

ENTER USERNAME AND PASSOWORD

CHECK VALIDITY MAIN PAGE MAIN PAGE

USER

ENTIRE DETAILS

CHECK VALIDITY

REGISTRATION DFD

REGISTRATION PAGE

ADMIN DFD PRODUCT DETAIL DB USER DATABASE ADD/REMOVE MANAGE GROCERY ITEM

VIEW ADD/REMOVE

ADMIN

MANAGE USERS VIEW VIEW /DELEE MANAGE ORDER DELETE

PRODUCT ORDER DB

CHAPTER VI 6. SYSTEM TESTING AND SYSTEM IMPLEMENTATION

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:

Black Box Testing: 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: Incorrect or missing functions Interface errors Errors in data structure or external database access Performance errors Initialization and termination errors. In this testing only the output is checked for correctness. The logical flow of the data is not checked White Box testing: 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:  Guarantee that all independent paths have been executed.  Execute all logical decisions on their true and false Sides.  Execute all loops at their boundaries and within their operational bounds  Execute internal data structures to ensure their validity. Integrating Testing: 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 together. System Testing:

when integrated

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. 7.2 CODE METHODOLGY 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. Codes are necessary because •Data is easily identified •Data is simplified and standardized. Hence the numbers of mistakes are reduced to the extent possible. •Data processing operations can be done easily

•It helps to make the computer system work more efficiently 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 9.1 DATABASE DESIGN A Database is a collection of interrelated data stored with a minimum of redundancy to serve many applications. The database design is used to group data into a number of tables and minimizes the artificiality embedded in using separate files. The tables are organized to: 

Reduced duplication of data.



Simplify functions like adding, deleting, modifying data etc..



Retrieving data



Clarity and ease of use



More information at low cost

PRO NAME, PRICE

USER ID

PRODUCTS PRODUCT ID

ORDERS

NAME

PRICE

MOBILE NO

PHOTO

EMAIL ID

PRODUCT NAME DESCRIPTION PRODUCT ID ORDER ID

9.1 ER DIAGRAM

TABLE DESIGN TABLE NAME:

USER

field name

Data type

size

USER id

int

10

User name

varchar

250

Mobile no

Int

10

Email

varchar

200

Address

text

-

field name

Data type

size

Product id

int

10

product name

varchar

250

Price

Int

10

Email

varchar

200

TABLE NAME:

TABLE NAME:

products

ORDERS

field name

Data type

size

Price

int

10

product id

varchar

250

Mobile

Int

10

user id

varchar

200

address

text

-

9.2

FORMS AND DESIGN

m

admin 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

Related Documents


More Documents from "Rick Douglas"