Professional Documents
Culture Documents
Full Document
Full Document
Full Document
Table of Contents
Acknowledgement....................................................................................................................................i
Abstract....................................................................................................................................................ii
Chapter One.................................................................................................................................................1
1. Introduction......................................................................................................................................1
2. Problem statement of the project......................................................................................................2
3. Objectives of the project..................................................................................................................2
3.1. General Objectives..................................................................................................................2
3.2. Specific Objectives...................................................................................................................3
4. Methodology of the project..............................................................................................................3
4.1. Methodology of the project......................................................................................................3
5. Scope of the study............................................................................................................................5
6. Limitation of the project...................................................................................................................5
7. Significance of the project................................................................................................................6
8. Feasibility Assessment.....................................................................................................................6
8.1. Economic Feasibility................................................................................................................6
8.2. Technical Feasibility................................................................................................................9
8.3. Operational Feasibility...........................................................................................................10
8.4. Schedule Feasibility...............................................................................................................10
9. Management issues........................................................................................................................11
9.1. Team configuration and management.....................................................................................11
9.2. Communication plan.............................................................................................................12
Chapter Two..............................................................................................................................................13
System Requirements Specification.......................................................................................................13
1.1. Purpose..................................................................................................................................13
1.2. Overview the Existing System...............................................................................................13
1.3. Overview the Proposed System..............................................................................................13
2. Supplementary specification..........................................................................................................14
2.1. Functional Requirements........................................................................................................14
2.2. Non Functional Requirements................................................................................................14
i|Page
Online Shopping System 2016
ii | P a g e
Online Shopping System 2016
4.3. Conclusion.................................................................................................................................76
5. Clients Feedback............................................................................................................................77
6. User Manual...................................................................................................................................78
Appendix...................................................................................................................................................89
Reference...............................................................................................................................................89
ii | P a g e
Online Shopping System 2016
Acknowledgement
First and foremost, and above all our biggest thanks would be to Almighty God because nothing
could be possible without his free will and the completion of this project is supported by him.
Secondly, our deepest thanks go to our Advisors Mr. ABDURAHMAN REDI and Miss RAMA
AMATI for guiding and for their invaluable advice and useful suggestion. Next I would like to
acknowledge Haramaya University Information System Department in order to developing
computer based system in a good manner. At the last special thanks to our classmates specially to
Tesfaye Bekele for their great help and keeping us to reach today’s day.
i|Page
Online Shopping System 2016
Abstract
The Online Shopping is a web based application intended to online for customer. The main
objective of this application is to make it interactive and its ease of use. It would make searching,
viewing and selection of a product easier.
This project concern about online shopping system for literature materials like Electronic
product. The customer can view the complete detail of each product. The application also
provides to customer can add a product to the shopping cart and also they may view the
contents of their shopping cart at any time and may they remove items at will finally Our
system provides automatically calculates the total price then display for the customer. The main
emphasis lies in providing customer to order item in easy way by using add to cart or select one
item The system generate receipt for the customer when successfully order item The Admin
have many privilege in the system, such as create and delete employee account, viewing order.
For sales person, search item, view comment and view report. The warehouse employee also has
privilege such as manage product (add, delete, update product) and view order.
ii | P a g e
Online Shopping System 2016
Chapter One
1. Introduction
Online Shopping center is the system that involves selling and buying transaction process. Such
transaction is concentrate on literature materials like Electronic product like, Computer, Cell
phones, printer, scanner, Photo copier and other kinds of electronic materials. Current Ethiopian
shopping centers are most of them are use a manually system to sale their products.
The Online Shopping Cart website allows to customer online shopping collecting items in a
shopping cart. They may view the contents of their shopping cart at any time and may add or
delete items at will. This system provides automatically calculates the total price of the
product, and provide payment system.
This is website which helps you to do the major part of online shopping by using this site
and can be managed by online. Customer can do the all major transaction in a secured way. Here
the customer will feel shopping by adding the selected product to his/her cart in addition to that
he/she can also does bulk addition into the cart before purchasing. This all options are done by
session management. To ensure the authentication of the customer, he/she must have to register
before purchasing.
Therefore, the online shopping system we planned to analyze in this project we will try the best
way to make the complicated process of the shopping system as simple as possible using
Structured, Modular technique and Menu oriented interface. We are going to design the website
in such a way that customer may not have any difficulty in using this package & further
expansion is possible without much effort. Even though we cannot claim that this work to
be entirely exhaustive, the main purpose of this project is to make each customers and sellers
activity in automated or computerized way rather than manually.
1
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
The overall activities in the Existing System the Customer is completely depending on the
manual process for buying the products. Manual process is a time consuming factor. And when
customer approaches for a manual shopping directly, actually he/she does not have an idea about
things like, price range, items, etc. The time which has been spent by the customer in manual
shopping can equates to multiple number of shopping. As customer can sit at home and browse
in a fraction of seconds. Thus we need to change to a system like “Online Shopping “.
The general objective of the project is to automate the existing shopping system.
2
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
In order to fulfill the above objectives, we need to accomplish the following specific objectives.
We use primary data collection methods have been implemented for the identification of the
problem and understanding the existing system. Some of the methods we use: -
Interview: - The most important method that helps us to get most important and critical
information about the general view of the Shops is by interviewing owner of the Shop material,
seller of the Shop and some customers.
3
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
We get responses from the persons and they also say that, the current system is used manual
system that means all activates performed by agenda. So that the system is complex, more time
consuming and redundant activity.
Observation: - this method is also used to collect data, done by direct seeing the working
environment. We have observed physically by going to some electronic shop in harar. Also we
observed that there is no any computerized system in the Shop and also information about the
Shop and the service that the Shop provides were not available easily. The team also
observes that ordering is only by face to face.
We decided to use object oriented system analysis and design (OOSAD) because of the following
reasons.
It would facilitate code re use since it implements the concepts of object oriented method
like, inheritance, encapsulation and polymorphism. From development method, we use
prototyping and from testing method we use integration and system testing.
4
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
The scope of the project is defined in terms of the tasks that the system accomplishes. Thus, the
scope of the project is limited to:
Rate of taxes
Payment salary of the employee’s
Only provide electronic materials
5
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
8. Feasibility Assessment
Preliminary investigation examines project feasibility the system will be useful to the
organization. The main objective of the feasibility study is to test the Technical, Operational
and Economical feasibility for adding new modules and debugging old running system. All
systems are feasible if they are given unlimited resources and infinite time. There are aspects
in the feasibility study portion of the preliminary investigation:
Economic Feasibility
Technical Feasibility
Operation Feasibility
Schedule Feasibility
Economic feasibility attempts to weight the costs of developing and implementing a new system,
against the benefits that would occur from having the new system in place. This feasibility study
gives the top management the economic justification for the new system. There could be various
types of tangible and intangible benefits and costs on account of automation.
6
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
Benefits: the benefits of one system can be expressed in terms of tangible benefit and intangible
benefit.
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).
1. Cost Reduction and Avoidance: - To calculate these following things will be considered.
Total Number of Employee in existing system= 10
Difference b/n before and after deployment money required for payment
B. Intangible Benefits
This refers to benefits that cannot easily be measured in terms of money and with certainty. Some
of the intangible benefits of the proposed system are: -
It minimizes the work load of the worker
Efficient work flow
Increase speed of activity
Save the loss of documents
7
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
Increase flexibility
On time information
Increase security
Cost: This is the tangible and intangible cost of the proposed system.
A. Intangible cost
Costs consequent from the design of an automated system that cannot be easily considered as cost
are:
Time requires for adapting new system
Requiting or train staffs who operates the new system.
Organizing the office with the new organization.
Work satisfaction
B. Tangible cost
Hardware cost
Total
417birr
8
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
Software cost
Understand the different technologies involved in the proposed system:Before commencing the project,
we have to be very clear about what are the technologies that are to be required for the development of the
new system.
Find out whether the organization currently possesses the required technologies:
For instance- “Will the current printer be able to handle the new reports and forms required fort the new
system?”
9
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
The technical issue usually raised during the feasibility stage of the investigation includes the following:
Does the necessary technology exist to do what is suggested?
Do the proposed equipment’s have the technical capacity to hold the data required to use the new system?
Will the proposed system provide adequate response to inquiries, regardless of the number or location of
users?
Can the system be upgraded if developed?
User-friendly
Reliability
Security
Portability
Maintainability
As we know planning is the first phase of any system so we need to start with the schedule
programs and our project is intended to be with in fixed time interval. Unless and otherwise we
may fall in difficulty in cost estimation and as well as we may fall in the financial problem. To
overcome such problems, we fixed the time interval in which we should finish the development
of the whole time among different section of project by using the techniques of schedule like
Gant chart.
9. Management issues
This phase is the responsibility of the manager to do management roles to the project members.
And it has a power to do anything such as to punish the members or to give some reward and so
on. Management issue is about the team members and the way in which we are going to use our
effort on the system and a plan how we go with time based on the schedule to accomplish within
the time we have.
Time Techniques
Chapter Two
System Requirements Specification
1.1. Purpose
Considering the main problem of the online shopping system, the major purpose of this proposed
system is to organize and manage the items which is purchase and sold as well as the systems
also aim generating the daily, monthly, semi and yearly transaction reports and receipts for each
sold items. In addition to this some of the main purpose of this project is:
Advertising products
13
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
2. Supplementary specification
2.1. Functional Requirements
The Functional Requirements Specification documents the operations and activities that a system
must be able to perform. Functional requirements should include functions performed by specific
screens, outlines of work flows performed by the system, and other business requirements the
system must meet
Administrator
Manages Employees
Accept feedbacks.
Update profile.
View order
View report
Customer
Register and login to site.
View item, add to cart and Remove items from cart.
Send feed back
Order product
Warehouse employee
Add, update and delete products
View customer order
Update profile.
14
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
B) Software requirement
Notepad ++
XAMP Server
Edraw MaxUML
Mozilla Firefox, Baidu browser
Microsoft office word 2016
15
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
Others
Internet connection
Dedicated lab room
Identifier: BR1
Description: The user has to login to do his/her business operation on the system
Identifier: -BR2
Description: for the changing or cancel customer must be change or canceled on 10 minute only.
Identifier: -BR 3
Description: -it is not allowed to see all reports unless he/she is the Administrator
Name: determine need to Add items, Update items, and Delete items
Identifier: -BR 4
16
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
Description: - it is not allowed to add, update, and delete items unless he/she is the Warehouse
Employee.
Identifier: -BR 5
Description: - it is not allowed to add and delete users unless he/she is the Administrator.
Identifier: -BR 6
Identifier: -BR7
Description: -admin or ware house employee’s must have logged in to view order
2.4. Constraints
The following requirements are general constraints of the system:
17
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
Class Responsibility Collaborator (CRC) Modelling is a method to gather and define the user
requirements for an object-oriented application. The output of CRC Modelling is a CRC Model
which is a collection of CRC cards that represent the whole or part of an application or problem
domain. Each CRC Card in the model represents a class in the solution. A class represents a
person, place, thing, event, concept, screen, or report that is relevant to the system at hand. The
name of the class appears across the top of the card. A responsibility is anything that a class
knows or does.
customer <<Actor>>
Order Register
Order product<<UI>> Register<<UI>> login<<UI>>
Warehouse Employee<<Actor>>
18
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
Administerator<<Actor>>
View order
register Creat Employee Login<<UI>> View Order<<UI>> View Report<<UI>>
Account Delete Account
Order Product<<UI>>
Cus coupon
19
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
Manage Employee<<UI>>
Manage Product<<UI>>
Account Product
20
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
Registeration<<UI>>
Customer Account
Login<<UI>>
Username PasswordAccount
21
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
Account
Customer Employee
Customer
Order Account
Employee
Account
Report
Order
Customer Product
A use case is a sequence of transactions performed by a system that yields an outwardly visible,
measurable result of value for a particular actor. A use case typically represents a major piece of
functionality that is complete from beginning to end. An actor represents whoever or whatever
(person, machine, or other) interacts with the system. The actor is not part of the system itself and
represents anyone or anything that must interact with the system.
21
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
Description The Customer adds the products what he wants to buy to the cart
Description Here using the use case, the Customer will pay the bill.
22
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
Description The Sales Person Add the product category to the shelf
23
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
24
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
12. The system displays successfully registered message and login page.
25
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
Description Only the registered users will login, it may be the customer, Administrator or
Ware house employee.
26
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
27
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
Description The Customer Orders the products what he wants to buy and it includes login before
order
28
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
Alternate Course B: If the customer not has enough money in coupon account.
29
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
Alternate Course c: If the customer wants to cancel order.
c.24. The customer clicks on cancel order button based on Bissness Rule 2
c.25. The system cancel the customer ordered product and add balance to customer
coupon account
1. The warehouse employee wants to add new product based on Bissness Rule 4
31
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
13. The use case end
32
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
6. The system return msg
33
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
Use case name Delete Employee
34
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
User interface prototype is to indicate the surface that can be used by user and the system to
communicate to each other, but, not actual work area. Here the prototype of applicant registration
form and employee search detail is listed.
Administrator Page
User Information
Information
Warehouse Employee
Page
Figure 5.1 User interface prototype for administrator and warehouse employee
35
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
Username
Manage Product
Administrator Information
Username
Manage Employees
Customer Information
Username
Manage Cart
36
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
6. Activity diagram
Introduction
An Activity diagram is a type of flow chart with additional support for parallel behavior.
This diagram explains overall flow of control.
Activity diagram is another important diagram in UML to describe dynamic aspects of
the system.
Activity diagram is basically a flow chart to represent the flow from one activity to
another activity
The activity can be described as an operation of the system.
The control flow is drawn from one operation to another. This flow can be sequential,
branched or concurrent. This distinction is important for a distributed system.
37
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
38
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
39
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
Chapter Three
order product
Manage Employee
Manage Product* Login
Registration
View order
View report
System
Business / Domain Classes
Class
order product
report
feed back
Persistence Classes
Account
Customer
Employee
Order
Product
Data storage
41
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
Person
Account
fname
Account_ID lname
Account_type 1Have1 password
user_name phone
password sex
+ login() age
+ logout() - Account_ID
Customer Employee
cus_ID emp_ID
state Account_type
city
kebele
house num
Account num
+ addtocart()
+ remove() Report
+ viewcart()
+ order() Administrator rep_ID
+ register() cus_ID
M Warehouse Emp
M M cus_fname
M M cus_lname
Order + report() pro_name
1 + vieworder()
Manage + vieworder() View pro_code
+ create() pro_quantity
+ delete() order_date
M
Manage + report()
Register
1
M
Product
1 pro_ID
pro_name
Registration pro_code
M pro_desc
user_ID pro_image
user_fname pro_price
user_lname pro_quantity
user_name
password + add()
phone + update()
sex + delete()
age 1 Register
Account_type
+ register()
42
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
2. Sequence Diagram
Diagrams model the dynamic aspects of a software system. The emphasis is on the “sequence” of
messages rather than relationship between objects. A sequence diagram maps the flow of logic or
flow of control within a usage scenario into a visual diagram enabling the software architect to
both document and validate the logic during the analysis and design stages. Sequence diagrams
provide more detail and show the message exchanged among a set of objects over time. Sequence
diagrams are good for showing the behavior sequences seen by users of a diagram shows only
the sequence of messages not their exact timing. Sequence diagrams can show concurrent
signals.
43
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
Figure 2.1 Sequence Diagram for login
44
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
45
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
46
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
3. Collaboration diagram
A collaboration diagram, also called a communication diagram or interaction diagram, is an
illustration of the relationships and interactions among software objects in the Unified Modeling
Language (UML).
48
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
49
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
User Interface Design is contain home page, products page, login form, registration form,and
shopping cart page. Home Page is a page that users interact with the system primarly. It contains
Home, Products,Register, Login, About us and Contact us.
Product page is used to select or add items the user wants to his cart. In this page there is much
kind of Electronics products like laptop, desktop, mobile, and other devices.
Shopping cart page is used to show what the user added to his cart with their total price and
quantity.in this page user can remove items from his cart and also can add another items.
51
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
Also this page is used to register new Customer and can login in this page. The customers of the
system have to fill all those data to register if does not fill all the box alert massage to customer
and cannot register.
Registration Form
Login Form
52
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
53
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
54
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
55
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
Persistent data management deals with how the persistent data i.e. file, database, etc. are stored
and managed and to outlives a single execution of the system. Database design is the process of
producing a detailed data model of a database. This data model contains all the needed logical and physical
design choices and physical storage parameters needed to generate a design in a data definition language,
which can then be used to create a database. A fully attributed data model contains detailed attributes for
each entity.
state text(50)
city text(50)
kebele number(20)
house num number(20)
email varchar(50)
56
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
57
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
6.2. ER Diagram
58
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
6.3. Normalization
6.3.1. First Normal Form
Account Table
Account_ID Account_type user_name password
Customer Table
Cus_ID fname lname phone sex age state city kebele Hou Account Account_ID
num num
Product Table
Order Table
Order_ID Cus_ID fname lname Pro_ID Pro_name Pro_code Order_date Order_time
Employee Table
59
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
Customer Table
Cus_ID fname lname phone sex age state city kebele Hou Account
num num
New Table
Cus_ID Account_ID
Order Table
New Table
Order_ID Cus_ID fname Lname
New Table
Order_ID Pro_ID Pro_name Pro_code
Employee Table
New Table
Emp_ID Account_ID
Customer Table
Address Table
Cus_ID state city kebele Hou num
Contact Table
Employee Table
Contact Table
61
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
62
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
7. Component diagram
The component diagram helps to model the physical aspect of an object-oriented software
system. It illustrates the architectures of the software components and the dependences between
them.In the Unified Modeling Language, a component diagram depicts how components are
wired together to form larger components and or software systems. They are used to
illustrate the structure of arbitrarily complex systems. A component is something required
to execute a stereotype function. Examples of stereotypes in components include executable,
documents, database tables, files, and library files.
63
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
8. Deployment diagram
Deployment diagram in the Unified Modeling Language models the physical deployment
of artifacts on nodes. To describe a web site, for example, a deployment diagram would show
what hardware components exist what software components run on each node and how the
different pieces are connected.
Deployment modeling is used to show the hardware of the system, the software that is installed in
the hardware and also the middleware that is used to connect the disparate machines to one and
other. It also shows how the software and the hardware components work together.
The deployment diagram helps to model the physical aspect of an object-oriented software
system. It models the run-time configuration in a static view and visualizes the distribution of
components in an application. In most cases, it involves modeling the hardware configurations
together with the software components that lived on.
Application Server
View Orders
Customer
DB
Manage Employees
Administrator
64
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
Chapter Four
Implementation Document
1. Introduction
The implementation document helps to the users on how to work with the system. This
implementation document acts as a user manual and it helps to the users not to be confused with
the system. It includes sample pages and sample code of our system. It gives the users a brief
over view of the system.
Our project implementation contains the code and its data base connection. The implementation
is carried out with the results that have been obtained from the feasibility study and analysis.
The system is implemented by finishing the project with the help of appropriate tools that
been suggested and are loaded in to the server. Then the system is tested with appropriate data
inputs to check the successfulness of the system. This being carried out by inputting data that are
of rare to be inputted. Then the system administrator will be trained of the operational
functionalities to control and maintain system at a later stage.
2. Report on Implementation
The first phase in the implementation of a system is the plan to make it implement. For proper
implementation the plan is a pre-requisite and is known as pre-implementation activity. It is in
these steps that various activities which are required for implementing a system are identified and
their sequence and relation to each other is desired. In this step various other estimates like time
required for each activity and cost estimates are also obtained. For the better description of the
plan and implementation various tools like Gantt charts have been used.
65
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
The implementation is to change what we did in the design phase by writing code using php to all
forms. The system contains many forms that are connected to the data base in each individual
form also combined in one module in order to work the system as whole. Implementation is all
about the description of the overall developed system how users interact and use the system.
According to proposed we like to describe the implementation or how user can simply
interact with the website. Coupon card system of online shoping system is developed to easy
buying and selling using the automated system.
Administrator
Warehouse employee and
Customers
Administrator and Warehouse employee of the shopping have their own account to manage the
system control all over all thier tasks in the website. The external user or customer of the system
have to create account to interact or to buying and selling using the the system.
The administrator is the person who is responsible for controlling the user add and delete the user
account, view orders and view the feedback from customer. The warehouse employee is the
person who is responsible for controlling the products add, update and delete the product
categories and view orders of customer. The customer is person who can do the activities
like ordering the product, give the feedback for the administrator.
66
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
3. Sample Code
3.1. Sample code for Login
if (isset($_POST['signin'])){
$en = $_POST['user_name'];
$user_name=base64_encode($en);
$enp = $_POST['password'];
$password=base64_encode($enp);
$num_row = mysql_num_rows($result);
$row=mysql_fetch_array($result);
$row_id=$row['user_name'];
$account_type =$row["account_type"];
$row=mysql_fetch_array($result);
if($account_type=="Customer"){
67
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
$rr =mysql_fetch_array($result1);
$_SESSION['fname']=$rr['fname'];
$_SESSION['lname']=$rr['lname'];
$_SESSION['id']=$row_id; }
else if($account_type=="Admin"){
result1 = mysql_query("Select fname,lname from employee where user_name='$row_id'") or
die("Un able to select from employee".mysql_error());
$rr =mysql_fetch_array($result1);
$_SESSION['fname']=$rr['fname'];
$_SESSION['lname']=$rr['lname'];
echo "<script>windows: location='delete_account.php'</script>";
$_SESSION['id']=$row_id; }
else if($account_type=="WHEmployee")
{
$result1 = mysql_query("Select fname,lname from employee where user_name='$row_id'") or
die("Un able to select from employee".mysql_error());
$rr =mysql_fetch_array($result1);
$_SESSION['fname']=$rr['fname'];
$_SESSION['lname']=$rr['lname'];
echo "<script>windows: location='update_product.php'</script>";
$_SESSION['id']=$row_id;
}
}
else {
echo '<div class="alert alert-dismissable alert-danger error" >';
echo '<strong>'.'<center>'."This User Name AND Password Are Not
Correct!".'</center>'.'<strong>';
echo '</div>';
}
}
?>
68
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
<div class="product-desc">{$obj->product_desc}</div>
<div class="product-info">
<fieldset>
<label>
<span>Quantity</span>
</label>
</fieldset>
69
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
<div align="center">
</div>
</div></div>
</form>
$total = 0;
$product_name = $cart_itm["product_name"];
$product_qty = $cart_itm["product_qty"];
$product_price = $cart_itm["product_price"];
$product_code = $cart_itm["product_code"];
echo '<td>'.$product_name.'</td>';
echo '<td>'.$currency.$product_price.'</td>';
echo '<td>'.$currency.$subtotal.'</td>';
echo '</tr>';
foreach($taxes as $key => $value){ //list and calculate all taxes in array
$tax_item[$key] = $tax_amount;
$_SESSION['total'] = $grand_total;
$list_tax = '';
else{
71
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
<?php
$count = mysql_num_rows($query);
$i=0; while($row=mysql_fetch_array($query))
$i++;
$card_id=$row['cop_id'];
$card_status=$row['cop_status'];
?>
72
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
echo " Instruction: “.” "."To Recharge Your Account Fill Card Serial No. In Provided Space!";
?> </h4><br>
</td>
</tr>
<?php
?>
$db_username = 'root';
$db_password = '';
$db_host = 'localhost';
//connect to MySql
?>
73
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
4. Testing
The approach of web application testing adopts the basic principle for all software testing and
applies a strategy and tactics that have been recommended for object oriented system. the
following steps summarizes the approach.
When web apps are considered, the concepts of the unit changes, each web page encapsulated in
itself content navigation link as well as script, form and applet (processing element). It is not
always possible or practical to test each of these characteristics individually. Every module of the
System is separately tested. I.e. the team tests every module by applying some selection
mechanism. Through this mechanism every modules gets tested. If an error occurs correction will
be taken without affecting another module. We have tried to test UI screens of our system that
needs to verify screen elements that appears on the screen.
The strategy for integration testing depends upon the architecture that has been chosen for the
web application. In this testing part, all the modules will be combined together and tested it
for its fitness with each other and with the systems functionality. If error occurs in combining
them, the module with problem will be identified and recombined. Both units testing and
integrated testing are performed by all team members.
Finally, with the modular concept inside the application it is being also tested for its system
reliability. The system reliability will be insured through data integrity rules built into the
database at the backend and the system rules built into the front-end application. The system
will take assurance from the user before making any changes permanent.
74
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
Error Handling
The integration testing and system testing are used to test whether the entered values are valid or
not. We have done this by providing error message when invalid input is entered. For example, if
the user enters wrong user name and password the system displays an error message.
Maintainability
The system has been designed taking care of modularity. Faults in the system can be traced to
modules.
Validation Checks
This will be as such to maintain consistent and persistent information on the web when most of
the time the project has to deal with uploads so a minor error will down the impression of the
system.
Therefore, validation checks by software itself using the flavors of JavaScript and php codes
manual checks are also necessary as: -
75
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
4.3. Conclusion
The project concept “shopping cart” is something like the original grocery shop shopping cart
that is used by the customer in selecting certain products. Finally, after selection the customer
confirms orders for all the purchasing items and submits his/her information details with tax
information at the checkout counter. Shopping cart is used around the world in e-commerce to
manage business through online. There are different kinds of software available that are useful
for all in making purchase online. Through this software, one can choose the purchasing item
and the software calculates the net amount for the order including taxes. The software collects
the coupon card information of the customer and it provides a secure gateway for all kinds of
transaction online. The shopping cart software provides a reliable platform for keeping all
sensitive information. Shopping cart software is its security as better security can attract
customer by protecting their personal information. Security features include encrypting
information and using a reputable processing service for credit cards.
76
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
5. Clients Feedback
During implimentation time client feedback is very important input to the system many users
give us by testing the system we get good feedback. Some of the feedbacks are:
From the positive feedback on user we try to develop the system to become more effective and
efficient all direction.
77
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
6. User Manual
user manual, is a technical communication document intended to give assistance to people using a
particular system. Since the system is web based ecommerce site everything important for the
user will be explained and implemented while giving short training with the document. Our
website is depending on buying and selling products so many users must have an account to
access the functionality of the system by using this manual.
1. Enter your all information requirement into the box fields and Clicks on Register button.
78
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
79
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
81
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
82
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
3. After adding an items select an item to remove from cart and Clicks OK button
83
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
84
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
2. Then edit your information in the box fields and click on submit button
85
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
2. Fill your user name and password on the box field and click on update button
86
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
87
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
2. Fill the serial number to box field and click on charge button
88
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS
Online Shopping System 2016
Appendix
PHP………………..Hypertext Preprocessor
ER …………………..entity-relationship
Reference
1. Ambler, Scott (2001) The Object primer: The application Developers Guide to Object
Oriented and the UML.2nd rev. Ed England: The Cambridge University Press.
2. Another book Fundamentals of Database Systems, 4th Edition
89
HARAMAYA UNIVERSITY DEPARTMENT OF INFORMATION SYSTEMS