You are on page 1of 126

Ecommerce System for Arbaminch Fruit Supermarket 2004 E.

Acknowledgment
In the every begging praise to the Almighty God who gave us endurance and courage from the
beginning up to this phase. We are much obliged to record our sincere gratitude to our Advisor
Ato Solomon Taddese for his invaluable advice and useful suggestion.

Second we will like to appreciate the organization for giving a chance in order to develop
computer based system in a good manner. We would also like to express our heart full
appreciation to all staff working in the company that are operate with the process of collecting
different data for the purpose of the system development.

At the last but not the least special thanks for our classmates for their great help and keeping us
to reach today’s day.

I
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

I
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

II
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

III
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

IV
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

V
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

VI
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

VII
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Abbreviation
BR Business Rule

DB Database

MYSQL My structural Query Language

OOA Object oriented Analysis

OOD Object oriented Design

PHP Hypertext Preprocessor

SD Sequence Diagram

TVT Time Value of Money

UML Unified Modeling Language

UI User Interface

UC Use Case

GUI graphical user interface

VIII
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Abstract
This project is done with the main objective of designing an ecommerce system for fruit
supermarket. An object oriented approach is employed to achieve the main objective of the
project. Close interaction with interview backed up by observation is used to model the user
requirements in to the actual software development process.

MY SQL 2005 and DREAMWAVER are used as back end and front end tools of development
respectively. In addition to these, MS word 2007 and Edraw Max 6.3 are used as supportive
tools; for example, Edraw Max 6.3 is used to draw the UML diagram and MS Word is used for
organizing the document.

IX
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

CHAPTER 1
1.1 Introduction
E-Commerce (electronic commerce) is the process of buying and selling products and services
over the Internet, utilizing technologies such as the Web, electronic data interchange, e-mail,
electronic fund transfers, and smart cards. In recent years, e-commerce has exploded, and future
trends indicate that more and more businesses will connect themselves to the Internet. It is now
becoming imperative for some organizations to engage in e-commerce in order to remain
competitive.
There are various reasons why e-commerce is making an impact on the computing world.
Businesses have realized that there are lower start-up and overhead expenses. Running costs are
also quite low since the order processing is automated and there is no need to employ people to
take care of this. Before the advent of e-commerce, businesses were often restricted and
expansion was difficult. Since the Internet is accessible from almost anywhere on the planet,
businesses can have global exposure. Businesses can also advertise thousands of products
without incurring huge costs. It is clear that the low cost factor plays a major role in inspiring
organizations to travel the e-commerce route.
The customer also reaps numerous benefits from e-commerce. They can shop whenever they
want, from the comfort of their homes and there is no need for them to even leave their houses.
All the hassles of driving to the store, finding parking and hunting for products, are eliminated.
After placing their orders, the customer can then sit back and wait until their goods are delivered
to their doorstep.

1
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

1.2 Background of Fruit Supermarket

Fruit supermarket located in arbaminch town around sikela. It was established in 1999 E.C by
local investor of great visionaries’ w/r woynishet yilma. From early beginning its vision is
providing and giving excellent service to its customers.
Currently the supermarket has 4 employees including the manager and it gives service for 250
customers in a day. The supermarket works from 2:00am-2:00pm in a day.
Supermarket provides items that are very necessary to the society at large with fair payment and
having successive business reputation, its capital increases from time to time.

1.2.1 Vision of the supermarket


 To become a world class supermarket
 To satisfy customers by giving a flexible and efficient service

1.2.2 Mission of the Supermarket


The mission of the supermarket is to play a major role in the market service cost-effectively for
all sectors of the economy and thereby support the long term development of the country.

1.3 Background of the Project

Nowadays the company is becoming popular and wider in service. But the way of serving
customers is tidy, difficult to manage and inefficient in different aspects due to its low
performance and poor ability to host many costumers at a time so a better solution is required.
So e-commerce is required to create and develop new model and to optimize the relationship
between the supermarket and the customer. Changing from shopping at the supermarket to online
shopping which improve productivity by shortening supply chains, reducing overhead cost, and
enabling ‘‘just -in-time’’ service.

1.4 Statement of Problem

Fruit supermarket has currently many problems that initiated the group members to develop E-
commerce system. These problems are, lack of data storage which makes the supermarket owner
hard to hold track of stock transaction, inflexible service since the supermarket can't hold many
customers at once and it’s also hard to tell the items that are out of stock, also items soon going

2
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

to be expired. Performance is also another problem since a customer has to wait in line while
another customer is being served; security is also one problem since there is no way of protecting
the employees from cheating. Customers also waste their time and energy waiting for service, so
E-commerce will facilitate service for customers by avoiding these mentioned problems.

1.5 Team Composition

E-commerce System for Fruit Supermarket


Project Title
S.No Name Id Mobile Responsibility
number
1 Anwar Ret/1001/01 0921427753 Group leader
Hassen

2 Roba Eyi Ret/1619/01 0921789233

3 Semeter Ret/010/00 0921246253


Mohammed

4 Aden Ret/025/01 0912771822


Goitom

Date 02 March,2012
Advisor Solomon Taddese
Table 1.1 Team composition

3
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

1.6 Objective of the project

1.6.1 General Objective

The main objective of this project is to develop e-commerce system for fruit supermarket that is
reliable, secured and flexible by automating the existing system.

1.6.2 Specific Objective

To achieve the general objective mentioned above the following are specific objective:
 To design user friendly system
 Analysis of the system
 To develop a database to keep the overall records associated with the
management process.
 Design cart to add items from product catalog
 Create an interface for users to create their own account
 Implement and Test the system

1.7. Feasibility Analysis


1.7.1 Operational Feasibility

The system will operate on any operating systems which have apache installed. Therefore the
system will operate in any kind of platforms .so the entire team member expects the system to be
operationally feasible.

1.7.2 Technical Feasibility

The system will be developed using the object oriented development technique, since the team
member have the knowhow of the methodologies and the tools to develop this system, the
project is expected to be technically feasible.

1.7.3 Economic Feasibility

This project will not cost much more and also the materials to implement the system will not cost
great amount of money.
For the project we are working on, we have the following benefits and costs:-

4
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

1.7.3.1 Benefits of the Project

A. Tangible Benefits:
In the project going to be computerized there will be reduction of cost for materials used for
manual operation such as: pen, paper, human power, space needed to keep data record, and save
data storage and time that we are induced or brought in during manual system.
The team calculated the corresponding tangible benefits based on the technique called the time
value of money (TVM).
Cost reduction for labor:-To calculate cost the following things will be considered
Labor cost for the current system

Numbers and Monthly salary Yearly salary for each Total salary per a year
responsibility of employees
labors

3 seller 400 birr 4800 Birr 14400 Birr

1 casher 700 Birr 8400 Birr 8400 Birr

Total Labor cost 22800 Birr

Table 1.2 Labor cost of the current system

5
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Labor cost for the new system when deployed

Numbers and Monthly Yearly salary Total salary per year


responsibility of salary for each
labors employees

5 delivers(seller) 400 birr 4800 birr 24,000 birr

2 casher 700 birr 8400 birr 16,800 birr

Total labor cost 40,800 birr

Table 1.3 Labor cost of the new system


Difference between before and after deployment money required for payment
Cost reduction for labor =22800 Birr-40,800 birr=-18,000 birr
The team develops this system for the future use, that way labor cost of the new is system
larger

6
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Cost Redaction for materials

Material cost for the current system

Item Quantity per Unit price Total price per a year


year

Papers 3 packet 90 birr 270 birr

Pen 1 packet 3.5 birr 175 birr

Ticket and 144 packet 25 birr 3600 birr


receipt

Total material cost 4045 birr

Table 1.4 material cost for the current system

7
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Materials cost for the new system when deploys

Item Quantity per Unit Price Total Price Per Year


year

Papers 2 Packet 90 birr 90 birr

Pen half Packet 3.5 birr 87.50 birr

Ticket and 60 Packet 10 birr 600 birr


receipt

Total material cost 777.5 birr

Table 1.5 material cost for the new system

Difference between before and after deployment money required for payment
Cost reduction for labor =4045 birr-777.5 birr=3267.50

8
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

B. Intangible Benefits
 Increase speed of activity
 Save the loss of documents
 Increase flexibility
 On time information
 Increase security

1.7.3.2 Cost of the project

This is for the budget invested to develop the system or total development cost of the system
through life of project.
Tangible costs
The tangible costs to be incurred in developing the system are:-
 Hardware development cost
 Software development cost

Hardware cost

Item No of Item Unit price(Birr) Total price(Birr)


Computer 5 8500 birr 42,500 birr
Color Printer 1 5000 birr 5000 birr
Cable 150m 5 birr for 1 m 750 birr
Server 2 179,000 358,000 birr
Total Birr 406250 Birr
Table 1.6 Hardware cost

9
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Software cost
Item Total price(Birr)
SQL server 2005 1000 birr
Microsoft Windows XP 1400 birr
Professional
Microsoft office 2007 160 birr
Visio 100 birr
Total Birr 2660 birr

Table 1.7 Software cost

Intangible cost
 Work satisfaction

1.7.4 Schedule Feasibility

Fig.1.1 schedule feasibility

10
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

1.8 Scope of the project


The new e-commerce system developed meets the following system and information
requirements.
 Record products with their detail information
 Register new costumers
 Sell products
 Generate transaction
 Set the rates of taxes
 Alert expiry date of product
 Alert if products are short
 Select products and add to cart
 Display order information
 Display product information
 Display product in shopping cart with total cost
We can’t
 Calculate the salary of employees
 Concerns on purchasing

1.9 Beneficiary of the project

First the owner of the system is most benefited from the system because it creates easy
atmosphere to manage and control the shopping system and also benefit from the business role
since it can easily have many customers.
Secondly the customers are benefited since they save their time, energy and can simply order
items of their choice by just visiting the site and creating an account.
The customers are benefited from this system since they save the time they take to purchase from
the supermarket by simply ordering items of their choice just by visiting the site and order also
perform payment online.
The other benefited party is the government because it easily gets the items price and the tax
value associated with those items which ease the tax collecting process for it.

11
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

1.10 Methodology of the project

1.10.1 Data Collection Method

To gather data from the customers and manager the team will use the following techniques.
Those are:
Interview:-to get the basic information about the existing supermarket system, the team will
interview the supermarket manager and some customers about the services that are given to
them, and the problems associated with that environment.
Practical Observation: after we finish the interview, we will also use the other methodology of
data collection that is called practical observation. During this time we will directly enter in to
the internal activities of the supermarket to view what things are done? And what are the
limitations and strength of the supermarket? The essentiality of this method is that, to be
confident with the data that we will collect using an interview method because nowadays the
reliability of peoples decreases time to time.
Document analysis:-to get more information about the fruit supermarket we will refer to some
documents in the supermarket.

1.11 System Analysis and Design Methodology

The team plan to use the object oriented design methodology for the development of the system
among the different methodologies. Because it is better way to construct, manage and assemble
objects that are implemented in our system. Object oriented design methodology has two
phases:-
Object Oriented Analysis (OOA): During this phase the team will look at the problem domain
and with the aim of producing a conceptual model of the information that exists in the area
which will be analyzed. And this model the functions of the system (use case modeling),
identifying the business objects, organize the objects and also the relationship between them and
finally model the behavior of the objects.
Object Oriented Design (OOD): During this phase the model interactions and behaviors that
support the use case scenario, and finally update object model to reflect the implementation
environment. And also transforms the conceptual model produced in object-oriented analysis to

12
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

take account of the constraints imposed to our system format, so that we will use this phase to
refine the use case model to reflect the implementation environment.

1.12 Development Tools


In this project the following system development tools are use.
 Xampp:to designing database and the whole application
 Microsoft visio2003: for designing UML diagram associated with the project.
 Microsoft office 2007: for documentation
 Macro media Dreamweaver: for designing web interfaces

1.13 Risk
We identify and manage the risks to protect the project from danger or harm. Some of the risks
are followed below
 Failure of the computer
 Power failure
 Some virus attack
 Sickness among member of the project team
 Availability of critical resource.

13
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Chapter 2

Description of the Existing System

2.1 Introduction of Existing System

The existing system of Fruit supermarket provides product selling and buying process to its
customers and form supplier but mainly concern on selling products. The current system has
three employees and one manger, the employee works cooperatively with each other with good
approach. The customer on the other hand must physically appear and buy the products from the
supermarket.

2.2 Players of the Existing System

As the team tried to mention in the previous chapter, our system have many back side
advancement over the existing system in many ways. The existing system is not securely
supported system since it is manual; it needs number of employee to manage the overall function
of the system and it is not effective and clear. The existing system incorporates high number of
employee as compared with proposed system. That means a number of different actors can be
incorporated in the existing system. So the actors in the current system are:-

 Employee
 Customer
 Manage

14
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

2.3 Major Functions/Activities in the Existing System like inputs, processes &
outputs
Input:

The inputs in the supermarket are the items that are brought or purchased by the owner of the
supermarket from Addis Ababa and here in Arbaminch. The owner of the supermarket does not
have his own distributor to get its resources constantly, but he purchase from the place where he
can get the items that he want with proper, stable and appropriate cost.

Process:

 The new items will be registered on the manual file of the supermarket.
 Ordering the items that are out of the stock
 Reporting all the activities that are done to the manager
Output:

The main output of the supermarket is making the items ready to the customers of arbaminch
society with clear and fair price.

2.4 Business Rule


The business unit also has its own business rule and regulation which are used to perform work
in easier and best manner. The business are control the sales i.e whatever the customer purchases
any item. The business unit must provide the receipt for each item that is sold to the customer.

When an item is purchased, the employee should have to fill all necessary information required
from him on the receipt after that the original receipt will be given to the customers and the copy
of the original receipt is left for the business unit and this receipt helps both the customers and
the owner of the business unit for the privacy purposes or else to certify either the customer or
the owner would purchase with an appropriate or exact price of the items or not because almost
all items has some time guaranties given by the business unit.

The customer can be buying only on cash not using any other system. The customer and also the
seller have no full guarantee for fault item and delay payment.

15
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

2.5 Report Generated in the Existing System

In order to control and manage over all activities of the supermarket report must be generated.
To achieve its objective it has different reports about its past activities. These reports are
generates day to day but are generated in a very routine and boring manner.
These reports are the indicators for the performance and profitability of the supermarket and are
used to change how the organization works to improve its profitability.
These reports are generated by the employee to the manager of the supermarket; they use the
following data to generate the reports.
 The daily purchased items in each categories
 The number of new items
 Attendance of employee

2.6 Forms and Other Documentation of Existing System

There are a number of forms and documents which are used by the existing system. The forms
are used during the period of selling process such as receipt forms and also for the employee to
control input output items. The uses of these forms are to assure the correctness of their activity
and to generate reports. In addition to this, these forms are used to increase the relationship with
customers in such a way that customers can believe the cost of each materials of the organization
if they can get receipt form for each material to which they have purchased from the
supermarket.

16
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Fig 2.1 receipt form

17
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Fig2.2form for managing input and output items in the store

18
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

2.7 Bottlenecks of the Existing System

As the team explained in chapter one, the existing system has many problems, which initiated the
team to develop a new computerized system to the supermarket. These problems can be
explained in terms of PIECES framework:

The performance of the existing system can be evaluated by the time duration of the items
waiting to be purchased by the customers and the number of customers served at a time, and this
depend on the number of customers and the number of employees who give the service. If the
numbers of the customers are a lot, the items will no more stay in the supermarket which will
profit the supermarket.

All the above statements are full filled if the employees can handle all the customers effectively
and quickly, but the existing system has a problem like:
 The numbers of employees needed to handle the customers are limited.
 It takes lot of time to calculate price of each items and serve many customer at
the same time.
Therefore these stated problems make the performance of the existing system low.
Regarding to the information, the current system or the existing system has lack of the
information in terms of timeliness, accuracy and format. The team sees this section in terms of
input and output.
Inputs:
 Loss of items information
 Fragmentation of information’s in different files
Output:
 In terms of producing report information to the manager
 In terms of getting remained item information.
Regarding economic benefit its directly connected to the performance, as performance increases
number of customers also increases which will increase the economical benefit of the
supermarket but the existing system performance is low and this will make users unsatisfied and
brings loss of customers and also loss of income, so the existing system has economic drawback.
This tells the control and security of the existing system in terms of the documents of the stock
transaction.

19
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

The existing system has a great problem in terms of controlling and managing all documents of
the registered new items and the daily and monthly report of the business perfectly, as days
increase, the items and the customers will increase and the documents also increase so it will be
out of control to manage the documents.

In terms of the security the existing system have no any privilege to the employee of the
supermarket like protecting the documents of the cashier from other employee. In other word, the
documents are not protected from any unauthorized access. In addition, if there is a natural
disaster or other thing that can damage the documents, there is no means of getting the
documents back. So the security of the supermarket is in danger.

The efficiency of the existing system could be evaluated in terms of the profitability of the
supermarket that comes from all the items which are sold to the customers and by increasing the
number of customers by satisfying their market approach. But as we explained in above
problems, the overall efficiency of the existing system is not stable or as a general it is not
efficient.

Because supermarket is using the manual system there is a problem in giving the service to the
customers. To mention some of the problems of the existing system,
 Need of high energy and time for selling products because of its low ability to serve
many customers at a time.
 In saving the customer’s time because they have to wait long time until the employee
calculate the price of each item that they have purchased.
 Inability to give the service to more than two customers at a time.

2.8 Practices to be preserved from Existing System

Although the teams have mentioned that the supermarket has problems that constraint its fast
way of profitability, there is also other important side that must be included in the proposed
systems that is the list of the preserved practices from the existing system stated below.

 The way of attracting the customer towards the market with good approach.
 It takes part of the workers day to day activities in the supermarket to be self
independent.

20
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

 Controlling and registering the items when they come into the store
 System procedure

2.9 Alternative Options to Address Problems of the Existing System

After the team has identified the real problem of the existing system which is in a manual
system, the team suggests an alternative option to overcome the problem.
Solving the problem of the supermarket by developing a system that work on web based
environment. In doing this the team need one client machine and a server that gives services to
the clients.
The team has analyzed all of the alternative options based on the ability of performance,
information flow and service to the customer and efficiency. This analysis has enforced to select
the web base system.

2.10 System Requirement of the New System

The system that the team is planning to develop, ecommerce system for fruit supermarket, is a
system that will provide the supermarket with a modern system, which will improve the
problems of the current system by developing the new developed system. The team intended to
do this by computerizing the current system and making it readily available to both users and
employees alike.

2.10.1Functional Requirement
The new computerized system is expected to provide all ecommerce related services and
functionalities, like online selling the product.
The new system is expected to provide the following functionalities:
 Registering of the new items based on their category
 Generating report
 Selling the product using visa card
 Generating the remaining items in the store

21
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

2.10.2 Non Functional Requirement

The non functional requirements deals with the quality of the application systems needed to be
developed from different evaluation point of view like the response time of the application to a
given user queries, the user friendliness of the application and these requirements do not directly
affect the performance of the system but they are nonetheless important.
 Be user friendly
 Run on windows professional
 User interface
 Ease of learning and use
 Backup and recovery
 Help support
 Speed
 Quality issue
 Security issue

22
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Chapter 3

System Analysis

3.1 Introduction

This section consists of the modeling of the proposed system using object oriented methodology
by applying unified modeling language (UML). All the activities performed by the actors (such
as the customer, salesperson and the administrator) are analyzed by using different modeling
diagrams. These diagrams include use case diagram, sequence diagram, activity diagram, and
conceptual diagram.

3.2 System Requirement Specification


Actor Identification
Customer: - someone buy product from shop online
Administrator: - a special user of the system who can setup access right for other users.
Sale person: someone who creates an environment and build connection with customers that
make them want to buy from shop online.
Store manager: a user of the system who is responsible for managing the catalog of the
products.
Visa card Verification Company: an external company that processes visa card transaction.
Use Case Identification
Login:-the customer can login to the e-commerce shopping system by entering his username and
password. The system will verify that the login name matches the login password. If they do not
match, error message will be indicated to the customer.
Registration:-if the customer is a new user, he can request to register with the system. The
system displays a registration page and asks the customer to choose a login name and password.
The customer is also required to enter their name and address.
Delete customer:-the system Administrator delete customer details held by the system. These
details include name and address and username and password.

23
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Update customer: - the customer can request to update their customer information. Customer
information includes the relative information of customer such as username, password, address,
etc. the system will display the current customer information to the customer. The customer
updates the customer information and the system will store the updated customer information in
the system database. After one successful purchase, the payment information is also stored in
customer information.
Browse product: - the customer requests to view the products in a product category. The system
will display the product information of the selected category
Order product:-A document rose by a customer specifying one or more products that have been
purchased. The order specifies the quantity of each product, tax and shipping charges. Orders are
passed to the salesperson.
Add item to cart: - when the customer finds the products he wants, he adds them to the
shopping cart. The system will store and keep track the information of the products that have
been added into shopping cart.
Remove item from cart: - the customer remove product already added in the shopping cart
Add product to catalog: - the store manager add products to the catalog.
Remove product from catalog: - the store manager remove product from the catalog.
Payment: - The customer pays the total amount by electronic transfer into a bank account of the
merchant. The ordered goods will be shipped after incoming payment.
Create new user:-the system administrator create new accounts for the users with appropriate
privilege.
Delete user:-the system administrator remove the user account from the database.

24
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

3.2.1 Use case Diagram

Fig 3.1 use case diagram for ecommerce system for fruit supermarket

25
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

3.2.2 Use Case Documentation


1. Use case documentation for login

Use case name Login

Use case id Uc-1

Primary actor Customer, manager , sales person& store manager

description The system authenticates the user of the system.

Pre condition The customer should be registered

Basic course of action Actor action System response

step1.Customer calls for logging in step2.The system displays login form


step3. The customer fills the user name step4. The system validates the
and password on login form. customer.
step5. System displays the appropriate
homepage for the user.

Alternative course of If the customer is not a valid customer


action  The system displays message “incorrect user name & password”.
 Go to step 2

Post condition The customer logged in to the system, main window for the appropriate user will be
displayed.

Table 3.1 use case for login

26
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

2. Use case documentation for registration

Use case name Register

Use case id Uc-2

Primary actor customer

description Customers will be registered for membership.

Pre condition The customer should have visa card.

Basic course of action Actors Action System Action


step1. Browse the site. step2. The system displays home
step3. Click on the registration page.
page. step4. The system displays
step5. Enter the required input. registration page.
step6. The system checks the validity
of the input data.
step7. The system registers the user.

Alternative course of action If the information provided is not valid


 the system displays error message
 The system prompts to re input the information.
If the customer already registered
 The system display already registered message.
Post condition The customer can login and order an item.

Table 3.2 use case for Register

27
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

3. Use case documentation for Delete customer

Use case name Delete customer

Use case id Uc-3

Primary actor System administrator

description The Customer account will be deleted by the administrator.

Pre condition The administrator should log in with appropriate privilege

Basic course of action Actor action System response

step1.the administrator selects Delete step2.The system asks the


customer page administrator for a customer ID
step4. The system displays customer
step3.The administrator enters the details.
customer ID step5.system asks to confirm for
step6.The administrator confirms the deletion
deletion step7. System deletes the customer
details
step8. system displays the success of
the deletion

Alternative course of If the customer is not found


action  The system displays the user detail doesn’t exist
 Go to step 2

Post condition The customer Details will be deleted from the system.

Table 3.3 use case for Delete customer

28
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

4. Use case documentation for Update customer

Use case name Update customer

Use case id Uc-4

Primary actor Customer

description The customer will update his/her information.

Pre condition The customer must have their own account.

Basic course of action Actor Action System Action

step1. Customer clicks on update step2. The system display updates


page. form.
step3. Customer fill required step4. The system validates the input
information and click on submit data.
page. step5. The detail of the customer will
be updated
step6. The system display success
message.
Alternative course of action If the customer fills invalid information
 The system displays error message and refill the information.

Post condition The customer information will be updated

Table 3.4use case for Update customer

29
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

5. Use case documentation for Browse product

Use case name Browse product

Use case id Uc-5

Primary actor Customer

description The customer can browse product by category and name.

Pre condition
No precondition

Basic course of action Actor action System response

step1. The customer requests to step2. The system will display the
view the products in a product Product information
category.

Alternative course of action none

Post condition none

Table 3.5use case for Browse product

30
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

6. Use case documentation for order

Use case name order

Use case id Uc-6

Primary actor customer

description The customer adds the items to the shopping cart and orders those items.

Pre condition The customer should have the items in shopping cart.

Basic course of action Actor action System response

step1. Customer request to step2.System displays product list


order.
step3. The customer will
select the list of items to order
from the shopping cart.
step4. The customer order the
item step5. System displays ordered item and
calculate the total cost.

Alternative course of action none

Post condition 1. Customers can view his/her order.


2. Customer will be ready for payment process.

Table 3.6 use case for order

31
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

7. Use case documentation for Remove item from shopping cart

Use case name Remove item from shopping cart

Use case id Uc-7

Primary actor Customer

description The Customer can remove items from the shopping cart.

Pre condition The Item must be in the shopping cart

Basic course of action Actor action System response

step1. Customer selects item to remove step2. System display item in the
from shopping cart. shopping cart.
step3. customer selects ‘Remove item’
step5. The customer confirms the step4. The system asks the user for the
removal confirmation.
step6. The system removes the item
from the customer shopping cart.
Alternative course of If The user not confirms to remove the item
action  The use case continues to step 2

Post condition 1.A product will be removed from the customer ‘s shopping cart
2. The shopping cart content is updated.

Table 3.7 use case for Remove item from shopping cart

32
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

8. Use case documentation for Add item to cart

Use case name Add item to cart

Use case id Uc-8

Primary actor Customer

description This activity is carried out when the Customer want to add items to the shopping
cart.
Pre condition The customer browses the products.

Basic course of action Actor action System response

step1. Customer selects a product. step2.system display product page


step3. customer selects ‘Additem’
step4. The system adds the item into
the customer shopping cart.

Alternative course of none


action

Post condition 1.A product will be added to the customer ‘s shopping cart
2. The contents of the carts are displayed.

Table 3.8use case for Add item to cart

33
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

9. Use case documentation for Add product to catalog

Use case name Add product to catalog

Use case id Uc-9

Primary actor Store manager

description This activity is carried out when the store manager want to add new products to the
catalog.
Pre condition The store manager is logged on to the system.

Basic course of action Actor action System response

step1. The store manager select add step2. The system displays the product
product home page. home page.
step3. The store manager enters the step4. The system validates the input
product information. data for the product
step5. The system asks the store
step6. The store manager confirms that manager to confirm that the new
the new product should be added. product should be added to the catalog.
step7. The system adds the new product
to the catalog.
step8. The system displays the success
message to the store manager.
Alternative course of If the product information invalid
action  Display data is not valid message
 Go to step 3
If the store manager confirms the new product should not be added
 Go to step 4
Post condition A new product will be added to the catalog.

Table 3.9 use case for Add product to catalog

34
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

10. Use case documentation for Delete Product From Catalog

Use case name Delete Product From Catalog

Use case id Uc-10

Primary actor Store manger

description This activity is done when the store manager want to delete products from the
catalog.
Pre condition The store manager should log on the system

Basic course of action Actor action System response

step1.The store manager selects delete step2. The system displays the delete
product home page product home page.
step3. The store manager enters the step4. The system displays the product
product identifier. details.
step5.store manager delete item step6.The system ask Store manger to
step7. The store manager confirms the confirm deletion
deletion. step8. The system deletes the product
from the catalog.

Alternative course of none


action

Post condition A product will be deleted from the catalog.

Table 3.10 use case for Delete Product From Catalog

35
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

11. Use case documentation for Payment

Use case name Payment


Use case id Uc-11
Primary actor customer ,sales person & visa card verification company

description Customers will do the payment for the products he/she have ordered.
Pre condition Customer must be registered with the system.
The customer must order products
Basic course of action Actor Action System response
step1. The Customer selects step2. System display payment page
payment page
step3.customer enters detail step4. System validates payment
information about payment information
step5.system asks for confirmation
step7. System takes the payment and
step6.customer confirms deducts that much amount from the
payment process visa card account.
step8. System displays success
Message.

Step9.salesperson gets detail of


payment information
Alternative course of action A1.if the customer enters invalid information
 The system display error message
 The customer re-enter specific data.
A2.if the visa card information is invalid(low balance, wrong pin
number)
 The customer re input the information.
Post condition The payment will be done from his visa card successfully.
Customer will be provided a message of conformation of payment

Table 3.11 use case for Payment

36
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

12. Use case documentation for Create New User

Use case name Create New User

Use case id Uc-12

Primary actor Administrator

description This activity is performed when the administrator want to create a new user.

Pre condition The administrator is logged on to the system.

Basic course of action Actor action System response

step1. The administrator select create new step2. The system displays new user
user home page. home page.
step3. The administrator enters the user step4.system validates the information
information (user name, password & provided
name of user). step5. The system creates a new user
account.
step6. The system displays success
message for the administrator.

Alternative course of If the user information invalid


action  Go to step 2

Post condition A new user account will be created.

Table 3.12 use case for Create New User

37
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

13. Use case documentation for Delete User’s

Use case name Delete User’s

Use case id Uc-13

Primary actor Administrator

description This activity is performed when the administrator want to delete an existing user.

Pre condition The administrator is logged on to the system.

Basic course of action Actor action System response

step1 .the administrator select delete step2. The system displays delete user
user account home page. account home page.
step3. The administrator enters the user step4. The system displays the user
account to be deleted details.
step5.administrator deletes the account step6.system asks for confirmation
step7. The administrator confirms the step8. The system deletes the user’s
deletion. account.
step9. the system displays the user is
deleted successfully message

Alternative course of If the user name is incorrect


action  Re input the user name.
If the administrator confirms not to delete
 Go to step 2
Post condition A user’s account will be deleted.
Table 3.13 use case for Delete User’s

38
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

3.2.3. Sequence Diagram

1. Sequence Diagram for login

39
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Fig3.2.sequence diagram for login

40
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

2. Sequence Diagram for registration

41
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Fig3.3.sequence diagram for register

42
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

3. Sequence Diagram for delete customer

43
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Fig 3.4 sequence diagram for delete customer

44
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

4. Sequence Diagram for update customer

45
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Fig.3.5 sequence diagram for update customer information

46
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

5. Sequence Diagram for browse product

Fig .3.6 sequence diagram for browse product category

47
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

6. Sequence Diagram for order

Fig3.7 sequence diagram for order item

48
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

7. Sequence Diagram for remove item from shopping cart

49
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Fig 3.8 sequence diagram for remove item from cart

50
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

8. Sequence Diagram for add item to cart

Fig.3.9 sequence diagram for add item to cart.

51
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

9. Sequence Diagram for add product to catalog

52
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Fig 3.10 sequence diagram for add product to catalog

53
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

10. Sequence Diagram for remove product from catalog

Fig.3.11 sequence diagram for remove product from catalog

54
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

11. Sequence Diagram for payment

55
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Fig.3.12 sequence diagram for payment

56
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

12. Sequence Diagram for create new user

57
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Fig 3.13 sequence diagram for create new user

58
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

13. Sequence Diagram for delete user

59
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Fig 3.14 sequence diagram for Delete user

60
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

3.2.4 Activity Diagram

1. Activity Diagram for login

Fig 3.15 Activity diagram for login

61
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

2. Activity Diagram for registration

Fig 3.16 activity diagram for register

62
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

3. Activity Diagram for customer delete

Fig 3.17 activity diagram for customer delete

63
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

4. Activity Diagram for update customer info

Fig 3.18 activity diagram for update customer

64
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

5. Activity Diagram for order product

Fig 3.19 activity diagram for order product

65
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

6. Activity Diagram for remove item form shopping cart

Fig 3.20 activity diagram for Remove item from shopping cart

66
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

7. Activity Diagram for add item to shopping cart

Fig 3.21 activity diagram for add item to shopping cart

67
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

8. Activity Diagram for add product to catalog

Fig 3.22 activity diagram for add product to catalog

68
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

9. Activity Diagram for remove product from catalog

Fig 3.23 activity diagram for remove product from catalog

69
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

10. Activity Diagram for payment

Fig 3.24 Activity Diagram for payment

70
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

11. Activity Diagram for create new user

Fig 3.25 Activity diagram for create new user

71
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

12. Activity Diagram for delete user

Fig 3.26 Activity diagram for Delete user

72
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

3.2.5 Analysis level Class Diagram of the Ecommerce System

Fig 3.27 Class diagram

73
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

3.2.6 User Interface Prototype

Fig 3.28 User interface prototype

74
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

3.2.7 Supplementary Specification


Business Rule

Name: determine eligibility to login

Identifier: BR1

Description: the system should be used only by authorized persons, since there is sensitive data
that should not be altered by anybody. Therefore, only users having valid username and
password can login to a system.

Name: The customer should have to fill all necessary information to be registered and to be a
customer of supermarket.

Identifier: BR2

Description: during registration the customer should fill all required information in order to be
registered and to get services from the supermarket.

Name: record may not be repeatedly stored

Identifier: BR3

Description: for the removal of data redundancy which leads to wastage of storage memory, it is
necessary to remove redundancy whenever necessary.

Name: field emptiness

Identifier:-BR 4

Description:-it is not allowed to leave a field empty before performing any operation.

Name: determine eligibility to see reports

Identifier:-BR 5

Description:-it is not allowed to see all reports unless he/she is the Administrator

Name: determine eligibility to update

75
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Identifier:-BR 6

Description:-updating the users’ information is not allowed for all other than the Administrator.

Name: determine eligibility to Add

Identifier:-BR 7

Description:-addition of an item is not allowed unless the item is found in the database currently

76
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

CHAPTER FOUR
SYSTEM DESIGN
4.1 Introduction
This project is designed in a manner that solves the problems of the organization by minimizing
the work load that appears on the employees because of the existing manual system. It provides
more efficient, reliable and time saving system. In this project design the team will try to show:

 How the project is designed


 What are tasks done under the whole project
 The different modules and their way of functioning are described here.
Generally, the project will be designed by addressing all of the above criteria of project design. It
is designed to simplify functions of the manual system and it is capable of doing large amount of
works in short period of time with more accuracy and reliability. Generally this project design
will describe how the project is designed, what tasks done under this project and different
modules and their way of functioning.

This design system is to involve converting the description of the proposed system into logical
and then physical design specification. We expect one can understand our new system
implementation because it gives full description about whole system. Also one can understand
easily and enable to answer how the system developed and functioned in simplified manner.

The goal of system design according to the proposed project is to manage complexity by
dividing the system into smaller, manageable pieces and to increase the system:-

 Efficiency: the system doing something well and thoroughly without waste of money and
time.
 Flexibility : the system able to change to suite new condition or situation
 Security: the system should be secured, i.e. not allow unauthorized users to access the
system.
 Reliability: the system should be reliable.

77
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

4.2 Class type architecture

Fig 4.1 class type architecture

78
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

4.3 Class modeling

Fig 4.2 class diagram for the new system

79
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

4.4 State Chart Modeling


In this part the team used to model the behaviors of the objects by drawing the state diagram.
That shows the sequence of states that an object goes through, the events that cause the transition
from one state to the other and the actions that result from a state change.

State chart diagram for login

Fig 4.3 State chart diagram for login

80
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

State chart diagram for new customer registration

Fig 4.4 state chart diagram for customer registration

81
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

State chart diagram for delete customer

Fig 4.4 state chart diagram for delete customer

82
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

State chart diagram for update customer information

Fig 4.5 state chart diagram for update customer information

83
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

State chart diagram for browse product

Fig 4.6 state chart diagram for browse product

State chart diagram for order product

Fig 4.7 state chart diagram for order product

84
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

State chart diagram for remove item from shopping cart

Fig 4.8 state chart diagram for remove item from shopping cart

State chart diagram for add item to cart

Fig 4.9 state chart diagram for add item to cart

85
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

State chart diagram for add product to catalog

Fig 4.10 state chart diagram for add product to catalog

86
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

State chart diagram for delete product from catalog

Fig 4.11 state chart diagram for delete product from catalog

87
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

State chart diagram for payment

Fig 4.12 state chart diagram for payment

88
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

State chart diagram for create new user

Fig 4.12 state chart diagram for create new user

89
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

State chart diagram for delete user account

Fig 4.13 state chart diagram for delete user account

90
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

4.5 Collaboration Modeling


Collaboration diagram for system login

Fig 4.14 collaboration diagram for login

Collaboration diagram for customer registration

Fig 4.15 collaboration diagram for customer registration

91
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Collaboration diagram for delete customer

Fig 4.16 collaboration diagram for delete customer


Collaboration diagram for update customer information

Fig 4.17 Collaboration diagram for update customer information

92
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Collaboration diagram for browse product

Fig 4.18 collaboration diagram for browse product


Collaboration diagram for order product

Fig 4.19 collaboration diagram for order product

93
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Collaboration diagram for remove item from shopping cart

Fig 4.20 Collaboration diagram for remove item from shopping cart

Collaboration diagram for add product to shopping cart

Fig 4.21 Collaboration diagram for add product to shopping cart

94
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Collaboration diagram for add product to catalog

Fig 4.22 Collaboration diagram for add product to catalog

Collaboration diagram for remove product from catalog

Fig 4.23 Collaboration diagram for remove product from catalog

95
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Collaboration diagram for payment

Fig 4.24 Collaboration diagram for payment

Collaboration diagram for create new user

Fig 4.25 Collaboration diagram for create new user

96
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Collaboration diagram for delete user

Fig 4.26 Collaboration diagram for delete user

97
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

4.6 Component Modeling

Fig 4.27 component modeling

98
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

4.7 Deployment Modeling


A deployment diagram shows processors, devices, and connections. Each model contains single
deployment diagram which shows the connections between its processors and devices, and the
allocation of its processes to processors.

Fig 4.28 deployment modeling

99
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

4.8 Persistence Modeling

Fig 4.29 persistence modeling

100
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

4.9 User Interface Design


In this sub title of the project the team tried to show some of the user interfaces that exist in the system.

Among these:

1. Home page of the system

2. Security login User Interface

3. Add product to system user interface

Main Form of the System

Fig 4.30 Main form of the system

101
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Security login user interface

Fig 4.31 Security login user interface

102
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Add product to system user interface

Fig 4.32 Add product to system user interface

103
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Chapter 5

5.1 Implementation and Testing

System Implementation and Operation


During implementation and operation, physical design specification must be turned into working
computer code, and then the code is tested until most of the errors have been detected and
corrected. The system is installed, user sites are prepared for new system and user must come
totally on the new system rather than the existing one to get there work done. There are some
managerial activities in this, coding, testing, and installation.

Coding
Coding is the process whereby the physical design specification created by the designers is
turned in to working computer code by the programmer. Modern language that used is PHP.

Sample code for the system

“Customer Registration sample code

104
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

105
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

106
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Shopping cart Sample code

107
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

108
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

109
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

110
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

111
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

5.2 Final Testing of the System


Once code has begun, the testing process can begin and proceed in parallel.AS each program
module is produced, it can be tested individually, as part of the larger program, and then as part
of larger system. The following are different testing strategies.

 Unit testing
Particularly each form and report with concerned database is tested by a specific data. In
this only the team can illustrate the output of error in a specific manipulation.
 Integration testing
By combining each individual form and report with their concerned database us tested by
giving general date. From this the team can understand that how the system work using
the separate module.

 Validation Testing or System Testing


It is the final step of testing. In this the team members tests the entire system as a whole with all forms,

code, modules. This form of testing is popularly known as Black Box testing or System tests.
5.3 Hardware Software Acquisition
To do this project the team use different hardware and software parts like that of:

Hardware

 Desktop computer for doing all activity ,implementing the software


 Different reference
 Printer for printing all document part
 Flash to transfer data from one computer to other.

Software

 Edraw max for the drawing of some diagrams like use case diagram
 PHP (XAMPP) server and MYSQL to develop our data base system.
 Microsoft word for any requirements like that of writing our documentation.
 Macro Dreamweaver to develop the static web page of our project and to done dynamic
page

112
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

5.4 User Manual Preparation

The team has prepared a user manual entitled as a help in our system navigation bar that can
guide users when they get any confusion during their usage. So, the following is the common
question most customers want to get the answer to have access to the web page application.

How to make ordering of products?

1. Browse the system


2. Select product from product page
3. Select add to cart

5.5 Training
Before giving any training on our project to the owner and manager of supermarket, this web
page must be deployed and then we can give the training without any difficulty and too many
who wants to have the knowledge of this web application if it is necessary.

5.6 Installation Process

We can’t install system because it is wabe based and everybody can use online.

5.7 Start-up Strategy


After our web page is configuring, the page start up in two ways.

 First, before the customer access the page they must be registered as a member.
After he/she would be the member of the system, then the next step is login to
enter into the page.
 Second, any user or customer can access the page without making registration or
without to be the member of the system.

113
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

Chapter Six
6.1 Conclusion

It is known that developing a system for an organization is not easy. But the team have tried its best
and developed interesting system ecommerce system for fruit supermarket. It is flexible, accurate and
attractive with easy GUI approach. Generally, the team confidently can say that the software is
completed successfully with negligible errors. Finally the team expects the software will change the
general business atmosphere of the Organization and market it more profitable than the previous
manual system.

6.2 Recommendation

According to scope of our project the team develops web application .Because of the time constraint
we cannot do beyond to our scopes, but in the future the team believes that this system can be fully
operational by having enough time and fully information.

Finally the team would recommend that further work should done on the system in order to make the
system perform better for interested personnel’s who would like to use electronic commerce or for first
class supermarket, for those who would like to work on electronic commerce its recommended to do
more work on the functionalities such as:-

 Alert expired date of product


 Alert if products are short
 Integrating visa card with the system

114
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

References
1 Scott w.Ambler, Object Primer, 3rd edition

2.hoffer,Jeffrey A. and Georg, Joey F and valacich,Joseph S,modern systems and design, person
education(Singapore)ptc.Ltd,india Brench,482 F.I.E patperegieng,Delhi 110092,India,2000

2. Dr. Jim Arlow, OO Analysis and Design with UML and USDP, Version 2.0

3. Ph.D Jerry Gao, Introduction to E-commerce

4. Professor Lonnine D.Bentlley “System Analysis and Design methods”

Simon Bennet, Steve McRobb and Ray Farmer: Object oriented system analysis and design

5. H.M Detail, internet and World Wide Web How to program, Second Edition 2003.

115
Arba Minch University Department Of computer Science & IT
Ecommerce System for Arbaminch Fruit Supermarket 2004 E.C

116
Arba Minch University Department Of computer Science & IT

You might also like