You are on page 1of 21

Software Project III

ONLINE PLANT NURSERY

By

M. NANDHINI
BP161005

Under the Guidance of

Prof. K. SARAVANAPRIYA,MCA.,M.Phil.,

PG AND RESEARCH DEPARTMENT OF COMPUTER APPLICATIONS


SACRED HEART COLLEGE (AUTONOMOUS), TIRUPATTUR
October 2018
Contents

Page No.

Abstract

1. Introduction ……………………………………………………………….

2. User Requirement Specification…………………………………………….

2.1 Module Description

3. User Interface Design………………………………………………………..

4. System Design……………………………………………………………….

4.1 Database Design

4.2 Use Case Diagram

4.3 Class Diagram

4.4 Activity Diagram

4.5 Sequence Diagram

4.6 Architecture Diagram

5. Test Case Design……………………………………………………………….

Conclusion

Bibliography

Appendix

A. Project Mile stone.


B. Coding.
C. Query Design.
D. Input / Output Screen.
E. Controls and Customized Functionality.
F. Peer-Learning.
ABSTRACT

1. INTRODUCTION

Online Plant Nurturing is a web based application. User can buy plants, bouquets
in an affordable cost and make a gardening according to the customer’s place. The payments are
all done through online for the plants and bouquets, cash on delivery for the gardening. There are
additional feature of this website is gardening. The customer can make contract of the gardening
as garden maintenance and the customer can also make terrace gardening according to their place
with the affordable cost.

2. USER REQUIREMENT SPECIFICATION

Modules

 Plants
 Gardening
 Bouquets
 Gallery
 About us

2.1 Module Description

PLANTS

In this Plant module, Customer can view the variety of the plants and plant search for.
The customer can order the plants and buy through online.

 Display the detail and uses of the plants.


 Display the category of the plants to the user.
 The payments may done through online or cash on delivery.
GARDENING

In this module, the website offer the landscape lawn according to the place and also make
a terrace gardening to the customer’s house. This landscape lawn will also be maintained according
to the contract between the customer and owner.

1. LANDSCAPE LAWN

 Display the view of Landscape Lawn gardening.


 User can make lawn according to the displayed views

2. SERVICE AND LAWN MAINTENANCE

 Display the terms of contract to the Lawn Maintenance.


 Display the number of the contract available.
 User can make use of contract, the lawn can be maintained according to the contract.

3. TERRACE GARDENING

 Display the terrace gardening plan.

User have to fill the information about the terrace, according to that, the model will be
displayed.

BOUQUETS

In this module, which customer can view the bouquets and order the bouquet as per the
offers available.

 Display the variety of flower bouquets to the user according to the occasion or the
category.
 Payments may be done through online or cash on delivery.

GALLERY

In this gallery, which display the overall pictures of the nursery plant shop.
ABOUT US

In this module, which describe the shop, about the terms and condition and get the
feedback of the nursery plant shop.

 Display the information about the plant shop.

3. SOFTWARE REQUIREMENT SPECIFICATION

3.1 SOFTWARE USED

NetBeans 7.1.1

 PHP
 MySQL

3.2 HARDWARE USED

 PROCESSOR : Intel CORE i3.


 SYSTEM TYPE : 32/64 bit operating system
 INSTALLED MEMORY : 4.00 GB

3.3 GUI TOOLS

 Microsoft Visio 2016

4. SYSTEM DESIGN

4.1 DATABASE DESIGN

Register

Field Name Data Type Length Constraints Description

Email ID varchar 30 Primary Key Email id of the user.

Password varchar 10 Not Null Password of the user.

Confirm password varchar 10 Not Null Confirm Password of the user.


Login

Field Name Data Type Length Constraints Description

Email ID Varchar 30 Primary Key Email id of the user.

Password Varchar 10 Not Null Password of the user.

Plants and Bouquets Order :

Shipping Information

Field Name Data Type Length Constraints Description

Sid Primary Key 10 Not Null Id of the product for shipping


Name Varchar 10 Not Null Name of the user.
Phone number Number 10 Not Null Phone number of the user.
Street Varchar 15 Not Null Street of the user.
City Varchar 15 Not Null City of the user.

Zip code Number 6 Not Null Zip Code of the user

Billing Information

Field Name Data Type Length Constraints Description

Name varchar 10 Not Null Name of the user.

Phone number Number 10 Not Null Phone number of the user.

Street Varchar 15 Not Null Street of the user.

City Varchar 15 Not Null City of the user.

Zip code Number 6 Not Null Zip Code of the user


Payment Information

Field Name Data Type Length Constraints Description

Account Varchar 10 Primary Key Holder Name of the


Holder Name
Bank Name Varchar 20 Not Null Bank name of the user.

Exp Date Date 08 Not Null Expiry date of the card

CVV number Number 03 Not Null CVV number of the card

Order Review

Field Name Data Type Length Constraints Description

Image BLOB Not Null Ordered image of the Plant or bouquet.

Quantity Number 10 Not Null Number of Quantity of the order.

Price Decimal 15 Not Null Price of the ordered Items.

Sub Total Decimal 15 Not Null Total Price of the ordered Items.

Gardening:

Landscape Lawn:

Field Name Data Type Length Constraints Description

Name Varchar 15 Not Null Name of the user

Phone number Number 10 Not Null Phone number of the User.

Street Varchar 15 Not Null Street of the user.

City Varchar 15 Not Null City of the user.

Zip code Number 6 Not Null Zip Code of the user


Lawn Maintenance:

Field Name Data Length Constraints Description


Type
UID Number 10 Primary Key The UID will be automatically provided.

Name Varchar 15 Not Null Name of the Customer


Phone number Number 10 Not Null Phone number of the Customer.

Street Varchar 15 Not Null Street of the Customer.

City Varchar 15 Not Null City of the Customer.


Zip code Number 6 Not Null Zip Code of the Customer
Square Feet Decimal 10 Not Null Square feet of the Customer’s place.
Contract Number 10 Not Null Contract of the lawn maintenance valid
From from
Contract To number 10 Not Null Contract of the lawn maintenance valid
to.

Terrace Gardening:

Field Name Data Type Length Constraints Description

UID Number 10 Primary Key The UID will be automatically


provided.
Name Varchar 15 Not Null Name of the Customer

Phone number Number 10 Not Null Phone number of the Customer.

Street Varchar 15 Not Null Street of the Customer.

City Varchar 15 Not Null City of the Customer.

Zip code Number 6 Not Null Zip Code of the Customer


Square Feet Decimal 10 Not Null Square feet of the Customer’s place.

Green Shade Number 10 Null Green Shade Net for the terrace
Net gardening.
Pot Number 10 Null Customer can also buy the pots

Rope Number 10 Null Customer can also buy the Rope

Payment :

Cash On Delivery For Landscape lawn, Lawn Maintenance, Terrace Garderning.

4.2 ARCHITECTURE DIAGRAM :

CLIENT(WEB BROWSER)

APPLICATION LAYER
GARDENING

BOUQUET
PLANT

ADMIN

SERVER

DATABASE
4.3 ENTITY RELATIONSHIP DIAGRAM :
4.4 CLASS DIAGRAM :

Login
-Email id End2
-Password
End5 +Login()
+cancel() Admin

User
End6 End1 +Plants()
+bouquets()
+Plants() End13
+Garderning()
+Bouquet() End14
End2 End8
+Gardening() End11End12
End2 End7
End9
End1 End3
order review
End1
End4 Shipping Information Billing Information
Plants and Bouquets Bouquets
Gardening
+Insert()
+Insert() +Insert()
+Delete()
+Shipping Information() +Shipping Information() +Delete() +Delete()
+Landscape Lawn() +Update()
+Billing Information() +Billing Information() +Update() +Update()End10
+Lawn Maintence()
+Payment Information() +Payment Information()
+Terrace Gardening()
+Order Review()End1
End3

+Order Review()
Payment Information
End5 End7
End1
End2
End1 End6 End9
End2 +Insert()
Landscape Lawn +Delete()
Shipping Information +Update()
Payment Information -Name End10
-Name End8
-Account Holder Name -Phone Number
-Phone Number
-Bank Name -Street
-Street Lawn Maintence Terrace Gardening
-Exp Name -City
-City
-CVV Number -Zip code -Uid -Uid
-Zip code
+Add() +Add() -Name -Name
+Add() -Phone Number -Phone Number
+Delete() +Delete()
+Delete() End2 -Street
+Update() -Street
En

Billing Information -City -City


4 d

-Zip Code -Zip Code


-Name Order Review -Square Feet -Square Feet
-Phone Number
-Quantity -Contract From -Green Shade Net
-Street
-Price -Contract To -Pot
-City
-Sub Total +Add() -Rope
-Zip code
+Add() +Delete() +Add()
+Add()
+Delete() +Update() +Delete()
+Delete()
+Update()
4.5 ACTIVITY DIAGRAM:

Plant Nursery

User Admin

User
ADMIN

false

LOGIN
LOGIN

Invalid
Valid

Valid Invalid
Bouquet Gardening
Plant

Plantts Bouquets Gardening

Logout
4.6 SEQUENCE DIAGRAM:
User Database
Billing Information Request for Billing
Information
Query processing
Redirect
database value
Fetch and return data
in database
Shipping Information Request for Shipping
Information Query processing
Redirect database
value
Fetch and return data in
database

Request for Payment Query processing


Payment Information Information
Fetch and return data in
Redirect database
database value

Order review
Request for Order review Query processing
Redirect Fetch and return data in
database value database

Admin login
Request is valid
Query processing

If data is equal given Check the admin


permission information

Plants Return data


Request for plants
entry
Query processing

Redirect database Fetch and return data


value in database
Request for Bouquet Query processing
Bouquets
view

Redirect
Fetch and return data in
database value
database
Request for
Gardening view Query processing
Gardening

Redirect
database value
Fetch and return data in
database
5. Conclusion:

Online plant Nursery is a web based application, which is enlighten us with green. This
website is used to buy a plant and order a bouquet as their wish through online. The payments are
all done through online for the plants and bouquets, cash on delivery for the gardening. There are
additional feature of this website is gardening. The customer can make contract of the gardening
as garden maintenance and the customer can also make terrace gardening according to their place
with the affordable cost.

Bibliography

Refer in the Internet and websites for plant nursery.

Appendix

Coding

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<link rel="stylesheet" href="st.css">
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<?php include 'header.php'; ?>
<style>
* {box-sizing: border-box}
body {font-family: Verdana, sans-serif; margin:0}
.mySlides {display: none}
img {vertical-align: middle;}
/* Slideshow container */
.slideshow-container {
max-width: 50%;
position: relative;
margin: auto;
height: 20%;
}

/* Next & previous buttons */


.prev, .next {
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
padding: 16px;
margin-top: -22px;
color: white;
font-weight: bold;
font-size: 18px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
}

/* Position the "next button" to the right */


.next {
right: 0;
border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */


.prev:hover, .next:hover {
background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
color: #f2f2f2;
font-size: 15px;
padding: 8px 12px;
position: absolute;
bottom: 8px;
width: 100%;
text-align: center;
}

/* Number text (1/3 etc) */


.numbertext {
color: #f2f2f2;
font-size: 12px;
padding: 8px 12px;
position: absolute;
top: 0;
}

/* The dots/bullets/indicators */
.dot {
cursor: pointer;
height: 15px;
width: 15px;
margin: 0 2px;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
transition: background-color 0.6s ease;
}

.active, .dot:hover {
background-color: #717171;
}

/* Fading animation */
.fade {
-webkit-animation-name: fade;
-webkit-animation-duration: 1.5s;
animation-name: fade;
animation-duration: 1.5s;
}

@-webkit-keyframes fade {
from {opacity: .4}
to {opacity: 1}
}

@keyframes fade {
from {opacity: .4}
to {opacity: 1}
}

/* On smaller screens, decrease text size */


@media only screen and (max-width: 300px) {
.prev, .next,.text {font-size: 11px}
}
</style>
</head>
<body>
<br>

<div class="slideshow-container">

<div class="mySlides fade">


<div class="numbertext">1 / 3</div>
<img src="image/bonsai_img/Aa.jpg" style="width:100%">
<div class="text">Caption Text</div>
</div>

<div class="mySlides fade">


<div class="numbertext">2 / 3</div>
<img src="image/bonsai_img/Ba.jpg" style="width:100%">
<div class="text">Caption Two</div>
</div>

<div class="mySlides fade">


<div class="numbertext">3 / 3</div>
<img src="image/bonsai_img/Cc.jpg" style="width:100%">
<div class="text">Caption Three</div>
</div>

<a class="prev" onclick="plusSlides(-1)">&#10094;</a>


<a class="next" onclick="plusSlides(1)">&#10095;</a>

</div>
<br>

<div style="text-align:center">
<span class="dot" onclick="currentSlide(1)"></span>
<span class="dot" onclick="currentSlide(2)"></span>
<span class="dot" onclick="currentSlide(3)"></span>
</div>

<script>
var slideIndex = 1;
showSlides(slideIndex);

function plusSlides(n) {
showSlides(slideIndex += n);
}

function currentSlide(n) {
showSlides(slideIndex = n);
}

function showSlides(n) {
var i;
var slides = document.getElementsByClassName("mySlides");
var dots = document.getElementsByClassName("dot");
if (n > slides.length) {slideIndex = 1}
if (n < 1) {slideIndex = slides.length}
for (i = 0; i < slides.length; i++) {
slides[i].style.display = "none";
}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" active", "");
}
slides[slideIndex-1].style.display = "block";
dots[slideIndex-1].className += " active";
}
</script> </body>
</html>

Input/Output Design:

You might also like