0% found this document useful (0 votes)
24 views29 pages

DBMS Project

Uploaded by

officialanas589
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)
24 views29 pages

DBMS Project

Uploaded by

officialanas589
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/ 29

MINI-PROJECT REPORT ON

Stationary Shopping Center

SUBMITTED IN PARTIAL FULFILLMENT OF THE

REQUIREMENTS FOR THE AWARDS OF THE DEGREE OF

BACHELOR OF ENGINEERING

Submitted by

Pardeshi Suhani Nilesh 72266006F

Pawar Vaibhavi Abhiman 72340212E

Ahire Payl Sachin 72265934C

Patil Padmaja Sanjiv 72340211G

Submitted to
Prof. Misba Kausar

DEPARTMENT OF COMPUTER ENGINEERING


Academic Year 2023-24
i
VISION

To build strong research and learning environment producing


globally competent professionals and innovators who will ontribute
o the betterment of the society.

MISSION

 To create and sustain an academic environment Conducive to


the highest level of research and teaching.

 To provide state-of-the-art laboratories which will be up to


date with the new developments in the area of computer
engineering.

 To organize competitive event, industry interactions and global


collaborations in view of providing a nurturing environment for
students to prepare for a successful career and the ability to
tackle lifelong challenges in global industrial needs.

 To educate students to be socially and ethically responsible


citizens I view of national and global development.

CERTIFICATE
This is to certify that,

Ahire Payal Sachin 72265934C

Patil Padmaja Sanjiv 72340211G

Pardeshi Suhani Nilesh 72266006F

Pawar Vaibhavi Abhiman 72340212E

of Final Year, Computer Engineering, Maulana Mukhtar Ahmad


Nadvi Technical Campus, Malegaon have completed the Mini-
Project work satisfactorily in the course of Deep Learning [410255]
for the Academic Year 2023-24 as prescribed in the Curriculum.

Place: MALEGAON Date:

Subject in-charge HOD Principal

Prof. Misba Kausar Dr. Salman Baig Dr. Aqueel


Ahmad Shah
INDEX

Topic page No.

1: INTRODUCTION 5

2:LITERATURE SURVEY 6

3:METHODOLOGY 7

4:RESULT AND DISCUSSION 10

5:CONCUSION 25

6:REFERENCES 26
1:INTRODUCTION
In today's digital age, the convenience of online shopping has transformed
the way we procure everyday essentials. One such essential is stationery, which is
vital for students, professionals, and businesses alike. Our project aims to create a
comprehensive online Stationery Shopping Centre that caters to all stationary needs,
from basic school supplies to specialized office equipment.
This online platform will provide a seamless shopping experience, offering a
wide range of stationery products at competitive prices. Customers can browse
through categories such as writing instruments, paper products, office supplies, art
and craft materials, and more. With user-friendly interfaces and secure payment
gateways, our platform ensures a hassle-free shopping experience for all users.
Additionally, our Stationery Shopping Centre will feature a blog section with
informative articles, tips, and DIY ideas related to stationery, making it a one-stop
destination for stationery enthusiasts. Through this project, we aim to revolutionize
the way people shop for stationery, making it more convenient and accessible to
everyone.

Computer Department,
MMANTC Page 5
2:LITERATURESURVEY
A Multistage Evolutionary Algorithm for the online stationary
shopping centre Problem

To tackle the online stationery shopping center problem using a multi-


stage evolutionary algorithm, we begin by initializing a population of potential
solutions, each representing a unique combination of stationery items for sale. These
solutions are evaluated based on criteria like profitability and inventory management.
Next, individuals are selected as parents for the next generation, employing methods
like tournament selection or roulette wheel selection. Through crossover, genetic
material from selected parents is combined to generate new solutions. Mutation
introduces diversity, guarding against premature convergence. After evaluating the
newly created solutions, survivor selection ensures the fittest individuals advance to
the next generation, using techniques such as elitism or tournament selection. The
process iterates until a termination condition is met, like reaching a maximum
number of iterations or achieving satisfactory results. Continual parameter
refinement and adaptive mechanisms aid in algorithm performance and adaptability
to evolving user preferences or environmental changes.
on retail.

Computer Department,
MMANTC Page 6
3 METHODOLOGIES

1 Market Research:

Understand the demand for stationery items online, target audience demographics,
and competitors.

Define Objectives:

Clearly outline the goals of the project, such as sales targets, customer acquisition, or
brand awareness.

Platform Selection:

Choose the right e-commerce platform that suits the project’s requirements, such as
Shopify, Magento, or WooCommerce.

Website Development:

Design and develop the online store with user-friendly navigation, attractive visuals,
and secure payment gateways.

Product Catalog:

Populate the store with a comprehensive range of stationery products, including


notebooks, pens, pencils, organizers, and office supplies.

Marketing Strategy:

Implement digital marketing tactics such as SEO, social media marketing, email
campaigns, and influencer partnerships to drive traffic and sales.

Computer Department,
MMANTC Page 7
Agile Approach:
Adopt an agile methodology for project management, allowing for flexibility
and quick adaptation to changes throughout the development process.

Customer Service:

Provide excellent customer support through various channels like live chat, email, and
phone to ensure a positive shopping experience.

Analytics and Optimization:

Monitor website performance, analyze customer behavior, and make data-driven


decisions to improve conversion rates andoverall efficienc

Computer Department,
MMANTC Page 8
Use Case Diagram

Computer Department,
MMANTC Page 9
4 .Results And Discussion
Login view

: Login view
The login view should include fields for users to enter their credentials, such as
username/email and password. User authentication ensures that only registered users
can access the shopping center's features.

User Interface (UI): Design a form where users can input their username/email and
password.Validation: Implement validation to ensure that the required fields are filled
and that the password meets certain criteria (e.g., minimum length).Authentication:
Connect the login form to a backend system that can authenticate users. This usually
involves checking the entered credentials against a database of registered users.Session
Management: Upon successful login, create a session or token to keep the user logged
in until they log out or the session expires.Forgot Password: Optionally, include a
"Forgot Password" feature where users can reset their password if they forget it.
Security: Ensure that passwords are securely stored using hashing algorithms and that
sensitive information is transmitted over HTTPS.
Do you need guidance on any specific aspect of implementing the login view?

Computer Department,
MMANTC Page 10
cart view

 Product Image: A visual representation of the stationery item.


 Product Name: Clearly labeled name of the product.
 Price: Displayed prominently to indicate the cost.
 Description: A brief overview of the product's features or specifications.
 Add to Cart Button: Allows users to add the item to their shopping cart.
 Rating: Optionally, display a rating or review score for the product.
 Availability: Indicates whether the item is in stock or out of stock.
 Promotional Badges: If applicable, badges indicating special offers, discounts, or new
arrivals.
 Quick View: A button allowing users to quickly see more details about the product
without leaving the page.
 Share Button: Allows users to share the product with others via social media or email.
 These elements provide users with essential information about the product
while maintaining a clean and user-friendly design.

Computer Department,
MMANTC Page 11
dashboard view

 Total number of products available


 Number of active users
 Daily/weekly/monthly sales revenue
 Top-selling products
 Conversion rates
 Customer satisfaction ratings
 Inventory levels
 Marketing campaign performance
 Website traffic and bounce rates
 Customer demographics
 Customer acquisition cost
 Average order value

Computer Department,
MMANTC Page 12
. database view

Computer Department,
MMANTC Page 13
Fig product view

Computer Department,
MMANTC Page 14
APPENDIX-A (Coding)

i. Login view:

<?php
$title = "Administration section";
require_once "./template/header.php";
?>

<form class="form-horizontal" method="post" action="admin_verify.php">


<div class="form-group">
<label for="name" class="control-label col-md-
4">Name</label>
<div class="col-md-4">
<input type="text" name="name" class="form-control">
</div>
</div>
<div class="form-group">
<label for="pass" class="control-label col-md-4">Pass</label>
<div class="col-md-4">
<input type="password" name="pass" class="form-
control">
</div>
</div>
<input type="submit" name="submit" class="btn btn-primary">
</form>

<?php
require_once "./template/footer.php";
?

Computer Department,
MMANTC Page 15
Cart View

?php
// the shopping cart needs sessions, to start one
/*
Array of session(
cart => array (
book_isbn (get from $_POST['book_isbn']) => number of books
),
items => 0,
total_price => '0.00'
)*/
session_start();
require_once "./functions/database_functions.php";
require_once "./functions/cart_functions.php";

// book_isbn got from form post method, change this place later.
if(isset($_POST['bookisbn'])){
$book_isbn = $_POST['bookisbn'];
}

if(isset($book_isbn)){
// new iem selected if(!
isset($_SESSION['cart'])){
// $_SESSION['cart'] is associative array that bookisbn => qty
$_SESSION['cart'] = array();

$_SESSION['total_items'] = 0;
$_SESSION['total_price'] = '0.00';
}

if(!isset($_SESSION['cart'][$book_isbn])){
$_SESSION['cart'][$book_isbn] = 1;
} elseif(isset($_POST['cart'])){
$_SESSION['cart'][$book_isbn]++;
unset($_POST);
} }
// if save change button is clicked , change the qty of each bookisbn
if(isset($_POST['save_change'])){
foreach($_SESSION['cart'] as $isbn =>$qty){
if($_POST[$isbn] == '0'){
unset($_SESSION['cart']["$isbn"]);
} else {
$_SESSION['cart']["$isbn"] = $_POST["$isbn"];
} } }
// print out header here
$title = "Your shopping cart";

Computer Department,
MMANTC Page 16
require "./template/header.php";

if(isset($_SESSION['cart']) && (array_count_values($_SESSION['cart']))){


$_SESSION['total_price'] = total_price($_SESSION['cart']);
$_SESSION['total_items'] = total_items($_SESSION['cart']);
?>
<form action="cart.php" method="post">
<table class="table">
<tr>
<th>Item</th>
<th>Price</th>
<th>Quantity</th>
<th>Total</th>
</tr>
<?php
foreach($_SESSION['cart'] as $isbn => $qty){
$conn = db_connect();
$book = mysqli_fetch_assoc(getBookByIsbn($conn, $isbn));
?>
<tr>
<td><?php echo $book['book_title'] . " by " . $book['book_author'];
?></td>
<td><?php echo "$" . $book['book_price']; ?></td>
<td><input type="text" value="<?php echo $qty; ?>" size="2"
name="<?php echo $isbn; ?>"></td>
<td><?php echo "$" . $qty * $book['book_price']; ?></td>
</tr>
<?php } ?>
<tr>
<th>&nbsp;</th>
<th>&nbsp;</th>
<th><?php echo $_SESSION['total_items']; ?></th>
<th><?php echo "$" . $_SESSION['total_price']; ?></th>
</tr>
</table>
<input type="submit" class="btn btn-primary" name="save_change" value="Save
Changes">
</form>
<br/><br/>
<a href="checkout.php" class="btn btn-primary">Go To Checkout</a>
<a href="books.php" class="btn btn-primary">Continue Shopping</a>
<?php
} else {
echo "<p class=\"text-warning\">Your cart is empty! Please make sure you add
some books in it!</p>";
}
if(isset($conn)){ mysqli_close($conn); }
require_once "./template/footer.php

Computer Department,
MMANTC Page 17
2 . admin verify
<?php
session_start(); if(!isset($_POST['submit']))
{
echo "Something wrong! Check
again!"; exit;
}
require_once "./functions/database_functions.php";
$conn = db_connect();

$name = trim($_POST['name']);
$pass = trim($_POST['pass']);

if($name == "" || $pass == ""){


echo "Name or Pass is
empty!"; exit;
}

$name = mysqli_real_escape_string($conn, $name);


$pass = mysqli_real_escape_string($conn, $pass);
$pass = sha1($pass);

// get from db
$query = "SELECT name, pass from admin";
$result = mysqli_query($conn, $query);
if(!$result){
echo "Empty data " .
mysqli_error($conn); exit;
}

$row = mysqli_fetch_assoc($result);

if($name != $row['name'] && $pass != $row['pass']){


echo "Name or pass is wrong. Check again!";
$_SESSION['admin'] = false;
exit;
}

Computer Department,
MMANTC Page 18
2. index view

<?php

session_start();

$count = 0;
// connecto database

$title = "Index";

require_once "./template/header.php";
require_once "./functions/database_functions.php";
$conn = db_connect();
$row = select4LatestBook($conn);
?>

<!-- Example row of columns -->


<p class="lead text-center text-muted">Latest books</p>
<div class="row">
<?php foreach($row as $book) { ?>
<div class="col-md-3">
<a href="book.php?bookisbn=<?php echo $book['book_isbn']; ?>">
<img class="img-responsive img-thumbnail" src="./bootstrap/img/<?php
echo $book['book_image']; ?>">
</a>
</div>
<?php } ?>
</div>
<?php
if(isset($conn)) {mysqli_close($conn);}
require_once "./template/footer.php";
?>

Computer Department,
MMANTC Page 19
3. contact view

<?php
$title = "Contact";
require_once "./template/header.php";
?>

<div class="row">

<div class="col-md-3"></div>

<div class="col-md-6 text-center">

<form class="form-horizontal">

<fieldset>

<legend>Contact</legend>

<p class="lead">I’d love to hear from you! Complete the


form to send me an email.</p>

<div class="form-group">
<label for="inputName" class="col-lg-2 control-
label">Name</label>
<div class="col-lg-10">
<input type="text" class="form-control"

id="inputName" placeholder="Name">
</div>
</div>
<div class="form-group">

<label for="inputEmail" class="col-lg-2 control-


label">Email</label>
<div class="col-lg-10">
<input type="text" class="form-control"
id="inputEmail" placeholder="Email">
</div>
</div>

<div class="form-group">
<label for="textArea" class="col-lg-2 control-
label">Textarea</label>
<div class="col-lg-10">
<textarea class="form-control" rows="3"
id="textArea"></textarea>

Computer Department,
MMANTC Page 20
<span class="help-block">A longer block of help text that breaks onto a new line
and may extend beyond one line.</span>
</div>
</div>
<div class="form-group">

<div class="col-lg-10 col-lg-offset-2">

<button type="reset" class="btn btn-


default">Cancel</button>
<button type="submit" class="btn btn-
primary">Submit</button>
</div>
</div>

</fieldset>
</form>
</div>

<div class="col-md-3"></div>
</div>

<?php

require_once "./template/footer.php";

Computer Department,
MMANTC Page 21
6 .check out view
<?php
// the shopping cart needs sessions, to start one
/*
Array of session(
cart => array (
book_isbn (get from $_GET['book_isbn']) => number of books
),
items => 0,
total_price => '0.00'
)
*/
session_start();
require_once "./functions/database_functions.php";
// print out header here
$title = "Checking out";
require "./template/header.php";

if(isset($_SESSION['cart']) && (array_count_values($_SESSION['cart']))){


?>
<table class="table">
<tr>
<th>Item</th>
<th>Price</th>
<th>Quantity</th>
<th>Total</th>
</tr>
<?php
foreach($_SESSION['cart'] as $isbn => $qty){
$conn = db_connect();
$book = mysqli_fetch_assoc(getBookByIsbn($conn, $isbn));
?>
<tr>
<td><?php echo $book['book_title'] . " by " . $book['book_author']; ?></td>
<td><?php echo "$" . $book['book_price']; ?></td>
<td><?php echo $qty; ?></td>
<td><?php echo "$" . $qty * $book['book_price']; ?></td>
</tr>
<?php } ?>

<tr>
<th>&nbsp;</th>
<th>&nbsp;</th>
<th><?php echo $_SESSION['total_items']; ?></th>
<th><?php echo "$" . $_SESSION['total_price']; ?></th>
</tr>
Computer Department,
MMANTC Page 22
Computer Department,
MMANTC Page 23
</table>
<form method="post" action="purchase.php" class="form-horizontal">
<?php if(isset($_SESSION['err']) && $_SESSION['err'] == 1){ ?>
<p class="text-danger">All fields have to be filled</p>
<?php } ?>
<div class="form-group">
<label for="name" class="control-label col-md-4">Name</label>
<div class="col-md-4">
<input type="text" name="name" class="col-md-4" class="form-
control">
</div>
</div>
<div class="form-group">
<label for="address" class="control-label col-md-4">Address</label>
<div class="col-md-4">
<input type="text" name="address" class="col-md-4" class="form-
control">
</div>
</div>
<div class="form-group">
<label for="city" class="control-label col-md-4">City</label>
<div class="col-md-4">
<input type="text" name="city" class="col-md-4" class="form-
control">
</div>
</div>
<div class="form-group">
<label for="zip_code" class="control-label col-md-4">Zip Code</label>
<div class="col-md-4">
<input type="text" name="zip_code" class="col-md-4"
class="form-control">
</div>
</div>
<div class="form-group">
<label for="country" class="control-label col-md-4">Country</label>
<div class="col-md-4">
<input type="text" name="country" class="col-md-4" class="form-
control">
</div>
</div>
<div class="form-group">
<input type="submit" name="submit" value="Purchase" class="btn btn-
primary">
</div>
</form>
<p class="lead">Please press Purchase to confirm your purchase, or Continue Shopping to
add or remove items.</p>
<?php

Computer Department,
MMANTC Page 24
else {
echo "<p class=\"text-warning\">Your cart is empty! Please make sure you add
some books in it!</p>";
}
if(isset($conn)){ mysqli_close($conn); }
require_once "./template/footer.php";
?>

Computer Department,
MMANTC Page 25
5: CONCLUSION

Conclusion

In conclusion, the rise of online stationery shopping centers has revolutionized the
way consumers procure stationery products. With their convenience, extensive
product selection, competitive pricing, and user-friendly interfaces, these platforms
have become integral to modern purchasing habits. Their accessibility and efficiency
cater to the needs of both individual consumers and businesses, making them a
cornerstone of the stationery retail industry. As technology continues to advance,
online stationery shopping centers are poised to further dominate the market, offering
unparalleled convenience and satisfaction to customers worldwide.

Computer Department,
MMANTC Page 26
6:REFERENCES

 OOK REFERENCES Brett McLaughlin,“PHP & MySQL: The Missing


Manual”, Vikas publishinghouse pvt., Ltd., First Edition, 2000. Luke Welling
& Laura

 Thompson,“PHP & MySQL Web Development”, TataMcGraw Hill, Second


Edition, 1996. Nilesh Shah,“Database System Using Oracle”,Pearson

 Publication,SecondEdition, 2021 P.J Deitel & H.M Deitel,“Internet and World


Wide Web How to Program”,Prentice Hall of India,Fourth Edition,

 2021 Srinivasan Desikan and Gopalasamy Ramesh,“Software Testing:


Principles andPractices 2006”,Pearson Publication,Seventh Edition,
2009.

WEB REFERENCES

 https://www.php.net/manual/en/language.references.php

 https://www.webreference.com https://

 w.w.w.phptherightway.com https://www.w3schools.

Computer Department,
MMANTC Page 27
Computer Department,
MMANTC Page 28
Computer Department,
MMANTC Page 29

You might also like