0% found this document useful (0 votes)
160 views31 pages

Chapter 1: About The Company: Bazaar

The document provides details about the Bazaar e-commerce website project. It contains 7 chapters that describe the company profile, departments, tasks, software development life cycle, system design, implementation, and conclusion. The chapters cover topics such as the vision, goals, roles of different departments, software and hardware requirements, technologies used including HTML, CSS, PHP, MySQL, and screenshots of the implemented system.

Uploaded by

Demo Account
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
160 views31 pages

Chapter 1: About The Company: Bazaar

The document provides details about the Bazaar e-commerce website project. It contains 7 chapters that describe the company profile, departments, tasks, software development life cycle, system design, implementation, and conclusion. The chapters cover topics such as the vision, goals, roles of different departments, software and hardware requirements, technologies used including HTML, CSS, PHP, MySQL, and screenshots of the implemented system.

Uploaded by

Demo Account
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 31

Bazaar

CONTENTS

Chapter 1: About the Company

1.1: Company Profile

1.2: Our Vision

1.3: Our Mission

1.4: Company Goals

Chapter 2: Departmental Profile

2.1: Development department

2.2: Testing department

2.3: Software quality assurance department

Chapter 3: Task Performed

3.1: Software requirements

3.2: Hardware requirements

3.3: Tools description

3.4: Technology description

3.4.1: HTML

3.4.2: CSS

3.4.3: PHP

3.4.4: MYSQL

Chapter 4: Software Development Life Cycle

4.1: Phases of Software Development Life Cycle

4.1.1: Planning and Requirement analysis

Dept. of CSE, RRIT 2020-2021 Page 1


Bazaar

4.1.2: Defining Requirements

4.1.3: Designing the Product

4.1.4: Building or Developing the Product

4.1.5: Testing the Product

4.1.6: Deployment in the market and Maintenance

Chapter 5: System Design

5.1: Data Flow Analysis

5.2: Context Level Data Flow Diagram

5.3: Data Flow Diagram

5.3.1: Login DFD

5.3.2: Registration DFD

5.3.3: Admin DFD

5.4: Activity Diagram

5.5: Use Case Diagram

5.5.1: Login and Registration

5.5.2: Dashboard

5.5.3: Admin Screen

5.5.4: User Screen

Chapter 6: Implementation

6.1: Screenshots

6.1.1 Merchant Dashboard

6.1.2 Manage Category

6.1.3 Add Product

Dept. of CSE, RRIT 2020-2021 Page 2


Bazaar

6.1.4 Orders

6.1.5 Stocks

6.1.6 Insert User

6.1.7 Update User

6.1.8 Order Management

6.1.9 User Management

6.1.10 View Product

6.1.11 Cart Page

6.1.12 Payment gateway page

Chapter 7: Conclusion

Bibilography

Dept. of CSE, RRIT 2020-2021 Page 3


Bazaar

Chapter 1

ABOUT THE COMPANY

1.1 Company Profile

ParvaM is found by a team of passionate folks from diverse platforms with the
intent of delivering the valued services to keep the future ready with various software
solutions with cutting edge technologies in the market.Along with the promising
technology solutions for emerging business trends, ParvaM also aims at providing
comprehensive staffing solutions thus augmenting the consultancy services extended
towards the domain expertise.With the empowerment of resources, ParvaM emphasizes
on IT training and industrial training experiences with the emerging technology trends
thus enriching the knowledge of the technical resources and enhancing the opportunities
of the career growth.We are a well establishing organization by providing a platform for
innovative side of research and development enforcing the product engineering which
leads to lot of inventions from the enthusiastic innovators and technologists.

1.2 Our Vision

 To serve a world-class customer experience while delivering the unique software


solutions.
 To grow as a leading consulting and staffing solutions provider.
 To emerge as an innovative world-class incubation center for Research &
Development as a platform for innovations.

1.3Our Mission

 Customer Delight: by providing the highest degree of excellence to support the


customer and value to their business.
 Superior returns to shareholders: by being a valued business partner
Excellence at Knowledge Delivery: by providing the best class training for the
resources.
 Engineering Excellence: by accomplishing the innovative software solutions
driven with the competitive engineering and planning.

Dept. of CSE, RRIT 2020-2021 Page 4


Bazaar

 Assured Placements: by orchestrating the opportunities driven by the knowledge


and training.
 Innovative Projects: by facilitating to implement the new ideas and technologies
for interns.

1.4 Company Goals:


Objectives of the company are as follows:
 INTEGRITY
We believe that transparency and integrity are essential characteristics of any long
business relationship.

 QUALITY
We believe that quality is a pre-requisite to increased profits both for our
customers and ourselves.
 DEPENDABILITY
We believe that reliability, consistency and dependability are unbreakable value
propositions.
 OUR QUALITY POLICY
We are committed to total client satisfaction by delivering quality services on time
at competitive prices.We believe that quality lies in continuous improvement.

Dept. of CSE, RRIT 2020-2021 Page 5


Bazaar

Chapter 2

DEPARTMENTAL PROFILE

2.1 Developing Department

It is the part of process of implementing where the software engineers actually write the
code for the project. They follow many approaches for the software project management
such as SDLC models, methodologies, processes. The Software Developers are also
responsible for building the deliverables and communicating the status of the software
project to the Technical Lead or Project Manager.

2.2 Testing Department

The Software Testers ensure that the software solution meets the business requirements
and that it is free of bugs, errors and defects. Software Testers are involved in identifying
test conditions and creating test designs, test cases, test procedure specifications and test
data, and may automate or help to automate the tests. Test Engineers follow different
models for the project.

2.3 Software Quality Assurance Department

Software Quality Assurance is the set of activities which ensure that the standards,
processes and procedures are suitable for the project and implemented correctly. Quality
Assurance is included in complete software development life cycle. They play the role of
monitoring, tracking, evaluations, auditing and reviews to ensure that the quality policy of
the organization is implemented.

Dept. of CSE, RRIT 2020-2021 Page 6


Bazaar

Chapter 3
TASK PERFORMED
3.1 Software Requirements:

 Operating System: Any OS with a Browser.

 Language: HTML, CSS, PHP

 Front end: HTML with PHP

 Back end: PHP with MySQL server

3.2 Hardware requirements:

 Processor: Intel core i3

 Processor Speed: 2.10GHz

 RAM: 4GB

 Hard Disk: 1TB

 Graphics card: 2GB

 Key Board: Standard windows keyboard

3.3 Tools description

 Star UML:
This tool is used to design use case diagrams for the modules.Star UML is an open
source software modeling tool that supports UML (Unified Modeling Language).
Star UML makes a clear conceptual distinction between models, views and
diagrams. A Model is an element that contains information for a software model.
A View is a visual expression of the information contained in a model, and a
Diagram is a collection of view
 MS Word:
This tool is used to design DFD diagrams for the modules.MS-WORD is a
Graphical word processing program that users can type with. It is made by the

Dept. of CSE, RRIT 2020-2021 Page 7


Bazaar

computer company Microsoft. Its purpose is to allow users to type and save
documents.

 Visual Studio:
Microsoft Visual Studio is an integrated development environment (IDE) from
Microsoft. It is used to develop computer programs, as well as websites, web
pages, we services and mobile apps. Visual Studio includes a code editor
supporting IntelliSense (the code completion component).
 Pencil:
The pencil tool is used to draw fress hand lines with a hard edge. The pencil and
paintbrush are similar tools. The main difference between the two tools is that
although both use same brush but the pencil tool will not produce fuzzy edges,
even with a most fuzzy brush

3.4 Technologies:

3.4.1 HTML:

Hypertext Markup Language (HTML) is the standard markup language for


documents designed to be displayed in a web browser. It can be assisted by technologies
such as Cascading Style Sheets (CSS) and scripting languages such as JavaScript.

Web browsers receive HTML documents from a web server or from local storage
and render the documents into multimedia web pages. HTML describes the structure of a
web page semantically and originally included cues for the appearance of the document.

HTML elements are the building blocks of HTML pages. With HTML


constructs, images and other objects such as interactive forms may be embedded into the
rendered page. HTML provides a means to create structured documents by denoting
structural semantics for text such as headings, paragraphs, lists, links, quotes and other
items. HTML elements are delineated by tags, written using angle brackets. Tags such
as <img /> and <input /> directly introduce content into the page. Other tags such
as <p> surround and provide information about document text and may include other tags
as sub-elements. Browsers do not display the HTML tags, but use them to interpret the
content of the page.

Dept. of CSE, RRIT 2020-2021 Page 8


Bazaar

HTML can embed programs written in a scripting language such as JavaScript,


which affects the behavior and content of web pages. Inclusion of CSS defines the look
and layout of content. The World Wide Web Consortium (W3C), former maintainer of
the HTML and current maintainer of the CSS standards, has encouraged the use of CSS
over explicit presentational HTML since 1997.

3.4.2 CSS:

Cascading Style Sheets (CSS) is a style sheet language used for describing


the presentation of a document written in a markup language like HTML. CSS is a
cornerstone technology of the World Wide Web, alongside HTML and JavaScript.

CSS is designed to enable the separation of presentation and content,


including layout, colors, and fonts. This separation can improve content accessibility,
provide more flexibility and control in the specification of presentation characteristics,
enable multiple web pages to share formatting by specifying the relevant CSS in a
separate. CSS file, and reduce complexity and repetition in the structural content.

The name cascading comes from the specified priority scheme to determine which style
rule applies if more than one rule matches a particular element. This cascading priority
scheme is predictable.

3.4.3 PHP:

PHP stands for Hypertext Pre-processor (no, the acronym doesn't follow the name). It is
an open source, server-side, scripting language used for the development of web
applications. By scripting language, we mean a program that is script-based (lines of
code) written for the automation of tasks. Web pages can be designed using HTML. With
HTML, code execution is done on the user's browser (client-side). On the other hand,
with PHP server-side scripting language, it's executed on the server before it gets to the
web browser of the user.

PHP can be embedded in HTML, and it's well suited for web development and the
creation of dynamic web pages for web applications, e-commerce applications, and
database applications. It's considered a friendly language with abilities to easily connect
with MySQL, Oracle, and other databases. Uses of PHP PHP scripts can be used on most
of the well-known operating systems like Linux, Unix, Solaris, Microsoft Windows,

Dept. of CSE, RRIT 2020-2021 Page 9


Bazaar

MAC OS and many others. It also supports most web servers including Apache and IIS.
Using PHP affords web developers the freedom to choose their operating system and web
server. In PHP, server-side scripting is the main area of operation. Server-side scripting
with PHP involves.

 PHP Parser: a program that converts source and human readable code into a
format easier for the computer to understand.
 Web server: the program that executes files that from web pages from user
requests.
 Web browser: An application used to display content on the World Wide Web.

3.4.4 MySQL:

MySQL is an Oracle-backed open source relational database management system


(RDBMS) based on Structured Query Language (SQL). ... Although it can be used in a
wide range of applications, MySQL is most often associated with web applications and
publishing. SQL stands for Structured Query Language, and it is a programming language
designed for querying data from a database.

MySQL is a relational database management system, which is a completely different


thing. MySQL is a relational database management system based on SQL – Structured
Query Language. The application is used for a wide range of purposes, including data
warehousing, e-commerce, and logging applications. The most common use for MySQL.

However, is for the purpose of a web database. MySQL is the most popular Open Source
Relational SQL Database Management System. MySQL is one of the best RDBMS being
used for developing various web-based software applications. This tutorial will give you a
quick start to MySQL and make you comfortable with MySQL programming.

Advantages of Using MySQL

 Data Security, On-Demand Scalability, High Performance, Round-the-clock Uptime.

 Comprehensive Transactional Support, Reduced Total Cost of Ownership

.  The Flexibility of Open Source.

Dept. of CSE, RRIT 2020-2021 Page 10


Bazaar

Chapter 4
SOFTWARE DEVELOPMENT LIFE CYCLE

Software Development life cycle (SDLC) is a software used to design, develop


and test a software. The SDLC aims to produce a high-quality software that meets the
customer requirement. SDLC is a framework that defines task performed at each level of
the cycle.

SDLC is a process followed by a software product within a software organization.


It consists of a detailed plan, maintaining, replacing and altering a specific software. The
life cycle defines a methodology for improving the quality of a software.

4.1 Phases of Software Development Life Cycle:


4.1.1 Planning and Requirement analysis
4.1.2 Defining Requirements
4.1.3 Designing the Product
4.1.4 Building or Developing the Product
4.1.5 Testing the Product
4.1.6 Deployment in the market and Maintenance

Fig 4.1 Software development life cycle

4.1.1 Planning and Requirement analysis:

Dept. of CSE, RRIT 2020-2021 Page 11


Bazaar

The software developer will meet the customer and collects the requirements from
the customer that what are his or her ideas and what are the requirements he or she wants
to be in the software. This is also called as requirement gathering. Then comes
requirement analysis, here the developer will specify that the given project can be done
within the given dead line or not and also, he will specify that the cost or budget of the
project to be completed according to customer needs that is weather the cost is feasible or
not to the developer. This phase is known as requirement analysis.

4.1.2. Defining Requirements:

Once the requirement analysis is done the next step is to clearly define and
document the product and it should be approved by the customer. It consists all the
product requirement to be designed and developed.

4.1.3. Designing the Product:

Here the developer will design a model according to the customer requirements
that has been collected from the software developer from phase one. Here there are
different types of design had to be made under this phase such as:

1. UML

2. Prototype

3. Data base

4. Class

We use number of tools to design UML which is paid source. Another is STAR UML
and UMLET which is for free.

We use 2 types of tools to design prototype which are ADOBE XD which is used to
insert click function and so on and another is PENCIL tool which is used in static page.

We use STAR UML to design the class.

These are the tools used in design phase to design.

4.1.4. Building or Developing the Product:

Dept. of CSE, RRIT 2020-2021 Page 12


Bazaar

Here the developer develops the model to the line of codes called as program.
This process is known as coding. Code is the set of instructions given to the software so it
performs the required operations. After coding the developer will debug the program so
that it results in error free program.

4.1.5. Testing the Product:

Here the developed software is tested in many ways by giving number of inputs.
It should produce the expected output. In this phase the developer conforms that the
requirements of the customer are satisfied.

In testing we have three types such as:

1.Sanity testing: this is the type of testing done in last minute or the type of testing done
when their will be no time to test the whole program.

2. Unit testing: this is the type of testing in which entire program will be broken down to
smallest pieces and tested.

3. Regressive testing: this is the type of testing where the program is tested repeatedly.

4.1.6. Deployment in the market and Maintenance:

Here the tested software is deployed to the public, so the users can use this software
for their specific operations. In this phase again there are different deployment field such
as:

1. Play store
2. App store
3. Microsoft store
4. Web

This is the last stage of software development life cycle. Here once the developed
software is deployed it should satisfy the users who are using it. It should be efficient to
use. If the user faces any problem in the software while using it the developer should
trouble shoot the problem. This phase is known as maintenance of the deployed software.

Dept. of CSE, RRIT 2020-2021 Page 13


Bazaar

Chapter 5
SYSTEM DESIGN

5.1 Data Flow Analysis:

The data flow analysis is a study of how and what the data flows through the
system. It is done with the help of Data Flow Diagram (DFD), which depicts the entities
involved in the system, data input by the entities, processes the input data undergoes and
data store where the data is stored.

5.2 Context Level Data Flow Diagram:

The context level DFD shows the interaction of the system with the external
environment. It only depicts the inputs to the system and output from the system but it
does not show how they are transformed. The functional aspects of the system are not
covered under context level DFD.

5.3 Data Flow Diagram:

5.3.1: Login DFD

Fig 3.10: Login DFD

Dept. of CSE, RRIT 2020-2021 Page 14


Bazaar

5.3.2 REGISTRATION DFD

5.3.3 ADMIN DFD

 MODERATOR DFD
 MODERATOR DFD

Dept. of CSE, RRIT 2020-2021 Page 15


Bazaar

5.4 Activity Diagram

Activity diagram is another important diagram in UML to describe the dynamic aspects
of the system. Activity diagram is basically a flowchart to represent the flow from one
activity to another activity. The activity can be described as an operation of the system.
The control flow is drawn from one operation to another.

Fig:5.4 Activity Diagram

5.5 Use Case Diagram:

5.5.1 Login and Registration

Dept. of CSE, RRIT 2020-2021 Page 16


Bazaar

Fig:5.5.1 Login and Registration

5.5.2 Dashboard

Fig 5.5.2 Dashboard

5.5.3 Admin Screen

Dept. of CSE, RRIT 2020-2021 Page 17


Bazaar

Fig 5.5.3 Admin Screen

5.5.4 User Screen

Fig 5.5.4 User Screen

Dept. of CSE, RRIT 2020-2021 Page 18


Bazaar

Chapter 6
IMPLEMENTATION

Implementation is the stage where the theoretical design is turned into a working
system. Once the design is complete, most of the major decisions about the system have
been made. The goal of coding phase is to translate the design of the system into code in a
given programming language. For a given design, the aim in this phase is to implement
the design in the best possible manner.

The coding phase affects both testing and maintenance profoundly. Since the
testing and maintenance costs of software are much higher than the coding cost, the goal
of the coding should be to reduce the testing and maintenance effort. Hence, during
coding the focus should be on developing the programs that are easy to read and
understand, and not simply on developing programs that are easy to write.

The implementation stage consists of:

1. Making the necessary changes of the system as desired by the user.

2. Training the user personal prior to the implementation of two steps shown below
as to be carried out.

3. Testing the developed programs with the sample data.

4. Detection and correction of errors.

6.1 Screenshots:

6.1.1 Merchant Dashboard

Dept. of CSE, RRIT 2020-2021 Page 19


Bazaar

Fig 6.1.1 Merchant Dashboard

6.1.2 Manage Category

Fig 6.1.2 Manage Category

6.1.3 Add Product

Fig 6.1.3 Add Product

6.1.4 Orders

Fig 6.1.4 Orders

Dept. of CSE, RRIT 2020-2021 Page 20


Bazaar

6.1.5 Stocks

Fig 6.1.5 Stocks

6.1.6 Insert User

Fig 6.1.6 Insert User

6.1.7 Update User

Fig 6.1.7 Update User

Dept. of CSE, RRIT 2020-2021 Page 21


Bazaar

6.1.8 Order Management

Fig 6.1.8 Order Management

6.1.9 User Management

Fig: 6.1.9 User Management

6.1.10 View Products

Dept. of CSE, RRIT 2020-2021 Page 22


Bazaar

Fig 6.1.10 View Products

6.1.11 Cart Page

Fig 6.1.11 Cart Page

6.1.12 Payment gateway page

Dept. of CSE, RRIT 2020-2021 Page 23


Bazaar

Fig 6.1.12 Payment gateway page

SOURCE CODE

<?php session_start();

#cart.php - A simple shopping cart with add to cart, and remove links

//---------------------------

//initialize sessions

//Define the products and cost

$products = array("product A", "product B", "product C");

$amounts = array("19.99", "10.99", "2.99");

//Load up session

if ( !isset($_SESSION["total"]) ) {

$_SESSION["total"] = 0;

for ($i=0; $i< count($products); $i++) {

$_SESSION["qty"][$i] = 0;

$_SESSION["amounts"][$i] = 0;

//---------------------------

//Reset

if ( isset($_GET['reset']) )

if ($_GET["reset"] == 'true')

Dept. of CSE, RRIT 2020-2021 Page 24


Bazaar

unset($_SESSION["qty"]); //The quantity for each product

unset($_SESSION["amounts"]); //The amount from each product

unset($_SESSION["total"]); //The total cost

unset($_SESSION["cart"]); //Which item has been chosen

//---------------------------

//Add

if ( isset($_GET["add"]) )

$i = $_GET["add"];

$qty = $_SESSION["qty"][$i] + 1;

$_SESSION["amounts"][$i] = $amounts[$i] * $qty;

$_SESSION["cart"][$i] = $i;

$_SESSION["qty"][$i] = $qty;

//---------------------------

//Delete

if ( isset($_GET["delete"]) )

$i = $_GET["delete"];

$qty = $_SESSION["qty"][$i];

$qty--;

Dept. of CSE, RRIT 2020-2021 Page 25


Bazaar

$_SESSION["qty"][$i] = $qty;

//remove item if quantity is zero

if ($qty == 0) {

$_SESSION["amounts"][$i] = 0;

unset($_SESSION["cart"][$i]);

else

$_SESSION["amounts"][$i] = $amounts[$i] * $qty;

?>

<h2>List of All Products</h2>

?>

<tr>

<td><?php echo($products[$i]); ?></td>

<td width="10px">&nbsp;</td>

<td><?php echo($amounts[$i]); ?></td>

<td width="10px">&nbsp;</td>

<td><a href="?add=<?php echo($i); ?>">Add to cart</a></td>

</tr>

<?php

Dept. of CSE, RRIT 2020-2021 Page 26


Bazaar

?>

<tr>

<td colspan="5"></td>

</tr>

<tr>

<td colspan="5"><a href="?reset=true">Reset Cart</a></td>

</tr>

</table>

<?php

if ( isset($_SESSION["cart"]) ) {

?>

<br/><br/><br/>

<h2>Cart</h2>

<table>

<tr>

<th>Product</th>

<th width="10px">&nbsp;</th>

<th>Qty</th>

<th width="10px">&nbsp;</th>

<th>Amount</th>

<th width="10px">&nbsp;</th>

<th>Action</th>

</tr>

Dept. of CSE, RRIT 2020-2021 Page 27


Bazaar

<?php

$total = 0;

foreach ( $_SESSION["cart"] as $i ) {

?>

<tr>

<td><?php echo( $products[$_SESSION["cart"][$i]] ); ?></td>

<td width="10px">&nbsp;</td>

<td><?php echo( $_SESSION["qty"][$i] ); ?></td>

<td width="10px">&nbsp;</td>

<td><?php echo( $_SESSION["amounts"][$i] ); ?></td>

<td width="10px">&nbsp;</td>

<td><a href="?delete=<?php echo($i); ?>">Delete from cart</a></td>

</tr>

<?php

$total = $total + $_SESSION["amounts"][$i];

$_SESSION["total"] = $total;

?>

<tr>

<td colspan="7">Total : <?php echo($total); ?></td>

</tr>

</table>

<?php

Dept. of CSE, RRIT 2020-2021 Page 28


Bazaar

CONCLUSION

The project entitled Bazaar 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 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 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.

Bazaar is very useful to purchase the required item through the online. In this the user
will login to the page first and then the person search for the required products. Through
this the selected items can be added to the cart, buy the product, and also remove from
cart. The payment done through the online using their bank details. This helps user to
faster buying process and response to buyer/market demands.

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. System may keep track of history of
purchases of each customer and provide suggestions based on their history. These
features could have implemented unless the time did not limited us.

Dept. of CSE, RRIT 2020-2021 Page 29


Bazaar

Bibliography
1. www.w3schools.com

2. www.tutorialspoint.com/php

3. www.tutorialehtml.com

4. www.csstutorial.net

Dept. of CSE, RRIT 2020-2021 Page 30


Bazaar

Dept. of CSE, RRIT 2020-2021 Page 31

You might also like