Chapter 1: 1.1 General Introduction
Chapter 1: 1.1 General Introduction
Chapter 1: 1.1 General Introduction
Introduction
1.1 General Introduction
Online shopping is the process whereby consumers directly buy goods, services etc. from a
seller interactively in real-time without an intermediary service over the internet.
Online shopping is the process of buying goods and services from merchants who sells on the
Internet. Since the emergence of the World Wide Web, merchants have sought to sell their
products to people who surf the Internet. Shoppers can visit web stores from the comfort of
their homes and shop as they sit in front of the computer. Consumers buy a variety of items
from online stores. In fact, people can purchase just about anything from companies that
provide their products online. Books, clothing, household appliances, toys, hardware,
software, and health insurance are just some of the hundreds of products consumers can buy
from an online store.
1.2 Purposes
Online shopping tries to enhance access to care and improve the continuity and efficiency of
services. Depending on the specific setting and locale, case managers are responsible for a
variety of tasks, ranging from linking clients to services to actually providing intensive
shopping and delivery services themselves.
1
1.3 Objectives:
To shop while comforting of our own home without having to step out of the door.
Sell at lower rate due to less overhead.
No wait to see the products if someone else are taking that.
It saves time.
2
Chapter 2
System Analysis
2.1 Analyzing the system:
This system is all about the converting the shopping-
2.2 Scope:
This product has great future scope. Online shopping Internet software developed on and for
the Windows and later versions environments and Linux OS. This project also provides
security with the use of Login-id and Password, so that any unauthorized users can’t use any
account. The only authorized (authorized) that will have proper access authority can access
the software.
3
software cost estimates are done early in the software development process the estimate can
be based on wrong or incomplete requirements.
2.4 Feasibility Study:
A feasibility study is used to determine the viability of an idea, such as ensuring a project is
legally and technically feasible as well as economically justifiable. It tells us whether a
project is worth the investment.
This is concerned with specifying equipment and software that will successfully satisfy
the use considerably, but might include
The feasibility to produce output in a given time because system is fast enough
to handle multiple users.
Economic analysis is the most frequently used technique used for evaluating the
effectiveness of a proposed system. More commonly known as cost/benefit analysis the
procedure is to determine the benefits and savings that are expected from a proposed
system and compared them with cost. Though the cost of installing the system may
appear high, it is one time investment. The resulting benefits are that automation results in
turnaround time. The resulting cost/benefit ratio is favorable.
4
Chapter 3
System Requirements
3.1 User Class and Characteristics:
There are 3 types of user of this software-
a) General user
b) Customers
c) Administrator
General user:
They can use the system to see the product, their prices and quantity available.
General user can’t buy the products.
Customers:
Customers are using for viewing and buying the products. Customer can also
write feedbacks for products and services.
Administrator:
Admin can add, edit & delete products and provide services to the customer.
Administrator can see the daily sell.
Administrator maintaining the deliveries.
5
3.3 Non Functional Requirements:
1. Security
2. Reliability
3. Maintainability
4. Portability
5. Extensibility
6. Reusability
6
1. Processor : Intel core i5
2. RAM : 4 GB
3. HD : 20 GB or above.
7
Chapter 4
Design Specification
4.1 System Design:
System design is the solution for the creation of a new system. This phase focuses on the
detailed implementation of the feasible system. It emphasis on translating design.
Specifications to performance specification. System design has two phases of development
Logical design
Physical design
Logical Design: During logical design phase the analyst describes inputs, outputs,
databases, procedures all in a format that meets the user requirements. The analyst also
specifies the needs of the user at a level that virtually determines the information flow in
and out of the system and the data resources. Here the logical design is done through data
flow diagrams and database design.
Physical Design: The physical design is followed by physical design or coding. Physical
design produces the working system by defining the design specifications, which specify
exactly what the candidate system must do. The programmers write the necessary
programs that accept input from the user, perform necessary processing on accepted data
and produce the required report on a hard copy or display it on the screen.
8
4.2 Admin Interface:
The admin is the super user of this application. Only admin has access into this admin page.
Admin may be the owner of the shop. The admin has all the information about all products.
The admin can manages the products and orders that is made by the customers.
Sign in
Manage
Admin
Products
Manage
Order
1. Admin Sign in: The admin starts this action by inputting the username and password and
clicking on the submit button. The page is sent the message to the server to validate the
information from the database. After successful validation, the logged in page is returned
with options for the admin to add, modify, or delete products.
9
2. Manage Products:
Add Edit
Products Admin Products
Delete
Products
Add Products: The products can be classified into different categories by name. Admin
can add new products into the existing system with all its details including an image.
Once add button is clicked, the web page sends this information to the server, which in
turns stores it in the database.
Edit Products: Admin can edit or modify the products by clicking the Edit button. The
web page is displayed a list available products from the database. The admin then chooses
the item he/she wants to modify by clicking on particular item. A page is displayed
letting the admin to modify all item information, the web page sends a message to the
server, which updating the information from the database
Delete Products: Administrator can delete the products based on the stock of that
particular product. The admin starts this action by clicking on the Delete button. Once,
delete button is clicked, the page is send message to the server which in turns tells the
database to remove the item.
10
3. Manage Order:
View Delete
Order Admin Order
View Order: Admin can view the Orders which is generated by the users and also can
verify the details of the purchase.
Delete Order: Admin can delete the order if the order is already sent or the product that
has been order is out of stock.
4.3 User Interface:
The user or customer can visit the shop without any registration but can’t buy their desired
product without sign in to the site. After signing in they can buy their desired products.
Register
Sign in
View
Products
Search
User/Customer Products
Add Product
to cart
Remove
Product
Check Out
11
1. Registration: A new user will have to register in the system by providing essential
details in order to but the products in the system.
2. Login: A user must login with his user name and password to the system after
registration.
3. View Products: User can view the list of products based on their names after
successful login. A detailed description of a particular product with product name,
products details, product image, and price can be viewed by users.
4. Search Products: The customer starts this action by typing a name into the search
box for finding a product. The page sends a message to the server asking for a listing
of products, whose names match the search, from the database. The action is complete
when a page is returned for the customer to view, which contains a list of the resulting
products along with their picture, price, and an option to add the product to the
shopping cart. If a given description doesn’t match with any descriptions in the
database, a message indicating such is displayed instead of the option to add to cart.
5. Add products to cart: The user can add the desired product into his cart by clicking
add to cart option on the product. User can view the cart by clicking on the cart
button. All products added by cart can be viewed in the cart. If the product already
exists in the customer’s cart, its quantity is increased by 1.
6. Remove Product: User can remove an item from the cart by clicking remove.
7. Check Out: After confirming the items in the cart the user have to give his/ her phone
number, transection id and delivery address. Then the user can check out. If it is
successful then the cart will become empty.
12
5.3 System Tools:
A project development and an implementation technology can be mapped out using a project
timeline. It is a process for defining designing, testing, and implementation of a software
application or program. Acquisition of their party tools like dependency manager, database
system all can be included for customizing the total system.
Tools that we have used to design and develop our system are as follows-
HTML:
It is used to generate web page. HTML, an initialization of Hypertext Markup Language,
is the predominant markup language for web pages. It provides a means to describe the
structure of text-based information in a document — by denoting certain text as headings,
paragraphs, lists, and so on.
CSS:
CSS stands for “Cascading Style Sheets” is a language for style and manipulate HTML
Language. CSS is a style sheet language used for describing the look and formatting of a
document written in a markup language.
PHP:
PHP is a technology that lets you mix regular, static HTML with dynamically-generated
HTML. Many Web pages that are built by CGI programs are mostly static, with the
dynamic part limited to a few small locations. But most CGI variations, including
servlets, make you generate the entire page via your program, even though most of it is
always the same.
JavaScript:
13
MySQL:
MySQL is a relational database management system (RDBMS) which has more than 6
million installations. MySQL stands for "My Structured Query Language". The program
runs as a server providing multi-user access to a number of databases.
Bootstrap:
Bootstrap is free open source front end web framework that is used to design websites
and web applications. HTML and CSS is used to create Bootstrap framework. It makes
the web interfaces more user friendly.
14
Admin DFD:
Add
Category
Category
Manage Edit Table
categorie Category DB
s
Delete
Category
Add
Products
Admin Manage
Sign in Products
Products Table
Edit
Products DB
Delete
Products
Manage View
Orders Order
Delete Order
Order Table
DB
15
Customer DFD:
Search
Product
Product
Buy Table
Customer Registration Sign in
Products DB
View
Products Add to Remove
Cart product
Quantity
change
Bill/Ship
Check Order
Table
Out
DB
Primary key: The field that is unique for all the record occurrences.
16
Foreign key: The field used to set relation between tables. Normalization is a
technique to avoid redundancy in the tables.
Sign in Table
17
Category Table
Products table
18
Order Table
19
Chapter 5
1. The website can be installed on a server which has PHP and MYSQL installed in it.
2. The owners of the website are to be properly trained to use all the features of the
website.
3. To show the accuracy of the website and conformance of the owners or users.
20
5.3 Testing:
Software testing is the process used to measure the quality of developed computer software.
Usually, quality is constrained to such topics as correctness, completeness, security, but can
also include more technical requirements as described under the ISO standard ISO 9126, such
as capability, reliability, efficiency, portability, maintainability, compatibility, and usability.
Testing is a process of technical investigation, performed on behalf of stakeholders, that is
intended to reveal quality-related information about the product with respect to the context in
which it is intended to operate.
It treats the software as a black-box without any understanding as to how the internals
behave. Thus, the tester inputs data and only sees the output from the test object. This
level of testing usually requires thorough test cases to be provided to the tester who
then can simply verify that for a given input, the output value (or behavior), is the
same as the expected value specified in the test case.
It is when the tester has access to the internal data structures, code, and algorithms.
For this reason, unit testing and debugging can be classified as white-box testing and
it usually requires writing code, or at a minimum, stepping through it, and thus
requires more skill than the black-box tester. If the software in test is an interface or
API of any sort, white-box testing is almost always required.
21
5.3.4 Unit Testing:
The primary goal of unit testing is to take the smallest piece of testable software in the
application, isolate it from the remainder of the code, and determine whether it
behaves exactly as you expect. Each unit is tested separately before integrating them
into modules to test the interfaces between modules. Unit testing has proven its value
in that a large percentage of defects are identified during its use.
Unit testing is a software verification and validation method where the programmer
gains confidence that individual units of source code are fit for use. A unit is the
smallest testable part of an application. In procedural programming a unit may be an
individual program, function, procedure, etc., while in object-oriented programming,
the smallest unit is a class, which may belong to a base/super class, abstract class or
derived/child class.
There are two major ways of carrying out an integration test, called the bottom-up
method and the top-down method. Bottom-up integration testing begins with unit
testing, followed by tests of progressively higher-level combinations of units called
modules or builds. In top-down integration testing, the highest-level modules are
tested first and progressively lower-level modules are tested after that. In a
comprehensive software development environment, bottom-up testing is usually done
first, followed by top-down testing.
22
5.3.6 Validation testing:
At the validation level, testing focuses on user visible actions and user recognizable
output from the system. Validations testing is said to be successful when software
functions in a manner that can be reasonably expected by the customer. Two types of
validation testing-
Beta testing: comes after alpha testing. Versions of the software, known as beta
version, are released to a limited audience outside of the programming team. The
software is released to groups of people so that further testing can ensure the
product has few faults or bugs. Sometimes, beta versions are made available to the
open public to increase the feedback field to a maximal number of future users.
Thus, maintenance changes the existing system, enhancement adds features to the existing
system, and development replaces the existing system. It is an important part of system
development that includes the activities which corrects errors in system design and
implementation, updates the documents, and tests the data.
23
5.4.1 Types of Maintenance:
24
Chapter 6
Screenshots
Home page
After successful login user have the access to our home page where he\she can see the
three available lab name. With his or her wants he\she needs to click his\her chosen
lab name for further information.
25
Search Product
The customer starts this action by typing a name into the search box for finding a
product. The page sends a message to the server asking for a listing of products
26
Login and Signup
This is for new member's registration page. Here's the screenshot of the form where
a new user should have to be filled the User Name, Email, Password field
27
Product Category
If we want to add Category in the list we have to fill the following information list of
the Category
28
Add Product
The products can be classified into different categories by name. Admin can add new
products into the existing system with all its details including an image
29
Order List
Admin can view the Orders which is generated by the users and also can verify the
details of the purchase
30
User Profile
A user profile is a visual display of personal data associated with a specific user
31
Payment products
The user-defined fields that you would want to use for entering transactions against
the product
32
Chapter 7
Conclusion
7.1 Future Works:
More features will be added into this application. For example, payment methods such as
credit cards will be available on this online store. The future works also enables users to
customize features. Providing personalized inbox to the user. Moreover, object-oriented
approach will be applied throughout the application.
7.2 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 and an android
application for purchasing items from a shop.
This project helped us in gaining valuable information and practical knowledge on several
topics like designing web pages using HTML & CSS, usage of responsive templates,
designing and management of database using MySQL. The entire system is secured. Also the
project helped us understanding about the development phases of a project and software
development life cycle. We learned how to test different features of a project.
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.
33
References
[1] https://en.wikipedia.org/wiki/Systems_design
[2] http://www.sooperarticles.com/business-articles/e-business-articles/limitations-
online-shopping-840923.html
[3] https://en.wikipedia.org/wiki/Feasibility_study
[4] http://www.uky.edu/~dsianita/695A&D/lecture5.html
[5] https://www.tutorialspoint.com/system_analysis_and_design/system_analysis_
and_design_implementation_maintenance.html
[6] https://en.wikipedia.org/wiki/Implementation
[7] https://www.tutorialspoint.com/system_analysis_and_design/system_
analysis_and_design_overview.html
[8] https://www.codeproject.com/Tips/351122/What-is-software-testing-What-are-the-
different-ty
[9] https://en.wikipedia.org/wiki/Software_testing
[10] http://www.ofnisystems.com/services/validation/functional-requirements/
[11] https://reqtest.com/requirements-blog/what-are-non-functional-requirements/
[12] https://www.ibm.com/support/knowledgecenter/en/ssw_aix_71/com.ibm.aix.perform
ance/doc_perf_reqs.html
[13] https://en.wikipedia.org/wiki/PHP
[14] https://en.wikipedia.org/wiki/JavaScript
[15] https://www.lucidchart.com/pages/data-flow-diagram
[16] https://en.wikipedia.org/wiki/Database_design
34