Вы находитесь на странице: 1из 29

1

Chapter 1

Introduction

1
Introduction
In todays busy world, People dont have time for their personal needs. And the technology is so
fast that anyone can do anything by just sitting in a room. The internet is the way that helps a
person in all aspects. If someone wishes to buy and view things, he can but online with the help
of internet.
Nowadays there are very least organizations which are manual. Everything is going to be
computerized and online whether it is banking, advertising or shopping. We are trying to help
people to take their life easier by providing online shopping. The Electronic Bakery Ordering
System contains two modules.

Admin Section
Customer Section

The above sections will be discussed in more detail later in the document. The main motto of
Electronic bakery ordering system is to make the workflow flexible and to improve the services
provided to the customers. The bakery shop is part of a large food service chain that provides
desired food items to the customers. The manager of this bakery shop is concerned about
delivering on time for customer satisfaction. The first and foremost module is receiving order by
the customer.
For every new customer a unique id is given. All the details of the customers along with their
unique id are maintained in a database. So the customer need not specify all his address details
each time he places an order. All details of the customer and his order along with his
specifications is received and saved. Price varies according to the customers specifications. The
implementation of this system has completely changed the existing norm of people moving into
bakeries to get their orders because of their busy routines. So this system is more comfortable in
the present busy routines. So this system is more comfortable in the present busy life and also the
timeliness and punctuality keeps the customers satisfied.
EBOS

Chapter 2

Tools and Technology

2
Tools and Technology
2.1 Tools
In order to complete this project and to meet all the requirements of this project I have used some
tools. So the tools I have used are listed below.

HTML
CSS
JAVA SCRIPT
PHP
Notepad++

2.1.1 HTML and CSS


HTML stands for hypertext markup language. HTML is a language used for describing web
pages. HTML is not a programming language, it is a markup language. A markup language is a
set of markup tags. HTML uses markup tags to describe web pages. CSS stands for cascading
style sheets. Style defines how to display and design HTML elements. There are three types of
CSS.

Internal
Inline
External
External Styles Sheets is recommended, beacauseits save a lot of time and works.
In this project I used HTML and CSS for the designing of web pages

EBOS

Chapter 2

Tools and Technology

2.1.2 Java Script


Java Script is a scripting language, and used for client side scripting. JavaScript is used in
billions of webpages to add functionality, validate forms, communicate with the server, and
munch more. Javascript is simple and very easy to learn. Javascript is free to use without
purchasing a license.
In this project I used java script for the validation in the admin section such are in deleting a file
etc. Due to this validation no file will be deleted if admin does not want.
2.1.3 PHP
PHP stands for hypertext preprocessors. PHP was developed by RasmusLerdorf( A member of
the Apache Group). It was originally designed for tracking visitors at Lerdorfs website. Within
two years it was using in conjunction with the apache server and it is now a full featured,
scripting language for server-side programming (scripting). It has server plug-ins for various
servers and now it is fully integrated to work with MySQL databses. PHP is similar to JavaScript
only it is sever side language and JavaScript is client side language. PHP code can be embedded
in HTML using PHP tags. When a page request arrives, the server recognizes PHP content via
the HTML page. The result page is then downloaded to the client. User never sees the PHP code,
only the output. The result page is then downloaded to the client. User never sees the PHP code,
only the ouput in the page.
I used PHP as a server side scripting language in this project.

2.1.4 MySQL
MYSQL is the most popular open source database management system. MySQL is fast and
stable. It is distributed, developed, and supported by MySQLAB. MySQLAB is a company,
fouded by the My SQL developers team that makes its business by providing services around
the MySQL database management system. MySQL is a great tool for learning databse in general
due to this simple installation, use and the small hard disk and memory footprint.

EBOS

Chapter 2

Tools and Technology

MySQL Server today offers a useful set of functions. Its speed, connectivity, and security make
MySQL Server highly suited for accessing database on the Internet. Speed has always been a key
MySQL design consideration. New features are added to MySQL more slowly than users would
like, but it has insured that MySQL has always been fast. Your own testing or experience will
probably confirm this assertion. Overall , MySQL is an excellent choice for your database
application.
2.1.5 Notepad ++
Notepad++ is a free source code editor. It is a replacement of Notepad. It supports several
languages. It runs on Windows Enviroment. Its use governed by GPL License.
Notepad++ is written in C++ and uses pure Win32 API and STL which ensure a higher execution
speed and with smaller size of program.

EBOS

Chapter 3

Analysis and Designing

3
Analysis and Designing
3.1 Analysis and Design
The description of the services and constraints are the requirements of the system and the process
of finding out, analyzing, documentation and checking these services and constraints is called
requirement engineering. The term requirement means a detailed, mathematically formal
definition of the system functions.

3.2 Purpose
A requirement means how the system should work. Software engineers mostly have to solve
problems that are often difficult and complex. Understanding the nature of the problem is
achieved through requirement analysis and specification. User requirements should be written for
client and contract manager who do not have a detailed knowledge of the system. Purpose of the
requirement analysis & specification is also to target senior technical staff and project manager.
3.3 Scope
Electronic Bakery Ordering System (EBOS) was established to provide all the bakery related
solutions to fulfill the demands of the customers and to save the time of the Users. EBOS
provides the information regarding Bakery Products along with their rates. In our project Online
Users can place their orders by giving their details such as their contact address etc Admin
module is available in the website. There is a facility of adding new category, new product and
updating rates of product depending upon admin. EBOS provide the functionality of online
product description. Electronic Bakery Ordering System provides unique and innovative IT

EBOS

solutions and products for small, medium and large businesses. The number one priority of
EBOS is to always provide quality and also to provide services and products to their customers.
Chapter 3

Analysis and Designing

3.4 Administrator Friendly Interface


The interface of the Electronic Bakery Ordering System EBOS will be administrator friendly.
The data retrieval, insertion, editing will be made easy and simple, so that an administrator can
handle the database easily and efficiently. There will be no error and problem for the
administrator to do that.

3.5 Data Security and Integrity


As MySQL Server is used for the back-end database, so all request to insert data in a table, or to
update, delete or view in a table must be routed through DBMS engine only. Direct Calls for data
cannot be made through tables themselves. Since there is a single point of control for data
manipulation, therefore it provides superb data security.
3.6 Benefits

All the information of products is place on one click.


Allowing users to get information regarding Bakery Products along with their rates.
Allowing you to get in touch with the site and use the site freely.
Allowing Users to place their orders by giving their details such as their contact address

etc.
This system will save the time of the Users.

3.7 Technical Feasibility


The system does not have any extra ordinary technical requirement. So the project is technically
feasible too.

EBOS

Chapter 3

Analysis and Designing

3.8 Performance
For the success of any software, performance is the key element. Performance of the system can
be measured by the processing speed, response time, resource consumption, throughput and
efficiencys then common requirement for the web application are to specify a maximum load
time for a page.
As there are a lot of processes in our system i.e Login. If one enters incorrectly the system
response to that error very fast. So in this way incorrect data will not save in the database. This
improves the performance of the system.
3.9 Actors Catalog
There are two Actors that interact with EBOS.

Administrator
User

3.9.1 Administrator
This is the owner of the website and can monitor activities of the users. Administrator can
manage the overall site and can add products, add categories, manage products and receive
orders details.

EBOS

Chapter 3

Analysis and Designing

3.9.2 User
The user is the person who can login then buy the products.

3.10 Administrator Login

Actor

Administrator

Pre-Condition

Administrator wants to Login.

Post-Condition

Administrator logged in successfully.


Administrator wants to login to the system and enters his

Basic Flow

login username and password in the system and


authenticated and logs in successfully.

Alternative Flow

As Administrator will be login to system by giving its


username and password, if the username and password are
correct he will be on his own menu. If username or
password is incorrect the system will display the error
message.

EBOS

Chapter 3

Analysis and Designing

3.11 User

Actor

User

Pre-Condition

The user should open the EBOS Website.

Post-Condition

The user gets information and also goes to the products


page.

Basic Flow

User adds the product to the cart and then checkout the
product.

3.13 Robustness/Reliability
Robustness and reliability stand for the extent to which a system/ software can be expected to
perform its intended functions with required precision. In other words robustness and reliability
is evaluated by measuring the frequency and severity of failure.
Reliability of the system/software depends on the server on which it will reside.
3.14 Designing
Designing is a basic phase in every project because beacause our project implementation
depends on designing. The more awesome you designed the modules the more good will be the
implementation.

EBOS

10

Chapter 3

Analysis and Designing

3.14.1 Pages
The diagram of the pages we designed in design phase, are listed in pages diagram.

Figure: 1
3.15 Modules Designing
3.15.1 Admin
The admin are the end users of the project. They have access to the database so they can save,
edit and delete data.
Admin will insert categories. After inserting categories, the admin can insert products to that
category. Admin can manage all the categories and products, means admin can view, update and
delete the categories and products. Admin can manage all the categories and products, means
admin can view, update and delete the categories and products. Admin can insert and manage the
products brand.
Admin can view and delete all the orders placed by user. Admin can manage the feedback of
users.The admin will be given a security password i.e the admin after entering the password will
be able to access the database otherwise they will be counted as a general user ( user that cant

EBOS

11

access the database. These are briefly discusses below). The admin can also change their own
section password to improve their security.

Chapter 3

What the admin can do are.

Login
Change Password
Manage Products
Manage Users
Manage orders
Manage Items
Insert new Items
Manage Categories
Insert Categories
Manage feedbacks
Logout

Admin Panel Diagram

EBOS

Analysis and Designing

12

Chapter 3

Analysis and Designing

Figu
re : 2
3.15.2 Customer
The customer can view the front-end of the project. They are actually the visitors of the project
through web interface.
For placing order every customer will create their own account by entering some basic
information. The customer data will be stored into database and then customer can be login to the
system. After login to the system he will be able to give their desired items order and will insert
the products into the cart. After that he can check out the products.
The customer will also able to search the products of his favorite Categories or item.
Customer cannot change data i.e the system will not give them access to database. They can
search the products.
He can do the following action.
Login
Search Products and place order
EBOS

13

Chapter 3

Analysis and Designing

Add to cart products


View Products in cart
Delete products from cart
Update products Quantity in cart
View account details
View all orders
Send feedbacks
Logout

Customer Diagram:

Figure: 3

EBOS

14

Chapter 4

Implementation

4
Implementation
Implementation is done to the system for its working. Implementing the system means to make
the system run. If the system is running accordingly then it means that the implementation is
correct and system is running well. The project is implemented using the PHP programming
language with XAMPP as the database used at the backend.
Web application is more important for security. Nowadays the hackers life has become tougher.
Various intrusion detection and defense mechanisms developed by network security companies,
now its not easy to hack security parameters and gain unauthorized access to an organizations
network. As our project is a web based project, there are many tools available to develop Web
applications. However we prefer to develop our project is PHP language. The reason for
selecting these tools to develop our project is explained in detailed below.
4.1 MYSQL
MySQL, the most popular Open source SQL database management system, is distributed,
developed, and supported by MySQL AB. MySQL AB is a company, founded by the My SQL
developers team that makes its business by providing services around the MySQL database
management system.
4.1.1 MySQL is a Database Management System (DBMS)
A database is a structured collection of logically related data. It may be anything from a simple
shopping list to a picture gallery or the vast amounts of information/data. To add access, delete
and process data stored in a database, the user needs a DBMS such as MySQL Server.
4.1.2 MySQL Software is Open Source
Open Source means that it is possible for anyone to use and modify the software him/herself.
Anyone can simply download the MySQL software from the Internet and use it freely.
EBOS

15

Chapter 4

Implementation

4.1.3 Why we use the MySQL Database Server


The MySQL Database Server is very reliable, fast and simple to use. MySQL Server also has a
practical set of features developed in close cooperation with users. You can find a performance
comparison of MySQL Server with other database managers on this application. MySQL Server
was originally developed to handle large databases much faster than existing methods and hase
been successfully used in highly demanding production environments for many years. Under
constant development, MySQL Server today offers a useful set of functions. Its speed,
connectivity, and security make MySQL Server highly suited for accessing databases on the
Internet.
4.2 PHP
PHP is one of the most popular server side scripting languages. PHP used for creating dynamic
Web pages. It is open source language and similarly to most open source software, it is available
for both personal and commercial use. PHP can be used by many operating systems. Its basic
operating system is Linux. PHP has many features. Some of these are as follows:
i. As PHP is a server side language, so the programmer does not need any specific browser or
plug-ins to run the PHP.
ii. PHP is simple and it is easy to learn, especially for those programmers having backgrounds
in programming language such as C, C++ and JavaScript. The language is similar to C so
that anyone with a background in C programming will feel comfortable to use it.
iii. PHP runs on all platform including most UNIX, Macs and Windows versions.
iv. Programmers can also extend PHP by writing their own extensions and compiling them into
the executable or they can create their own executable and load it using PHPs dynamic
loading mechanism.
v. The main PHP source repository is loaded with modules and interfaces that users have
written and shared. There you can find modules for PDF files, flash movies, calendars
and more.
Chapter 4
EBOS

Implementation

16

vi. Benefit of applications written in PHP is that they are fast and if written correctly, they
could be very secure. There are also many of ready PHP scripts and functions, which you
can use according to your requirements in your PHP applications.

Chapter 5
EBOS

Software Testing

17

5
Software Testing
Software testing strategy provides a road map for the software developers, the quality assurance
and the user. Testing is done in actual to assure the quality of the product developed and it
compares the actual functionality of the product developed with the initial requirements of the
project. Testing can be defined as: once the source code has been generated then the software
must be tested to uncover and correct as many errors or bugs in the program.
The biggest advantage of testing is that its highlight the maximum number of bugs or errors in
the program. No matter how well the developers develop the software or how well the develop
the software or how well it is analyzed; there is always a chance of some bugs. Testing will help
to point errors in the software and later the programmer may remove them.
The importance of testing is double when web application testing is in question. A web
application should be tested thoroughly tested before it is launched on the Internet and is opened
for the clients.
Following testing documentation is prepared which consists of
GUI testing
System Testing
5.1 GUI Testing
5.1.1 Admin Module
Test case title..Login
Text Step

Fields

Inputs

Actual results

Result

Email ID

Empty

Please fill out this field.

Unsuccessful

Password

Empty

EBOS

18

Chapter 5

Software Testing

Figure: 4
Text Step

Fields

Inputs

Actual results

Result

Email ID

Admin

Please fill out this field.

Unsuccessful

Password

Empty

Text Step

Fields

Inputs

Actual results

Result

Email ID

User

You are not a Admin. Please enter Unsuccessful

Password

Admin

correct information.

EBOS

19

Chapter 5

Software Testing

Text Step

Fields

Inputs

Actual results

Email ID

Admin

You are not a Admin. Please enter Unsuccessful

Password

1234

correct information.

Text Step

Fields

Inputs

Actual results

Result

Email ID

Admin

You are logged in as admin.

Successful

Password

admin

Figure: 5
Test case title. Add Menu or Category

EBOS

Result

20

Chapter 5

Software Testing

Figure: 6

Test Step

Fields

Inputs

Actual Results

Result

Menu name

Character

Alphabets and Digits Only.

Unsuccessful

Menu

Empty

Please select menu category.

Unsuccessful

Category
Menu Price

Empty

Please select menu price.

Unsuccessful

Menu Status

Empty

Please select menu status.

Unsuccessful

Menu image

Empty

Please upload only images files.

Unsuccessful

Test case titleUpon Successful Insertion of Menu

Chapter 5
EBOS

Software Testing

21

Test step

Fields

Inputs

Actual results

Results

Menu information

Fill Properly

Product Inserted successfully

Successful

Test case title.Admin Viewing & Deleting Orders

Figure: 7
5.1.2 Users Module
Test case title User Registration

Chapter 5

EBOS

Software Testing

22

Figure: 8
Test Step

Fields

Inputs

Actual results

Result

User Name

Empty

Please fill out this field.

Unsuccessfu

Email

Empty

Password

Empty

Confirm

Empty

Password
Profile Image

Empty

Chapter 5

EBOS

Software Testing

23

Test Step

Fields

Inputs

Actual results

Result

User Name

Empty

Please fill out this field.

Unsuccessfu

Email

Fill

Password

Fill

Confirm

Fill

Password
Profile Image

Fill

Test Step

Fields

Inputs

Actual results

User Name

Fill

Congratulations! You are Successful

Email

Fill

successfully registered

Password

Fill

Confirm

Fill

Password
Profile Image

Fill

Result

Test case title..User Log in

Chapter 5

EBOS

Software Testing

24

Figure: 9
Test Step

Fields

Inputs

Actual results

Result

User Email
Password

Empty
Empty

Please fill out this field

Unsuccessfu

Test Step

Fields

Inputs

Actual results

Result

User Email
Password

abc@gmail.com
Empty

Please fill out this field.

Unsuccessfu

Chapter 5

EBOS

Software Testing

25

Test Step

Fields

Inputs

Actual results

User Email
Password

sufyan@gmail.com
****

Welcome

Result
Sufyan

successfully login.

you

are Successfu
l

Test case title.User Can Add Products to cart

Figure: 10

Chapter 5

EBOS

Software Testing

26

5.2 System Testing


5.2.1 Admin Module
Test id

Function being tested

View All data

Initial system rate

If Data is not correct.

Actual Results

Data is deleted

Test id

Function being tested

Add to Products

Initial system rate

Fill the form correctly

Actual Results

Details

Actual results

The product successfully added.

Expected Results

The product shall successfully add to site.

Test result

Test pass (system is doing correct functionality)

Chapter 5

Software Testing

EBOS

27

5.2.2 Users Module


Test id

Function being tested

Registration

Initial system rate

System does not contain user record.

Inputs

Name
Cell No.
Email id
Password
Street Address

Actual results

City
The user successfully registered.

Expected Results

The user shall successfully register.

Test result

Test pass (system is doing correct functionality)

Chapter 6

6
EBOS

Conclusion and Future Recommendation

28

Conclusion and Future Recommendation


In this chapter the final product is evaluated in terms of its benefits for the users for whom it is
developed. Good features and limitations are also discussed.
6.1 Conclusion
As undergraduate students, developing a fully implemented system was a new experience for me,
especially since development in this field (i.e the field of web application) is still not easy to use.
But the successful completion of this project has given me the confidence and knowledge to
work the practical field as professional developers.
During the development of the following project I got a chance to practically implement what I
have learned during my master program.
While doing my project I have got the several benefits. Some of them which will help us in
future as a successful professional are as follows.
i.
ii.
iii.
iv.

Project management and scheduling.


Analyzing a system and collecting data.
A good knowledge of system designing and modelling.
During testing and implementation finding a bug and its fixture is totally new and healthy

experience.
v. This will help me to enter into industry and prove myself.
6.2 Future Recommendation
i.
ii.
iii.
iv.
v.

Converting the whole project into Framework [MVC].


Responsive Designing.
Use of AJAX.
Email notifications.
SMS API for quick notifications.

Chapter 7

REFRENCES
7.1 Web

EBOS

References

29

1) http://www.awwwards.com/websites/jquery
2) http://fancybox.net/
3) http://www.jssor.com/download.html
4) http://www.designbombs.com/tag/slider
5) http://fortawesome.github.io/Font-Awesome/icons/
6) http://www.w3schools.com/html/html5_intro.asp
7) http://www.w3schools.com/php/
8) http://jqueryui.com/accordion/
9) http://en.wikipedia.org/wiki/Accordion_%28GUI%29
10) http://thecodeplayer.com/walkthrough/vertical-accordion-menu-using-jquery-css3

7.2 Books
1) Rogers S.Pressman (2001) Software Engineering, 5th EDITION, ISBN 0-07-365578-3,
Thomas Casson
2) Janet Valade PHP & MySQL, 2nd Edition, ISBN 0-7645-5589-8
3) Matt Zandstra (June 2000) SAMS Teach Yourself PHP4 in 24 Hours, ISBN 0-67231804-0, Library of Congress Catalog United States of America.
4) Dave Taylor (2004) Creating Cool Web sites with HTML, XHTML, and CSS, Pub:
Wiley Publishing, ISBN: 0-7645-5738-6, United States of America.

EBOS

Вам также может понравиться