Project
Project
COMPANY PROFILE
1
1. COMPANY PROFILE
“Swast Solutions Private Limited” develops applications and solutions that put the client first.
When anyone come to us for help, we perceive them as business partners first and clients second,
taking on projects that we consider and making them our own.
They trust creating success for our clients by high lighten their specialties to the world. They are
a set of pioneers in designing, developing and creating web solutions. They have built our own
niche around services including Web Design, Website Development, Mobile Apps, SEO, and
Digital Marketing. They stand tall as leaders in the industry with our ethics being one of our
strongest pillars. They are a bunch of passionate individuals. They love the work we do and so
will you!
“Swast Solutions Private Limited” is a complete web solution provider in multi-dimensional IT
services such as web development, design solutions, Data Architecture, Data Processing, internet
marketing, software development services and data services for companies across the world. We
offer a 360° approach to Digital Marketing with services range from Search to Content to social
media to Website Design to Mobile Advertising. We offer our clients genuine and hassle-free
technology solutions with precise performance guarantee at competitive prices.
2
CHAPTER 2
INTRODUCTION
AND
OVERVIEW OF THE
PROJECT
3
2. INTRODUCTION
The project "ONLINE SHOPPING OF HOME DÉCOR ITEMS"
This is a web-based application which helps people to find and buy latest home décor
items on internet. It is useful in the way that it makes an easier way to buy home décor
items. This application has signup and login facility for customer apart from navigating
on the whole website.
The customer has to register for purchasing any items online. The unregistered person
can’t purchase on this application. Any person can view items on the website however
only the registered customer can purchase home décor items his choice and need. He has
to pay the price either via PayPal or COD
This project is an attempt to provide the advantage of online shopping service and home
delivery. The central concept of the application is to allow the customer to shop virtually
using the internet and allow customers to buy the items and articles of their desire from
the huge type of categories available. The customer has to register for making any
purchase on the website. However, no registration is required to navigate on the website.
The login credentials for an online shopping system are under high security and nobody
will have the capacity to crack it easily.
4
2.2 Some of the main features are:
● Practicality
● Efficiency
● Cost
● Flexibility
● Portability
● Security
● easily accessible & always available
2.3 Timeline:
The project timeline will be divided into various stages, including planning, design,
development, testing, and deployment. A project management approach will be employed
to ensure timely completion and effective coordination among team members.
The web applications are expected to be available round-the-clock from anywhere in the
world, and usable from any device for any screen size.
5
2.5 Technologies:
Front-End: HTML, CSS and JavaScript.
Back-End: PHP, MYSQL
2.5.1 Front-End
Cascading Style Sheets (CSS) - is a style sheet language used for describing
the look and formatting of a document written in a markup language. CSS is designed
primarily to enable the separation of document content from document presentation,
including elements such as the layout, colors, and fonts. This separation can improve
content accessibility, provide more flexibility and control in the specification of
presentation characteristics, enable multiple pages to share formatting, and reduce
complexity and repetition in the structural content (such as by allowing for table less web
AJAX - AJAX is a new technique for creating better, faster, and more interactive web
applications with the help of XML, HTML, CSS, and Java Script.
6
2.5.2 Back-End
1. Server-Side Scripting: PHP is executed on the web server, generating dynamic content
before sending it to the client-side. This allows developers to create dynamic web pages,
process form data, interact with databases, and perform various server-side tasks.
2. Integration with HTML: PHP code can be embedded directly into HTML, allowing
developers to mix PHP and HTML seamlessly. This integration makes it easy to generate
dynamic content and interact with the page's elements.
4. Database Support: PHP has extensive support for connecting to and interacting with
various databases, such as MySQL, PostgreSQL, Oracle, and more. This allows
developers to create dynamic web applications that store and retrieve data from
databases.
5. Extensive Library Support: PHP has a vast collection of pre-built functions and
libraries that make common tasks, such as handling file uploads, working with XML, and
7
processing images, much easier and efficient.
6. Open Source: PHP is an open-source language, meaning its source code is freely
available for developers to view, modify, and distribute. This fosters a large and active
community of developers who contribute to its improvement and maintenance.
7. Scalability: PHP is known for its ability to handle a high volume of web traffic,
making it suitable for building scalable web applications and websites.
8. Frameworks: There are several popular PHP frameworks, such as Laravel, Symfony,
CodeIgniter, and Yii, which provide a structured way to develop web applications. These
frameworks streamline the development process and promote code reusability.
9. Fast Execution: PHP scripts are typically executed quickly, making PHP a performant
choice for web development.
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.
8
CHAPTER 3
REQUIREMENT ANALYSIS
9
3.1 Hardware Requirements
10
3.3 Problem Identification/Existing System:
In today’s busy world, people don’t have time for their personal needs. There are very
least organizations which are manual. The present scenario for shopping is to visit the
shops and market manually and then from the available product list one needs to choose
the item he/she wants to purchase. This System is not much user-friendly as one needs
to go to the market physically and select items only from the available list otherwise
visit to next shop and search for the same.so mostly it is difficult to get the product as
per our desire. Description about the products is less available and are mostly verbal
only. For this type of shopping, one needs to have an ample amount of free time.
Also finding home décor items sometimes becomes out of reach for certain people as
not really good markets exist everywhere
The project’s home page includes the signup and login link along with other links such as
About, Today’s Deal etc.
It is simple. You will pick your favorite home décor item such as Wall-clocks,
Wall-shelves, Furniture and showpieces etc. from variety of items looking at cost
and quality. No need to go physical shops with this you will have more time to
spend with your family.it is extremely secure.
11
CHAPTER 4
SOFTWARE DESIGN
12
4.1 Dataflow Diagram
The DFD is also called as bubble chart. dataflow diagram (DFD) is a graphical
representation of the "flow" of data through an information system. DFD’s can also
be used for the visualization of data processing. The flow of data in our system can
be described in the form of dataflow diagram as follows: -
13
ER-Diagram
14
Chapter 5
SYSTEM DEVELOPMENT
LIFE CYCLE
15
The Systems Development Life Cycle (SDLC) is a conceptual model used in
project management that describes the stages involved in an information system
development project from an initial feasibility study through maintenance of the
completed application. Various SDLC methodologies have been developed to
guide the processes involved including the waterfall model (the original SDLC
method).
Documentation is crucial regardless of the type of model chosen or devised for
any application, and is usually done in parallel with the development process.
Some methods work better for specific types of projects, but in the final
analysis, the most important factor for the success of a project may be how
closely particular plan was followed.
16
Chapter 6
System Implementation
17
The implementation phase involves installing approved applications into production
environments. Primary tasks include announcing the implementation schedule, training
end users, and installing the product. Additionally, organizations should input and verify
data, configure and test system and security parameters, and conduct post-implementation
reviews. Management should circulate implementation schedules to all affected parties
and should notify users of any implementation responsibilities
18
used to generate dynamic web pages, interact with databases, and perform various server-
side tasks.
19
to large-scale enterprise systems.
20
6.3 What is AJAX
AJAX stands for Asynchronous JavaScript and XML. It is a set of web development techniques
that allows web pages to interact with the server asynchronously without the need for a full-page
refresh. With AJAX, web applications can update specific parts of a web page with new data or
content without reloading the entire page.
6.4 Coding
21
Login Code :
if(isset($_POST['login']))
{
include('connection.php');
$user=$_POST['username'];
$pwd= MD5($_POST['pwd']);
Logout Code :
<?php
session_start();
unset($_SESSION['user']);
session_destroy();
header('location:login.php');
?>
Sign Up Code :
22
<?php
if(isset($_POST['signup']))
{
$user=$_POST['username'];
$pwd= $_POST['pwd'];
$confirm_password=$_POST['confirm_password'];
$gender=$_POST['gender'];
$date_of_birth=$_POST['date_of_birth'];
$email=$_POST['email'];
$contact=$_POST['contact'];
$address=$_POST['address'];
$pin_code=$_POST['pin_code'];
$city=$_POST['city'];
if($pwd==$confirm_password)
{
include('connection.php');
$pwd = MD5($pwd);
$query="insert into
signup(username,password,gender,date_of_birth,email_id,contact,addre
ss,pin_code,city) values
('$user','$pwd','$gender','$date_of_birth','$email','$contact','$add
ress','$pin_code','$city')";
//echo "$query";
$res=mysqli_query($con,$query);
if($res)
{
echo "<script>alert('sign up
successfull');location.href='login.php';</script>";
}
else
{
echo "<script>alert('error in registraton');</script>";
}
}
else{
echo "<script>alert('Password should be same');</script>";
}
}// close if
?>
Connection Code :
23
<?php
$con=mysqli_connect("localhost","root","","myHome_db");
if(!$con)
{
die("could not connect to database".mysqli_error());
}
?>
<?php
if(isset($_SESSION['user'])){ ?>
<li><a href="javascript:void(0)"> Welcome <?=
ucfirst($_SESSION['user']);?></a></li>
<li><a href="logout.php"><span class="glyphicon
glyphicon-log-in"></span> Logout</a></li>
<?php }else{ ?>
<?php }
?>
24
<?php
include('connection.php');
$query="select * from product_info where category='Wall Painting'
order by product_id DESC limit 0,4 ";
$res=mysqli_query($con,$query);
while($row=mysqli_fetch_array($res))
{
?>
<div class="col-md-3">
<a href="linkpage.php?pid=<?php echo $row['product_id'];?>"> <img
src="<?php echo $row['picture_1'];?>" alt="wallpinting" class="img-
rounded" style="width:100%" height="300" ></a>
</div>
<?php
}
?>
25
White box, black box, and grey box testing:
White box and black box testing are terms used to describe the point of view that a test
engineer takes when designing test cases. Black box testing 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.
White box testing, however, 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.
In recent years the term grey box testing has come into common usage. This involves
having access to internal data structures and algorithms for purposes of designing the test
cases, but testing at the user, or black-box level. Manipulating input data and formatting
output do not qualify as grey-box because the input and output are clearly outside of the
black-box we are calling the software under test.
This is particularly important when conducting integration testing between two modules
of code written by two different developers, where only the interfaces are exposed for
test.
Grey box testing could be used in the context of testing a client-server environment
when the tester has control over the input, inspects the value in a SQL database, and the
output value, and then compares all three (the input, sql value, and output), to determine
if the data got corrupt on the database insertion or retrieval.
Types of Testing
26
a) Unit Testing
Unit testing involves the design of test cases that validate that the internal program
logic is functioning properly, and that program input produces valid outputs. All
decision branches and internal code flow should be validated. It is the testing of
individuals of tare units of the application.it is done after the completion of an
individual unit before integration. This is a structural testing, that relies on
knowledge of its construction and is invasive. Unit tests perform basic tests at
component level and test a specific business process, application, and/or system
configuration. Unit tests ensure that each unique path of a business process
performs accurately to the
documentedspecificationsandcontainsclearlydefinedinputsandexpectedresults.
b) Integration Testing
c) System Testing
System testing ensures that the entire integrated software system meets
requirements. It tests a configuration to ensure known and predictable results. An
example of system testing is the configuration-oriented system integration test.
System testing is based on process descriptions and flows, emphasizing pre-driven
process links and integration points.
d) Integration Testing
27
Software integration testing is the incremental integration testing of two or more
integrated software components on a single platform to produce failures caused by
interface defects. The task of the integration test is to check that components or software
applications, Ex components in a software system or one step up software applications at
the company level-interact without error.
Test Results: All the test cases mentioned above passed successfully. No defects
encountered.
e) Acceptance Testing
User Acceptance Testing is a critical phase of any project and requires significant
participation by the end user. It also ensures that the system meets the functional
requirements.
Test Results: All the test cases mentioned above passed successfully. No defects
encountered.
• Verification: Have we built the right software? (i.e. does it match the specification)
• Validation: Have we built the right software? (i.e. is this what the customer wants?)
28
6.6 Snapshots
Homepage:
29
About Us
30
Signup:
Login:
31
Product Category Page :
Cart Page :
Checkout Page :
32
Contact Us :
Forgot Password :
33
34
Chapter 7
FUTURE SCOPE
7.1 Conclusion
We can have a website that will cover whole India giving details of Arts created by
35
persons.
The On-Line Placement System website will have the prominent features including:
• Providing online Placement Record through our site.
• Providing personalized inbox to the user.
• Providing links to news which will elaborate more information.
• Providing more Ajax technology refreshing in our website
36
37