1. 1 | P a g e
CAKE POINT
Online Bakery
A PROJECTREPORT
Submitted by
Nupur Roy
Under the guidance of
Assistant Professor,
Mr. Tushar Kumar Sahoo
in partial fulfillmentfor the award of the degree
of
BACHELOR OF TECHNOLOGY
in
Computer Science and Engineering
Of
INTERNATIONAL INSTITUTE OF
INFORMATION TECHNOLOGY
Bhubaneswar (Odisha)
DECEMBER 2014
2. 2 | P a g e
INTERNATIONAL INSTITUTE OF INFORMATION
TECHNOLOGY
Bhubaneswar (Odisha)
December,2014
DEPARTMENT OF COMPUTER SCIENCE & IT
INTERNATIONAL INSTITUTE OF INFORMATION
TECHNOLOGY
BHUBANESWAR (ODISHA)
CERTIFICATE
This is to certify that the dissertation entitled “online Bakery” submitted by
Nupur Roy, is approved for the award of Degree of Bachelor of Technology in
Information Technology.
PROJECT GUIDE
DATE: 02/12/2014
CO-ORDINATOR
3. 3 | P a g e
DEPARTMENT OF CSE AND IT,
IIIT BHUBANESWAR
DATE:02/12/2014
ACKNOWLEDGEMENT
The elation and gratification of this seminar will be incomplete without
mentioning all the people who helped me to make it possible, whose
gratitude and encouragement were invaluable to me. I would like to
thank God, almighty, our supreme guide, for bestowing is blessings
upon me in my entire endeavor. I express my sincere gratitude to
Assistant Prof. Mr. Tushar Kumar Sahoo, for her guidance and support
and students of my class for their support and suggestions.
Signature of the student
Name of the Student
Nupur Roy
4. 4 | P a g e
TABLE OF CONTENTS
CHAPTER NO. TITLE PAGE NO.
ABSTRACT 6
LIST OF TABLE
Table 10.1 41
Table 10.2 41
Table 10.3 41
Table 10.4 42
Table 10.5 42
LIST OF FIGURES
Figure 6.1 17
Figure 6.2 18
Figure 6.3 19
Figure 7.1 20
Figure 8.1 21
Figure 8.2 22
Figure 8.3 23
Figure 8.4 24
Figure 8.5 25
Figure 8.6 26
Figure 12.3 47
1. INTRODUCTION 7
1.1Problem definition and Objective
2. HARDWARE AND SOFTWARE REQUIREMENTS 9
3. SOFTWARE REQUIREMENT SPECIFICATION
4. DFD
5. USE CASE 11-16
6. CLASS DIAGRAM 17-19
7. ACTIVITY DIAGRAM 20
8. DATABASE SNAPSHOT
9. HOME PAGE SNAPSHOT
10. CAKE FORM SNAPSHOT
11. CUSTOMER DETAIL SNAPSHOT 38-39
12. WORK DONE TILL END SEMESTER 44
13. WORK TO BE DONE IN FUTURE 45-55
14. REFERENCES 56
6. 6 | P a g e
ABSTRACT
The project, ‘Online Bakery’, system which provides customers opportunity to
order cake as per there occasion (e.g.-birthday, wedding, anniversary
etc).Customer can go for instant cake or can order one according to their choice. It
gives the user chance to choose the flavor, color, shape, size, layers, decoration etc
of the cake and accordingly the cost to be incurred by the customer in making and
delivering the cake. It provides access to all users who want to order cake
via this site. Apart from taking cake orders . It will also supply other bakery
items (like doughnut, pastries, cupcakes, cream rolls etc) and chocolates (no home
delivery on items less than 200/-).A user interface asks customer to submit his
choices.
As soon as the customer submit his choices while ordering a cake a page will show
him all the data that he/she has submitted, this page asks him/her for his/her final
submission , once the final submission is done the data will be sent and stored in
the database with an ORDERID provided to the customer and the customer will
be shown his ORDERID on his confirmation page and ask for, when he/she needs
the delivery….
The server side will be built using php , client side using javascript , and the data
will be maintained in a postgresqldatabase.
7. 7 | P a g e
PURPOSE
To automate the selling, ordering and purchasing of a bakery as wel as manage and synchronize the
work among its employees so that they can balance the supply and demand of their bakery
SCOPE:
This project is helpful to computerize the sales ,purchase, ordering activity of cakes and other bakery
terms to enhance sales and easy demand and supply of bakery items
OVERVIEW:
The system functionality provides an overview of this document.SRS is like an agreement between
the developer and the client of how the software “COS” is to be constructed. The correct understanding
of the SRS enables us to do correct software and will be useful in future stages for the development of
the project. This system helps us to manage all the sale transactions in an easily sorted manner. The
project “Cake Ordering System” is developed to maintain and track the Sales activities.
Entity, abbreviation, acronyms
Admin(manager)-person who keeps keen sight on the activities
He updates the menu
View the sales and expenses
Receptionist-> checks the order_id of customer, delivers the parcel and collect money
accordingly and accordingly updates it in the database. He/She manages the front counter
Head baker->collect the number of order and delegate the work accordingly
Cake-chef->bake the cake and forward it to the decorating department
Cake-decorator-Decorates the cake and updates it in the table of cake_processing
Delivers->These are the people who deliver the cake to its address and collect the money and
signature of customer indicating a successful delivery
Cooch->person who update the deliveries been done successfully
Customer->A customer has various options starting from ordering a cake instantly to order a
cake selecting all the parameters himself. For ordering a cake or having an instant cake one
needs to fill in two form
Cake form: The customer can give a brief idea of the
shape,size,layers,decoration,flavor etc of a cake to the bakery and
accordingly it will be prepared
Customer-detail-form:This is a form that asks for address details of a
customer to provide easy delivery
8. 8 | P a g e
Goals of Implementation
User
Choose an option from the Menu
Purchase instant snacks/cake
Choose order instant snacks option from menu
Choose snacks from the catalog
Add the item to the kart
Choose the payment option
Take the order
Order Cake
Choose order cake option
Fill up the cake-order form
Details of the form is displayed on screen
Fill up the customer detail form
The customer details are shown on screen
The customer is asked for payment option
A final digital invoice is displayed having a unique order id (order can be received by
showing this invoice)
Baker
Receptionist checks the orders and places the first 5 orders for processing
The head-chef receives the processing order and distributes the task among the baking
dept. and decorating dept
After baking is over the cake baker updates in the database and forwards it to the
decorating department accordingly next 5 cake orders gets in the queue
After decoration(icing) is over the decorator updates it to the database and accordingly
the next 5 cakes baked ready come forward and forward the cakes to head chef for final
evaluation
After completion of each cake before passing it to the cooch, the head-chef checks the
details(Decoration, weight, look, name on cake etc)
Then the cooch updates the database with “order ready” A order ready message is send
to the customer as wel
Finally the cakes are handed over to delivers for delivery, cooch updates the database
with cake order id and the delivery boy’s name and his id
9. 9 | P a g e
After the cake is delivered to its destination the cooch updates the order id as “successfully
delivered”
OVERALL DESCRIPTION
USER CHARACTERISTICS:
Administrator: The admin of the bakery is allowed to access all the services in the system. The
admin userhas the authority to access
User: The user is allowed to access the service for ordering,purchasing and billing of bakery items
through internet media
OPERATING ENVIRONMENTFOR CLIENT SYSTEM
Processor: Intel dual core or above
Processor Speed: 1.0 GHZ or above
RAM:2 GB RAM or above
Hard Disk:40 GB hard disk or above.
Operating Systems: Windows XP/2000/7/8
Linux
Mac
ASSUMPTIONS AND DEPENDANCIES:
Basic knowledge of the computers should be known by the users and we also assure that the website
itself is expressive enough to conduct the buying process if still any problem persist usercan call the
toll free helpline number of the website
Presently the s/wdonot have any provision for online invoice generation of slips required to purchase
items necessary for bakery process in the kitchen this has to be handled manually(assumption for
chefs)
FUNCTIONALREQUIREMENT:
Login Module:
Introduction: Authorized users are allowed to access.
Input: User enters the User type, Username and password
Process Definition: Checks User type, Username and password is valid or not.
10. 10 | P a g e
Output: User is directed to next page or shows the message box “Login Failed”.
Registration module: (major project)
Introduction: Only Admin can access the page.
Input: Admin has the authority
To check sales and accounts
Process Definition: Checks same username and password exists or not and also checks whether all the
fields are entered.
Output: Employee gets there share of work
Generates a report of sales and account
Report Module:
Introduction: Only Admin can access the page and check the report.
Input: username, password ,user type-->account_infosales table
Process Definition: It retrieve’s all the information stored from different tables.
Output: Requested report is generated.
Add_new_item Module:
Input: category, name of item, rate ,photo ,description
Process Definition: A new item is added which includes the name of the item its photo,followed by a
description and the rate. Also the details can be edited if necessary only by the admin. Along with this
any of the details can easily be deleted by him.
Output: A new item is added to the new arrival gallery
Add_item Module:
Description: this is done just after the website is handed over to client. The details of each item to be available on
this site will be fed into the database along with all its details
Input: category,item name, rate, photo,description
Process Definition: This has pre fed info of the items available on the site . .
Output: This module will be used in retrieving the data of bakery items while they are selected.
11. 11 | P a g e
Order_cake module:
Input: No. of layers on cake, wt.of each layer, flavor on each layer, type of icing, flavor of icing, decoration, date of
delivery, name on cake
Process Definition: Here the customer orders for the cake he desires, variety of option are available with
him starting from the taste to the look of his/her dream cake
Output:the system keeps the order in a queue to be processed ,assigning it a unique order_id
Display_order_detail module:
Input: order_ id, view option (clicked)
Process Definition: Here the customer can view the details of his order by providing the order_id or
clicking on view button(this service is available just after the order is made)
User can edit the criterias of order made by him (major project)
Output: A separate page shows the user all the info regarding the order they have placed
Customer_detail module:
Input: Name of customer, Address of delivery, State, Pin, Mobile no,email-id
Process Definition: Here the customer orders for cake by providing his name and other details for
identification and the software assigns the order_id to the customer_info table.
Customer_info:{ : Name of customer, Address of delivery, State, Pin, Mobile no ,email -id}
Output: A separate page leads to the confirmation page where the customer views all his info entered
and edits it if necessary (major project). All the information is being saved in the database.
Confirm_customer_detail module:
Input: submit(button),order_id
Process Definition: Here the customer can view confirm and approve all the details entered by him in the
customer-detail form by pressing the place-an-order (button)
Output: the system sents a unique order id to the customer mobile or email-id with some details of
order_placed
Output:The final order is placed and the user is directed towards payment mode.
Payment_mode module (major project)
Cash on delivery
Online transaction
12. 12 | P a g e
Sales module:
Input: Order no
Process Definition: On the day of delivery, as soon as the customer produces the digital invoice and his
unique order number, the user checks in the system whether that order number and order is available or
not. If so he will pass the bill of order to the production counter.
Output: As soon as this procedure is done, the customer is delivered with his/her parcel to be taken away
As soon as the parcel is delivered the database is updated with it
EXTERNALINTERFACE REQUIREMENT:
USER INTERFACES:
GUI is provided by the software which is self-explanatory.
User friendly forms, menus and options are contained by the software.
Designing of the product have to be studied by the developer.
Software gives warnings with necessary assistance to the clients.
HARDWARE INTERFACES:
Keyboard and mouse are the input for all the systems designed forms.
Keyboard and mouse will provide userfriendly interaction between the userand the systemand the
forms can be viewed through a monitor in GUI.
At the bakery barcode reader shall be used to read the price of packed items
SOFTWARE INTERFACES:
The software is developed with all the basic controls with the GUI developed with HTML and
javascript, using PHP as the SSL
A confirmation prompt is presented by the systemto the userlike continue or cancel operation, if any
modifications to be done.
All the data’s inserted will be stored in PGSQL.
OTHER NONFUNCTIONALREQUIREMENT:
PERFORMANCE REQUIREMENT:
13. 13 | P a g e
Good memory space is required.
Should be Error-free.
Large amount of data should be handled easily.
SAFETY REQUIREMENT:
Backups can be done regularly.
SECURITY REQUIREMENT:
A password is given to both client and server side of database
Administrator and the other end users,who have their own username and password,have only the
right to open the software.
No login/registration page is available for the customers.they can directly order an item without
bothering to open an account
DFD:
14. 14 | P a g e
Figure-6.1
Figure-6.2
Online BakeryCustomer
Data entry
Digital invoice
INSTANT CAKE
Data Flow Diagram (For Customer)
DFD-0
15. 15 | P a g e
Figure-6.3
item
Record
Kart
Record
View
Item
0.1
Add item
to Kart
0.2
Customer
Detail
0.3
Input data
fetch item detail
fetch selected item detail
item id
enter customer detail
on submit
view customer detail
item detail
invoice display
on adding to kart
fetch
customer
detail
DFD-1
16. 16 | P a g e
record
Customer_detail
0.3.1
Confirmdetail
0.3.2
Invoice
0.3.3
submit
on submit
ItemRecordKartRecord
item details
displayinvoice
inputdetails
fetch customerdetails
on submitting item
view customerdetailfetch orderid
DFD-2
17. 17 | P a g e
Online BakeryCustomer
Data entry
Digital invoice
Data Flow Diagram (for customers)
ORDERED CAKE
DFD-0
18. 18 | P a g e
Cake
Detail
Cust_rec
ord
cake order
form
0.1
Confirmcake
details
0.2
Customer
Detail
0.3
Input data
fetch item detail
fetch cake detail
item id
enter customer detail
on submit
item detail
confirm
fetch customer
detail
DFD-1
display invoice
view details
OrderCake
19. 19 | P a g e
record
Customer_detail
0.3.1
Confirmdetail
0.3.2
submit
on submit
Item
Record
Customer
Record
item details
display invoice
input details
fetch customer details
on submitting item
fetch order-id
invoice
0.3.3
view details
DFD-2
Orderedcake
21. 21 | P a g e
6. Use Case
Fig-6.1: Use Case: Admin
ADMIN
Update Menu
Update Delivery
Details
ONLINE BAKERY
Use Case-Admin
22. 22 | P a g e
Fig-6.2: Use Case: Customer
Fig-6.3: Use Case: Head-chef
Receive Cake
customer
View cake
items
Order for
instant cake
Order cake
GivesFeedback
Pay for cake
Online Bakery
Use Case-Customer
23. 23 | P a g e
Fig-6.3: Use Case: Decorator
Check Cake
Datails
Delegate Work
Update Process
Database
Online Bakery
HEAD CHEF
Use Case-Head-Chef
24. 24 | P a g e
Class Diagram
Cake Decoration
Update Process
Database
DECORATORS
ONLINE BAKERY
Use Case-Decorator
26. 26 | P a g e
Customer_Details
Name-
Address-
State-
Pin-
Mobile_no-
E-mail-id-
Fill_details()
View_details()
Change()
Order cake
No.of Layers-
Flavour of cake-
Types of icing-
Decoration-
Date of delivery-
Name on cake-
Change_details()
View_details()
Invoice
Order-Id
Name
generate_invoice()
refund()
cancel()
Instant cake
Name of cake
price
quantity
order()
add_in_kart()
ClassDiagram
27. 27 | P a g e
8. Sequence Diagram
Customer Admin Cake Receptionist HeadBaker Cake Chef
Cake
Decorater
Show
cake/Order
cake
Update cake
menu
Listedthe order
Receive the
order
Bake the cake
Passfor
decoratation
View salesand
expanses
Information
relatedcake
ready
Notifiedvia
givingsms
SequenceDiagram
28. 28 | P a g e
8. Collaboration Diagram
Customer
Admin
Cake
System
Cake chef
Decoration
Viewdetails
Order
Notified via sms
Enter the info
Receive the order
Check the order
Complete the
cake
CollaborationDiagram
29. 29 | P a g e
8. State- Chart Diagram
State Chart
Admin Updation
Update Menu View Detail
Invalid
Data
Update
view
30. 30 | P a g e
STATE CHART
RECEPTION
View order for
instant cake
View order for
parties cake
Print bill
Update delivery
details
View report
31. 31 | P a g e
STATE-CHART
Order Procedure
PartyOrderInstant Order
FillCake Details
FillCustomer
Details
Generate Digital
Invoice
ViewCustomer
Details
confirmcake detail
submit
submit
confirm
view
submit
submit
make changes
invalid
data
edit details
32. 32 | P a g e
STATE CHART
IN THE KITCHEN
Check cake
details
Delegate work
Bake cake Cake decoration
Forward to
decorate
Forward to
delivery
Delivery
Update main
database
Update delivery
database
Update
decoration progress
Update
Ready for
delivery
Confirm baking
completion
Confirm decoration
completion
33. 33 | P a g e
10. Database Snapshot
Fig 10.1 – Database
Fig 10.2 – Customer_detail Table
34. 34 | P a g e
Fig 10.3 – Instant_item Table
Fig 10.4 – Instant_kart Table
Fig 10.5 – Order_details Table
Fig 10.9 – FrontPage
38. 38 | P a g e
12. Work done till End Semester
Till End-Semester, we have gathered all the information required in order to
complete online bakery and documented it in the form of an SRS. Then, we tried
to explain the customer working procedure through DFD proceeded with the UML
diagram, we designed the schema for our database. After completion of the
schema
Right now, we are working on the server side Coding (using PHP) and client side
using javascript the designs are being done using CSS Both these tasks are
being performed parallely. Following are the snapshots of some of the work that
has been completed:
Fig 12.1 – Screenshot of Home Page
This is the home page of our portal.This page contains link to differen order
scheme two of which have been described in our webpage i.e to order instant
cakes and order cake as per once choice .
The bottom of the page contains a ”VIEW”’ option for users to view different
items on the site.
a ”ORDER”’ option for users to place an order for cake.
39. 39 | P a g e
Fig 12.2 – Screenshot of cake fill in form
This is what a cake form looks like it user can pace an order for a
cake by varyingthe differentparametersand have a cake of his
choice.The various parametersinclude size,flavor,icingetc
Fig 12.3 – Screenshot of Customer details form
This is the page where the users fill in his details to the system. The users enter
their name and address and submit the information. The ‘Submit’ button redirects
the user to the confirmation page.
.
40. 40 | P a g e
13.Work to be done in Future
Till End-Semester, we have completed all features in the customer part
of our portal. These features include options for customer to order
instant cake or place an order for cake of there choice, through various
options available on form
In the future, we plan to add features to the modules related to Admin,
receptionist, head-chef, chefs, Decorator, Delivers and . These features
include -.
1. Login options for different type of users in the bakery shop .
2. The admin(manager) has an authority to update the menu of
different items as well as check the updates.
3. All the orders saved in the database could be accessed by the head-
chef which is again delegated to the different departments of
bakery e.g baking , decoration .
4. After delegation the cake order is placed in the baking department
where the chef after checking the details of the cake starts making
cake.
5. After the baking process is over the baked cake is forwarded to the
decorating department for further decoration as well as baker
update the database.
6. Cake on reaching to the decorating department the decoraters
check the decoration details of the cake and starts the decoration
process.
7. On completion of decoration it is forwarded for delivery as well as
the databases updated. This all about the kitchen.
41. 41 | P a g e
8. On success full delivery of cake the receptionist updates the
database of successful delivery simultaneously a successful
delivery message is sent to the customer.
9. payment option will also be implemented which will include cash
on delivery and online payment here we will be implementing the
payment gateway concept.
10. Various new items other than cakes will be added to the cart.
42. 42 | P a g e
14. References
[1] Quora – http://www.quora.com
[2] Stackoverflow – http://www.stackoverflow.com
[3] Rajib Mall, “Fundamentals of Software Engineering,” Requirement
Gathering and Specification 4.2, pp. 114-129 ,Gantt chart, 3.9.2, pp. 89,
Unit Testing, 10.6, pp. 334.
[4] Php from the Php beginners guide.
[5] Database Design using pgsql from google.