Chapter 1: About The Company: Bazaar
Chapter 1: About The Company: Bazaar
CONTENTS
3.4.1: HTML
3.4.2: CSS
3.4.3: PHP
3.4.4: MYSQL
5.5.2: Dashboard
Chapter 6: Implementation
6.1: Screenshots
6.1.4 Orders
6.1.5 Stocks
Chapter 7: Conclusion
Bibilography
Chapter 1
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.3Our Mission
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.
Chapter 2
DEPARTMENTAL PROFILE
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.
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.
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.
Chapter 3
TASK PERFORMED
3.1 Software Requirements:
RAM: 4GB
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
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:
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.
3.4.2 CSS:
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,
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:
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.
Chapter 4
SOFTWARE DEVELOPMENT LIFE CYCLE
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.
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.
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.
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.
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.
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.
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.
Chapter 5
SYSTEM DESIGN
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.
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.
MODERATOR DFD
MODERATOR DFD
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.
5.5.2 Dashboard
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.
2. Training the user personal prior to the implementation of two steps shown below
as to be carried out.
6.1 Screenshots:
6.1.4 Orders
6.1.5 Stocks
SOURCE CODE
<?php session_start();
#cart.php - A simple shopping cart with add to cart, and remove links
//---------------------------
//initialize sessions
//Load up session
if ( !isset($_SESSION["total"]) ) {
$_SESSION["total"] = 0;
$_SESSION["qty"][$i] = 0;
$_SESSION["amounts"][$i] = 0;
//---------------------------
//Reset
if ( isset($_GET['reset']) )
if ($_GET["reset"] == 'true')
//---------------------------
//Add
if ( isset($_GET["add"]) )
$i = $_GET["add"];
$qty = $_SESSION["qty"][$i] + 1;
$_SESSION["cart"][$i] = $i;
$_SESSION["qty"][$i] = $qty;
//---------------------------
//Delete
if ( isset($_GET["delete"]) )
$i = $_GET["delete"];
$qty = $_SESSION["qty"][$i];
$qty--;
$_SESSION["qty"][$i] = $qty;
if ($qty == 0) {
$_SESSION["amounts"][$i] = 0;
unset($_SESSION["cart"][$i]);
else
?>
?>
<tr>
<td width="10px"> </td>
<td width="10px"> </td>
</tr>
<?php
?>
<tr>
<td colspan="5"></td>
</tr>
<tr>
</tr>
</table>
<?php
if ( isset($_SESSION["cart"]) ) {
?>
<br/><br/><br/>
<h2>Cart</h2>
<table>
<tr>
<th>Product</th>
<th width="10px"> </th>
<th>Qty</th>
<th width="10px"> </th>
<th>Amount</th>
<th width="10px"> </th>
<th>Action</th>
</tr>
<?php
$total = 0;
foreach ( $_SESSION["cart"] as $i ) {
?>
<tr>
<td width="10px"> </td>
<td width="10px"> </td>
<td width="10px"> </td>
</tr>
<?php
$_SESSION["total"] = $total;
?>
<tr>
</tr>
</table>
<?php
CONCLUSION
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.
Bibliography
1. www.w3schools.com
2. www.tutorialspoint.com/php
3. www.tutorialehtml.com
4. www.csstutorial.net