Watchsem 2
Watchsem 2
PROJECT REPORT
ON
SUBMITED
TO
(MCA-I, SEM.-Il)
BY
CERTIFICATE
This is to certify that,the project entitled “Online Watch Store”,being submitted for
the partial fulfillment of Master of Computer Application by her/him to Sinhgad
Institute of Management and Computer Application affiliated to Savitribai Phule
Pune University, Pune is the result of the original work completed by Vaishnavi
Sawant under the guidance of Prof.Sarjerao Ghatage .
To the best of our knowledge and belief, this work has not been previously
submitted by the award of any degree or diploma of Savitribai Phule Pune University
or any other University.
PLACE: Pune
DATE:
External Examiner
DECLARATION
Vaishnavi Sawant
PLACE: PUNE
DATE:
ACKNOWLEDGEMENT
The project developed for the MCA was not possible without the persons
and organizations that helped me in completing this. I am deeply grateful to all
whose enthusiasm and energy transformed my vision of this study into reality.
I take this opportunity to thank my guide Prof. Sarjerao Ghatage , project
coordinator Dr. Ashwini Bramhe and our Director Dr. Vilas Nandavadaker,
for encouragement and guidance throughout the progress of this report.
Vaishnavi Sawant
INDEX:
Sr.No Page.no
Details
1 Introduction
Component Diagram
3.9
The existing system is a manual system. In the existing watch store, all the
activities are done manually. All data entry is performed by writing data into the
book, paper documents, etc. The proposed system has all activities done online.
In the existing system, the bills are prepared manually and thus there is a chance
of occurring errors and the calculations are not so accurate. The proposed
system will thus give us the accurate results. Various information such as
customer details, product details, supply detail stock and customer requirements
are handled manually. In the proposed system we will store all the details in
databases. When there is a need for retrieving details, searching is unavoidable
in the existing system but will be easier in the proposed system.
Only regular customers and customers near store will come to the store. So
if we propose an online system, customers can buy products online whenever
they want. When any new products are available, customer is not aware of the
new product. The store has to advertise it to reach to the people. In the proposed
system, people will automatically get the information about the new products
and various offers available. Therefore, existing system is time consuming as
everything is manual but on the other side, the proposed system will be time
saving.
The online watch store that allows users to check for various watch products
available at the online store and purchase online. The project consists of list of
watch products displayed in various categories. If the user likes the product, he
may add it to his shopping cart. Once the user wishes to checkout, he must
register on the site first. One can then login using same id and password next
time. Now he may pay through cash on delivery.
Once the purchase is done, bill is generated and delivered to the user
on the time of payment. Only admin can do the required changes and updates in
the system. Here we have used php, MYSQL, HTML and CSS to develop the
system.
1
1.3 Advantages and Disadvantages
Advantages:
1.Security.
2.User friendly.
3.Speed and accuracy.
4.Efficiency.
5.Flexibility.
Disadvantages:
1.Maintenance.
2.Time consuming.
3.Chances of human errors.
4.Manpower required.
5.Searching difficult.
2
Chapter 2-System Analysis
1.Processor i5
2.RAM system at least 1 Gb or above
3.Harddisc minimum 5Gb or above
4.Visual Studio,Xamp
1.Operational feasibility-
The system will be developed according to the user needs and will have all the
specification demanded by the user. The user will already be familiar with the
facility provided by any website. The features provided in the system are
standard and extra feature of security which is provided with the system is
unique.
3
2.Technical feasibility:
The software is developed in Intel processor which is commonly available in
the market can be used to implement in the system. The hardware and software
requirements are minimal and no specialization or special training is required as
the user is already familiar with the system. The size of database depends on
use of user.
3.Economical feasibility:
Since the system is Linux based and developed in php, the economic feasibility
is unmatched to any other system in existence. The system configuration is also
minimal. Thus the investment required is very less and output is as good as any
other system.
4
Chapter 3 - System Analysis
3.1. Er-Diagram
Pname
Address desc _______
Name Price
rid
Password *
1
Users View
s Products
Phone_no
Add to * Mycart
Pname
Email_id
mobileno
Oid
* Handle by
1 Admin
Pnam
e Order
Amount
aid
username
Password
3.2 Table Structure:
Users
Products:
Admin:
6
Cart:
MyCart:
Orders:
7
3.3 USECASE DIAGRAM
Login
Validate
customer
Select
product
Add to cart
Place
order
User Make
payment
Admin
Add
Product
View
order
8
3.4 Class Diagram
Users
1 Products
*
+ Name: String
+ Email_id: String + pname: String
+ Phone: int +description: String
+ Password: String + price: float
+ Address: String
* + add ()
+ add () +update ()
+ delete ()
*
*
1
Order_details
Admin
User manual:
+ O_id: int
+ Name: String + pname : int
+ Email_id: string + amount: float
+ Phone: int
+ Password: String
+ Address: String
9
3.5 STATE CHART DIAGRAM
[Login]
Idle Login
[View product]
[Logout]
Select product
[Add to cart]
Place order
[Confirm order]
[Failed]
Make payment
[If successful ]
Generate bill
10
3.6 SEQUENCE DIAGRAM
Check for Is
product available
product
Product Available
available
Place order
11
3.7 COLLABORATION DIAGRAM
1. Select product
5. Place Order
:User Online Watch
4. Ask for order Store
6. Generate bill
3. Return price
2. Filter Products
& description
according to prices
8. Database
Updated 7. Update database
items
Database
12
3.8 Deployment Diagram
Linux Server
Apache Server
Postgres Server
Admin
User
13
3.9 Screens
Home Page:
14
Registeration Page:
Admin Login
\
15
Product Categories
16
Add to Cart Page :
17
My Cart Page :
18
Chapter 4-Coding
<?php
include_once('connection.php');
function test_input($data){
$data=trim($data);
$data=stripslashes($data);
$data=htmlspecialchars($data);
return $data;
}
if($_SERVER['REQUEST_METHOD']=="POST"){
$username=test_input($_POST["login"]);
$password=test_input($_POST["pass"]);
$stmt= $conn->prepare("SELECT * FROM register WHERE
email='$username'");
$stmt->execute();
$users=$stmt-> fetchAll();
foreach($users as $user){
if(($user['email']==$username) && ($user['psw']==$password)){
header("location: userdash.html");
}
else{
echo "<script language='javascript'>";
echo "alert('Wrong Information')";
echo "</script>";
die();
}
}
}
?
19
Chapter 5-Future Enhancement
20
Chapter 6 - Conclusion
21
Chapter 7- Bibliography
1.www.google.com
2.www.cloudways.com
3.www.w3schools.com
4.www.youtube.com
5.Wikipedea
Reference Books