Professional Documents
Culture Documents
Project Supervisor
Ms. Ansif Arooj
Submitted By
PID-BSIT-F14-23
This is to certify that Shoaib Iqbal (BSIT-F14-E25), Hafiz Ali Raza(BSIT-F14-E24), Hamza
Shafique(BSIT-F14-E09), Zeeshan Ali (BSIT-F14-E44), Qasim Yar (BSIT-F14-E16) have
worked on and completed their Software Project at Division of Science & Technology,
University of Education, Lahore in partial fulfillment of the requirement for the degree of
BSIT under my guidance and supervision.
In our opinion, it is satisfactory and up to the mark and therefore fulfills the requirements
of BS in Information Technology.
___________________
(Signature)
TABLE OF CONTENTS
CHAPTER NO. 1
GATHERING & ANALYZING INFO
1.1 INTRODUCTION…………………………………………………………………………02
1.6 EXCLUSION……………………………………………………………………………..05
CHAPTER NO. 2
SOFTWARE REQUIREMENT SPECIFICATION
2.1 FUNCTIONAL REQUIREMENTS………………………………………………………….10
2.1.2 THEMES………………………………………………………………………….10
iii
2.1.6 SELECTING ITEMS…………………………………………………………….11
2.2.1 SECURITY……………………………………………………………………..13
2.2. 3 SCALABILITY…………………………………………………………………13
2.2.4 RECOVERABILITY…………………………………………………………….13
2.2.5 AVAILABILITY…………………………………………………………………13
2.2.6 RELIABILITY…………………………………………………………………..13
2.2.7 PERFORMANCE……………………………………………………………….13
2.2.8 SUPPORTABILITY……………………………………………………………..13
CHAPTER NO. 3
USE CASE DIAGRAMS
iv
CHAPTER NO. 4
PLANNING THE PROJECT
4.1 INTRODUCTION……………………………………………………………………………….43
4.2 METHODOLOGY……………………………………………………………………………43
CHAPTER NO. 5
DESIGNING THE PROJECT
5.1 INTRODUCTION…………………………………………………………………………….50
5.2 PURPOSE……………………………………………………………………………………50
5.3 SCOPE………………………………………………………………………………………51
v
5.5.6 SEQUENCE DIAGRAM COMPARING ITEM………………………………………...58
5.8.1 ER DIAGRAM…………………………………………………………………………61
CHAPTER NO. 6
DEVELOPMENT
CHAPTER NO.7
TESTING
7.1 INTRODUCTION………………………………………………………………………………..76
7.2 PURPOSE………………………………………………………………………………………76
vi
7.3.2 TEST CASE REGISTRATION PAGE……………………………………………………78
CHAPTER NO. 8
CONCLUSION AND FUTURE WORK
8.1 DISCUSSION……………………………………………………………………………………...85
8.3 CONCLUSION……………………………………………………………………………………..85
CHAPTER NO.9
DEPLOYMENT
vii
CHAPTER 1
Gathering & Analyzing Info
1.1 Introduction
This document provides a clear description of this Project “E-Trading Website”. It explains
the key concepts, functional requirements, and major terminologies. In this document a
reader will find whole overview about this project.
The product of this project will have huge scope, but till it has a scope within this city.
Means the customers of this website will belong to Lahore, because in beginning level it is
difficult to manage and control such type of huge system all over the country or world. The
main reason behind this scope is its three important active stakeholders (i.e. Buyer, Seller
and optional one Courier), these stakeholders are major and important stakeholders of this
website and in beginning it is much important thing that these all stakeholders should be
belonged from same city. Again I will repeat these important words, at beginning level. At
this level it will easy to get test the system and go for best solutions for problems then this
product and system will move to next levels and it scope can be expanded.
Project Title
The title is much clear. Here the category of project is mentioned. It is an “E-Trading
Website”.
2
Project Overview
Project Title: E-Trading Website
Group Leader: Shoaib Iqbal (BSIT-F14-E25)
Project Members:
Sr. Name Roll No.
1 Shoaib Iqbal BSIT-F14-E25
2 Muhammad Zeeshan BSIT-F14-E44
3 Hafiz Ali Raza BSIT-F14-E24
4 Hamza Shafique BSIT-F14-E09
5 Qasim Yar BSIT-F14-E16
Project Goal: To achieve a highly easier, comfortable and reliable way to buy and sell any
type of thing at any level and make trading easiest.
Objectives:
Sr.#
1 To ease in buying and selling.
2 To compare two or more things of same type.
3 Make able website to give decision of best thing to buy in first hand category.
4 To give a portable platform for communication among users.
5 To allot user accounts
6 To analyze all trending items for users by analysts.
7 Can Rate and comment a product.
Project Success Criteria: This project will be highly successful in all type of transaction
that can be made at any level of E-Trading.
Assumptions, Risks and Obstacles: None
Organizational Address: None
Type of Project: Development
Target End Users:
Buyers
Sellers
Analysts
Companies
Development Technology: Object Oriented
Platform: Web based
Suggested Project Supervisor: Ms. Ansif Arooj
Approved By: Ms. Ansif Arooj
Date: November 20th , 2017
3
1.3 Project Goals & Objectives
The objectives of this project are already mentioned above, in this project we will manage
all the users with respect to their user accounts. Each user account can act Buyer, Seller
and Analyst and make transactions in accordance to its act. This provide the base for each
user to buy and sell anything. We have to make it easy for user to do any transaction. A
user can communicate easily with another user with the help of messenger. On it, identity
of a user is its user account and not only on messenger, at anywhere on website the user is
identified by its user account. So, a user can rate and comment any product.
The main goal of this project is to launch a product that will be web based and will make
to achieve a highly easier, comfortable and reliable way to buy and sell any type of thing
at any level and make trading easiest.
4
1.6 Exclusion
We think that there is no such thing or activity that we include in Exclusion. Because all
the functional units and functional requirement that we mentioned above are dependent on
skills and ideas, no physical constraint can disturb these units.
Second layer is the Business layer, it is also known as Data access Layer. This layer will
work as intermediate between Presentation layer and Data Layer. It consist of code that
communicate user and data base means communicate presentation and data layer. At this
layer processing will work.
Third and the last layer is Data layer, it consists of data base. Here the all data will be stored
and the business layer after processing show output from this layer.
5
1.8 Gantt chart
6
1.9 Hardware and Software Specification:
Software and Hardware Specification for building this project is given below:
Hardware Requirement
XAMPP is required to work on this project. It requires following hardware specifications.
Minimum 350MB Hard Disk space for installation.
4GB HD space required for a typical live system with 1000-2000 events.
Recommended minimum CPU-Pentium 4.3.2 GHz.
Recommended 1GB RAM for a central server with 3 nodes.
Network Card.
Software Specification
Software requirements are given below.
Operating System.
Apache Server
MySQL
PHP
Perl
7
It is a low cost project, because it requires personal skills much more rather than
pcostly budget.
If we estimate the time duration of our project it will take maximum 4 months for
completion, but inconsistence in meaning of academic works will increase its
duration up to 7 to 8 months.
8
CHAPTER 2
Software Requirement Specification
2 Specific Requirements
FR2 Themes Every user can change his account theme. By default,
website will provide a theme but theme will also be
customized able. A user will able to change these things in
theme of his/her account:
Profile picture
Cover picture
Color of his local chatrooms
FR3 Upload Item A registered user can upload any item that he wants. But in
case of different user types, the definition of uploaded item
is different i.e. If the company type account upload the item
its means it will be a firsthand product that may be bought
by an individual buyer as single piece or in stock. And if the
item is uploaded by the individual user or a freelancer then
it can also be bought by any buyer.
FR4 Search for Product/ There will be selection box from which a user can select the
Company/ option that will be searched. Options will be:
Freelancer/Individual Product
User Company
Free lancer
Individual User
10
After selecting one of them, user will find the search box
where she/he will search the thing which she/he will be
trying to search.
FR5 Comparing items When user will be searching the items she/he can insert the
items (more than one) into Comparison table and when
selection process will complete user can watch the
comparison table.
FR6 Selecting Item User who search some item can also have requirement to
select the item or add to cart. For this purpose, each item
profile has a button which help user to add that item in cart
or list of items that user will be going to buy.
FR7 Check Out/ Buy an To buy an item user will pass the process, after selecting the
Item item the buyer can check the price per item and price of
stock or offers if available. In case of any query or meeting,
users can converse ate with each other and can deal and
arrange meet ups. Messenger will also be a convenient mean
to deal among them. After donning the deal the user can pay
the seller by mean of E-Banking or in cash on receiving
item. User will use shopping cart for this purpose.
FR8 Submit Payment After selecting items, user will use Submit Payment option.
User will facilitate with two options.
Pay online by e-banking
Pay on receiving order
Paying online by e-banking is a convenient way especially
for seller because it is safer method. In case of trading deal
it will compulsory for buyer to pay online by e-banking,
when seller is a company. But in case of individual or
freelancer seller, buyer can paid accordingly.
On receiving order payment, the dealing is mostly of
minimum items, where the seller and buyer can chat and
meet each other than trade occur. So in this case both
methods of payment are convenient.
11
the money from one party will directly transfer to the other
party means buyer to seller so there is no use to create
process for managing money. But their records that who
paid for what and how much, it will be recorded and
managed.
12
2.2 Non-Functional Requirement
No Requirement Description
NFR2 User Interface Browsers will provide the user interface to clients as well as the
administrators because of its web based nature.
NFR4 Recoverability Data can be easily recoverable in case of any disaster or temporary
blockage. In this project the servers are integrated in such way that
they will create backup automatically.
NFR6 Reliability This website will develop much more reliable for use. As its
availability is 24x7 a day, in such case reliability is a challenge
with maintaining efficiency as well. But all these aspects will
preserve with maintenance, So this website will reliable.
NFR7 Performance At a time, many users will access the websites. But each user will
access website by his/her own system e.g. Computer, Laptop, Tab,
Mobile etc. which consume their own RAM, it will not affect
servers and so it will not disturb servers’ performance. Therefore,
Servers will independent from users’ devices and it will maintain
performance all the time.
NFR8 Supportability Website will support by any new version browser on Computers,
Laptops, Tabs, Mobiles etc.
NFR9 System Software and Hardware Specification for building this project is
Requirement given below:
13
Hardware Requirement
XAMPP is required to work on this project. It requires following
hardware specifications.
Minimum 350MB Hard Disk space for installation.
4GB HD space required for a typical live system with
1000-2000 events.
Recommended minimum CPU-Pentium 4.3.2 GHz.
Recommended 1GB RAM for a central server with 3
nodes.
Network Card.
Software Specification
Software requirements are given below.
Operating System.
Apache Server
MySQL
PHP
Perl
3 Domain Requirements
Domain of this Website is Business (Trade). So, to meet the characteristics of Business
domain it require some specific requirements:
To maintain the security of the user, the System should have a secure
authentication and verification criteria.
It provides the strong communication among users to shorten the distance
among users and providing a trustworthy environment among them.
In order to use the e-banking facility for transaction. It will ensure the validity
of bank account of user.
14
CHAPTER 3
USECASE DIAGRAMS
3.1 Use Case Overview
3.1.1 Admin
16
UC Number: 1.1
UC Name: Login
Actors/Stakeholders: Admin
Goals: To get admin authenticate and logged in Website for using functions of Website.
Preconditions: None
Summary: Admin will be prompted to login with his/her account information before they can use
the system.
Steps:
1. User will connect with internet.
2. Open Browser
3. Browse the Website.
4. User will enter username and password.
5. System will authenticate the user information from Database.
6. If information is correct the user will log in otherwise terminate the process or start again
from beginning.
Post conditions:
1. The admin will log in to the system
2. The admin has access to the functions of the system
Alternative Scenario: If in the Basic Flow the actor enters an invalid name and/or password, the
system displays an error message. The actor can choose to either return to the beginning of
the Basic Flow or cancel the login, at which point the use case ends.
Includes: None
Frequency of Use: Every time the admin wants to access the system.
17
UC Number: 1.2
Actors/Stakeholders: Admin
Goals: To customize the Default Theme of the Admin Account by Admin himself/herself. I.e.
Changing Profile picture, Cover photo and change chat color.
Preconditions:
Summary: Admin will able to change the theme i.e. profile picture, cover photo and chat color
according to him/her. So website provide customizable theme.
Steps:
1. Admin will click on option for change profile picture, cover photo or chat color.
2. Browse Computer to select picture for profile or cover, but in case of chat color, it will
browse the color picker to pick the color.
3. Select the picture or color from color picker.
4. Set save change.
Post Conditions:
Alternative Scenario: If in the basic flow the Admin will have any problem in accordance to
internet connectivity, uploading photo or browsing computer/color picker. The Admin can choose
to either return to the beginning of the Basic Flow or terminate this process.
Include: None
18
UC Number: 1.3
Actors/Stakeholders: Admin
Goal: To Manage the orders of Customers and maintain the record of orders.
Preconditions:
Summary: Admin will manage and maintain all the orders given by Customers i.e. Buyer and also
manage all the deliveries given by Sellers i.e. Companies, Freelancers.
Steps:
Post Conditions:
Alternative Scenario: This will be the only and most effective and efficient way to manage order,
so no alternative scenario is existed.
Include: None
Frequency of Use: Every time Admin will facilitated with this function to facilitate the Users.
19
UC Number: 1.4
Actors/Stakeholders: Admin
Goal: To manage and maintain the payment record after payment of order by Buyer.
Preconditions:
Summary: Admin will manage and maintain all the payment records that will have obtained after
buying any item by a buyer from a seller.
Steps:
1. When any transaction occur a notification about payment record is obtained at Admin
account.
2. This record will store in Database then.
3. Admin can check this record.
Post Conditions:
Alternative Scenario: This will be the only and most effective and efficient way to manage order,
so no alternative scenario is existed.
Include: None
Frequency of Use: Every time Admin will facilitated with this function to facilitate the Users.
20
UC Number: 1.5
Actors/Stakeholders: Admin
Goal: To manage and maintain the Shipment and Shipment record after placement of order by
Buyer.
Preconditions:
Summary: Admin will manage and maintain all the Shipment and Shipment records that will have
obtained after buying any item by a buyer from a seller.
Steps:
Post Conditions:
Alternative Scenario: This will be the only and most effective and efficient way to manage
Shipment and Shipment order, so no alternative scenario is existed.
Include: None
Frequency of Use: Every time Admin will facilitated with this function to facilitate the Users.
21
UC Number: 1.6
Actors/Stakeholders: Admin
Goal: To manage and maintain the User accounts e.g. individual buyers and sellers accounts,
company accounts, freelancers accounts.
Preconditions:
Summary: Admin will able to allow users to create accounts. These accounts will be then
managed and maintained by admin. Admin can block any user.
Steps:
Post Condition:
Alternative Scenario: This will be the only and most effective and efficient way to manage User
accounts and accounts information, so no alternative scenario is existed.
Include: None
Frequency of Use: Every time Admin will facilitated with this function to facilitate the Users.
22
UC Number: 1.7
Actors/Stakeholders: Admin
Goal: To manage and maintain the Advertisements and Advertisement record after placement of
order by Adviser.
Preconditions:
Summary: Admin will manage and maintain all the Advertisement and Advertisement records
that will have placed by advertiser.
Steps:
1. Advertiser will place an order for advertisement on website contact i.e. on Admin account.
2. Admin receive order and verify it.
3. Admin will send verification message to advertiser and ask for advertising content and
online payment.
4. Advertiser will pay online and send payment record to Admin.
5. Admin after receiving payment record set advertisement on Website.
6. Admin will send Advertise successfully message to advertiser.
Post Conditions:
Alternative Scenario: This will be the only and most effective and efficient way to manage
Advertisement and advertisement record, so no alternative scenario is existed.
Include: None
Frequency of Use: Every time Admin will facilitated with this function to facilitate the Users.
23
3.1.2 Buyer
24
UC Number: 2.1
UC Name: Login
Actors/Stakeholders: Buyer
Goals: To get Buyer authenticate and logged in Website for using functions of Website.
Preconditions:
Summary: Buyer will be prompted to login with his/her account information before they can use
the system.
Steps:
1. Buyer will connect with internet.
2. Open Browser
3. Browse the Website.
4. Buyer will enter username and password.
5. System will authenticate the user information from Database.
6. Buyer will log in his/her account.
Post conditions:
1. The Buyer will log in to the system
2. The Buyer has access to the functions of the system
Alternative Scenario: If in the Basic Flow the actor enters an invalid name and/or password, the
system displays an error message. The actor can choose to either return to the beginning of
the Basic Flow or cancel the login, at which point the use case ends.
Includes: None
Frequency of Use: Every time the Buyer wants to access the system.
25
UC Number: 2.2
Actors/Stakeholders: Buyer
Goal: To search item which you want to view and then view the profile of that item.
Preconditions:
Summary: When Buyer will want to buy an item. He /She will search for this item and view all
the searched items and can view profile of that Item.
Steps:
1. Buyer will write the item name on search bar and click on search button.
2. All searched items will prompt on page.
3. Buyer can view all items that will have searched.
4. Buyer can view the profile of required or selected Item.
Post Conditions:
Alternative Scenario: This will be the only and most effective and efficient way to search item,
so no alternative scenario is existed but Buyer can view trending items on going to item category.
Include: None
Frequency of Use: Buyer can search and view Item any time whenever he/she want to buy an
item.
26
UC Number: 2.3
Actors/Stakeholders: Buyer
Preconditions:
Summary: Buyer will search the item that he will want to buy and then order this item by adding
it in Cart.
Steps:
Post Conditions:
Alternative Scenario: This will be the only and most effective and efficient way to order Item, so
no alternative scenario is existed.
Include: None
Frequency of Use: Any time Buyer can order one or more items according to his/her requirements.
27
UC Number: 2.4
UC Name: Payment
Actors/Stakeholders: Buyer
Goal: To pay the Items, that will have ordered. In case of online payment Buyer will use e-banking
method, otherwise he/she will pay on cash.
Preconditions:
Summary: When Buyer will order item he/she will have to pay for Item. In case of online payment
Buyer will login and pay by e-banking, while in case of on Cash he/she will pay it on meeting.
Steps:
Post Conditions:
Alternative Scenarios: These will be the only and most effective and efficient ways to order Item,
so no alternative scenario is existed.
Include: None.
Frequency of Use: Whenever the Buyer will order for any Item, Buyer will pay for these items.
28
UC Number: 2.5
Actors/Stakeholders: Buyer
Preconditions:
Summary: Buyer will have placed order, due to any reason Buyer will want to cancel that order,
so he/she will cancel order by this function.
Steps:
Post Conditions:
Alternative Scenario: This will be the only and most effective and efficient ways to order Item,
so no alternative scenario is existed.
Include: None
Frequency of Use: When Buyer will place any order, he/she will cancel order in limited time.
Every time when he/she will place order, he/she will get this function.
29
UC Number: 2.6
UC Name: Chat
Actors/Stakeholders: Buyer
Preconditions:
Summary: When a Buyer will view profile of an Item and let suppose he/she will have any query
about item or he/she will be wanting to hold a meetup or wanting to deal with seller, he/she will
communicate with seller by messenger.
Steps:
Post Conditions:
Alternative Scenario: These will be the only and most effective and efficient ways to chat, so no
alternative scenario is existed.
Include: None
Frequency of Use: Any time Buyer can chat with Seller when he/she will require communication.
30
UC Number: 2.7
Actors/Stakeholders: Buyer
Goals: To customize the Default Theme of the Buyer Account by Buyer himself/herself. I.e.
Changing Profile picture, Cover photo and change chat color.
Preconditions:
Summary: Buyer will able to change the theme i.e. profile picture, cover photo and chat color
according to him/her. So website provide customizable theme.
Steps:
5. Buyer will click on option for change profile picture, cover photo or chat color.
6. Browse Computer to select picture for profile or cover, but in case of chat color, it will
browse the color picker to pick the color.
7. Select the picture or color from color picker.
8. Set save change.
Post Conditions:
Alternative Scenario: If in the basic flow the Buyer will have any problem in accordance to
internet connectivity, uploading photo or browsing computer/color picker. The Buyer can choose
to either return to the beginning of the Basic Flow or terminate this process.
Include: None
31
UC Number: 2.8
Actors/Stakeholders: Buyer
Preconditions:
Summary: When user will want to compare two or more items, he/she will first select these items
and choose Compare items options and he/she will show all the information of items in form of
table and Buyer can easily differentiate and choose the best one. If Buyer will not judge best one,
he/she can also ask from website that which one is best.
Steps:
1. Buyer will choose the first item which he/she want to compare.
2. Buy will choose the second item which he/she want to compare.
3. Click on Compare Items option.
Post Conditions:
Alternative Scenario: These will be the only and most effective and efficient ways, so no
alternative scenario is existed.
Include: None
Frequency of Use: Buyer can any time use this function whenever he/she will need.
32
3.1.3 Seller
33
UC Number: 3.1
UC Name: Login
Actors/Stakeholders: Seller
Goals: To get Seller authenticate and logged in Website for using functions of Website.
Preconditions:
Summary: Seller will be prompted to login with his/her account information before they can use
the system.
Steps:
7. Seller will connect with internet.
8. Open Browser
9. Browse the Website.
10. Seller will enter username and password.
11. System will authenticate the user information from Database.
12. Seller will log in his/her account.
Post conditions:
1. The Seller will log in to the system
2. The Seller has access to the functions of the system
Alternative Scenario: If in the Basic Flow the actor enters an invalid name and/or password, the
system displays an error message. The actor can choose to either return to the beginning of
the Basic Flow or cancel the login, at which point the use case ends.
Includes: None
Frequency of Use: Every time the Seller wants to access the system.
34
UC Number: 3.2
Actors/Stakeholders: Seller
Goals: To customize the Default Theme of the Seller Account by Seller himself/herself. I.e.
Changing Profile picture, Cover photo and change chat color.
Preconditions:
Summary: Seller will able to change the theme i.e. profile picture, cover photo and chat color
according to him/her. So website provide customizable theme.
Steps:
9. Seller will click on option for change profile picture, cover photo or chat color.
10. Browse Computer to select picture for profile or cover, but in case of chat color, it will
browse the color picker to pick the color.
11. Select the picture or color from color picker.
12. Set save change.
Post Conditions:
Alternative Scenario: If in the basic flow the Seller will have any problem in accordance to
internet connectivity, uploading photo or browsing computer/color picker. The Buyer can choose
to either return to the beginning of the Basic Flow or terminate this process.
Include: None
35
UC Number: 3.3
Actors/Stakeholders: Seller
Preconditions:
Summary: When Seller will want to sell any item or he/she will have a new product to sell (in
case of Company or Freelancer) then he will upload this item on website.
Steps:
Post Conditions:
Alternative Scenarios: These will be the only and most effective and efficient ways to upload
item, so no alternative scenario is existed.
Include: None
Frequency of Use: Seller can upload any new item any time.
36
UC Number: 3.4
Actors/Stakeholders: Seller
Goal: To search item which you want to view and then view the profile of that item.
Preconditions:
Summary: When Seller will want to buy an item. He /She will search for this item and view all
the searched items and can view profile of that Item.
Steps:
1. Seller will write the item name on search bar and click on search button.
2. All searched items will prompt on page.
3. Seller can view all items that will have searched.
4. Seller can view the profile of required or selected Item.
Post Conditions:
Alternative Scenario: This will be the only and most effective and efficient way to search item,
so no alternative scenario is existed but Seller can view trending items on going to item category.
Include: None
Frequency of Use: Seller can search and view Item any time whenever he/she want to buy an
item.
37
UC Number: 3.5
Actors/Stakeholders: Seller
Preconditions:
Summary: When Seller will want to delete his uploaded item, then he will use this function to
delete it.
Steps:
Post Conditions:
Alternative Scenarios: These will be the only and most effective and efficient ways to delete
item, so no alternative scenario is existed.
Include: None
Frequency of Use: Any time seller can delete his uploaded item.
38
UC Number: 3.6
UC Name: Chat
Actors/Stakeholders: Seller
Preconditions:
Summary: When a Seller will view profile of an Item and let suppose he/she will have any query
about item or he/she will be wanting to hold a meetup or wanting to deal with seller, he/she will
communicate with buyer by messenger.
Steps:
Post Conditions:
Alternative Scenario: These will be the only and most effective and efficient ways to chat, so no
alternative scenario is existed.
Include: None
Frequency of Use: Any time Seller can chat with buyer when he/she will require communication.
39
UC Number: 3.7
Actors/Stakeholders: Seller
Preconditions:
Summary: When Buyer will place order, Seller receive order notification and confirm this order
for further processing.
Steps:
Post Conditions:
Alternative Scenarios: These will be the only and most effective and efficient ways to confirm
order, so no alternative scenario is existed.
Include: None
Frequency of Use: When seller receive order notification only then seller will confirm order.
40
UC Number: 3.8
Actors/Stakeholders: Seller
Preconditions:
Summary: When Buyer will place order, Seller receive order notification and cancel this order
for further processing.
Steps:
Post Conditions:
Alternative Scenarios: These will be the only and most effective and efficient ways to cancel
order, so no alternative scenario is existed.
Include: None
Frequency of Use: When seller receive order notification only then seller will cancel order.
41
CHAPTER 4
Planning the Project
4.1 Introduction
This document provides a clear description of this Project “E-Trading Website”. It explains
the key concepts, functional requirements, and major terminologies. In this document a
reader will find whole overview about this project.
The product of this project will have huge scope, but till it has a scope within this city.
Means the customers of this website will belong to Lahore, because in beginning level it is
difficult to manage and control such type of huge system all over the country or world. The
main reason behind this scope is its three important active stakeholders (i.e. Buyer, Seller
and optional one Courier), these stakeholders are major and important stakeholders of this
website and in beginning it is much important thing that these all stakeholders should be
belonged from same city. Again I will repeat these important words, at beginning level. At
this level it will easy to get test the system and go for best solutions for problems then this
product and system will move to next levels and it scope can be expanded.
4.2 Methodology
Customers build up a sense of loyalty to those e-commerce websites that offer them a
good user experience, and that transmit to confidence and reliability. There are various
factors that influence this: how easy it is to find the product they are looking for, how
easy/difficult it is to make the payment, how fast the order was executed. All of these
factors determine whether the customer will shop at that website again or not. In general,
potential buyers are more and more impatient, which means they do not have much time
to find what they are looking for, or to receive a positive first impression. Our e-trading
module, takes these needs into consideration and as well as others.
43
Potential customers will not wait
When new customers go onto a website that is slow to load, they are quick to get impatient
and leave the site. Our e-trading website projects guarantee quick loading, as we use
stylesheets (CSS) and files which have been size-optimized. Our servers also allow for
boosting hosting capacity on days with high traffic, such as the first day of the sales.
44
Spiral
System Development Life Cycle
Waterfall
45
4.6 Work Plan
Work
Breakdown
structure
Deploying front
Development
end interfacce
Testing the
Testing deployed
system
Deployement
46
4.7 Project Structure
Group leader
Group leader is the person who will be monitoring the whole project and working as
the project manager. He helps team members to circulate the whole working of project
plan.
Analyst
He will be the person who gather the requirements and analyze these requirements.
Analyst analyze all the facts and figures get for project.
Designer
Designer will design the user interface for the website. Azure is used for designing
purpose and he has good command on azure as well as all the languages that help him
to design the interface for the e-trading website.
Developer
Developer will develop the Business layer as well as Data layer for the website.
Developer who is developing this website has good command on php and its framework
Laravel. These are the languages that are used in development this e-trading website.
Tester
Tester will perform the main step of testing. He will test the system at individual units
and also integration of unit testing.
47
4.7.2 Project Schedule
48
CHAPTER 5
Designing the Project
5.1 Introduction
This document provides a clear description of this Project “E-Trading Website”. It explains
the key concepts, functional requirements, and major terminologies. In this document a
reader will find whole overview about this project.
The product of this project will have huge scope, but till it has a scope within this city.
Means the customers of this website will belong to Lahore, because in beginning level it is
difficult to manage and control such type of huge system all over the country or world. The
main reason behind this scope is its three important active stakeholders (i.e. Buyer, Seller
and optional one Courier), these stakeholders are major and important stakeholders of this
website and in beginning it is much important thing that these all stakeholders should be
belonged from same city. Again I will repeat these important words, at beginning level. At
this level it will easy to get test the system and go for best solutions for problems then this
product and system will move to next levels and it scope can be expanded.
5.2 Purpose
World is moving toward modern age. In which all the technology is moving on web
platform. That’s why, Project team chose web platform to build this software. This will
provide 24x7 service anywhere from the world. This is the basic purpose to choose the web
based platform. E-Trading websites are already working in World Wide Web all over the
world and many people use this platform to buy and sell products. But here a question rise
that, what is the purpose of this website while many e-trading websites are already working
in market? Answer of this question is the two unique feature of this website. This website
like all other e-commerce and e-trading website provide platform to buy and sell the
products. They connect people and act as the market place for them, this e-trading website
also provide the same feature. But the two unique features that make this e-trading website
different from other e-commerce and e-trading website is that a user can select two items
of same category and can compare both items in the form of table, and the other unique
feature of this e-trading website is that, user after comparing two items in the form of table
can also take decision from website that will after watching statistics from data tell the high
rated item as a better item than other.
50
5.3 Scope
The product of this project will have huge scope, but till it has a scope within this city.
Means the customers of this website will belong to Lahore, because in beginning level it is
difficult to manage and control such type of huge system all over the country or world. The
main reason behind this scope is its three important active stakeholders (i.e. Buyer, Seller
and optional one Courier), these stakeholders are major and important stakeholders of this
website and in beginning it is much important thing that these all stakeholders should be
belonged from same city. Again I will repeat these important words, at beginning level. At
this level it will easy to get test the system and go for best solutions for problems then this
product and system will move to next levels and it scope can be expanded.
51
5.4 Architecture Diagram
52
5.5 Dynamic Model: Sequence Diagram
5.5.1 Sequence Diagram of Login Process
53
5.5.2 Sequence Diagram of Registration process
54
5.5.3 Sequence Diagram of Buying Process
55
5.5.4 Sequence Diagram of Upload Item Process
56
5.5.5 Sequence Diagram of Searching Item
57
5.5.6 Sequence Diagram of Comparing item
58
5.6 Object Model: Class Diagram
59
5.7 Deployment Model
60
5.8 Database Model
5.8.1 ER Diagram
61
5.8.2 Database Schema
5.8.2.1 Table Name: Users
62
5.8.2.2 Table Name: Roles
63
5.8.2.3 Table Name: Orders
64
5.8.2.4 Table Name: Messages
65
5.8.2.5 Table Name: Items
66
5.8.2.6 Table Name: Comments
67
5.9 Graphical User Interface
5.9.1 Website Index page
68
5.9.2 User Profile
69
5.9.3 Upload Item
70
5.9.4 Searching Results
71
5.9.5 Item Profile
72
CHAPTER 6
Development & Implementation
6.1 Architecture Diagram
74
CHAPTER 7
Testing
7.1 Introduction
Software testing is a task intended to detect defects in software by contrasting a computer
program's expected results with its actual results for a given set of inputs. By contrast, QA (quality
assurance) is the implementation of policies and procedures intended to prevent defects from
occurring in the first place.
7.2 Purpose
In addition, testing validates that the system being developed is what the user needs. While finding
defects / bugs is one of the purposes of software testing, it is not the sole purpose. It is important
for software testing to verify and validate that the product meets the stated requirements /
specifications.
76
7.3 Test Cases
7.3.1 Test Case Login page
ID: 001
Preconditions:
Test Steps:
User logs in to the system and can check all available data with his account information and
manages overall operation of the system.
Expected Result:
77
7.3.2 Test Case for user Registration
ID: 002
Description: A user who want to take any transaction and use all the features of this website will
register himself on website.
Test Steps:
User has to enter all required information to registration form so that he can use all the
feature of the website.
Expected Result:
78
7.3.3 Test Case Upload Profile Picture
ID: 003
Description: A registered user should be able to successfully upload his profile picture on his user
account.
Preconditions:
Test Steps:
User has the facility to upload Profile picture. He/ she may browse through his/ her
computer to select a picture and upload it to the system.
Expected Result:
The user has successfully uploaded the profile picture on the system.
79
7.3.4 Test Case upload new Item
ID: 004
Description: A registered user should be able to successfully upload the new item on website.
Preconditions:
Test Steps:
User has the facility to create/ upload new item on website. He/ she should fil the upload
new item form also upload its image by browsing it from computer and successfully upload the
item.
Expected Result:
80
7.3.5 Test Case Commenting on item
ID: 005
Preconditions:
Test Steps:
User has the facility to comment on an item on website. And his comment is visible to all
other users.
Expected Result:
81
7.3.6 Test Case ordering an item
ID: 006
Description: A registered user will be able to order any item or stock of items from the company
type user of website.
Preconditions:
Test Steps:
User has the facility to order an item or stock of item from the company type user of
website. When user is logged in he can view all items and can also order item any of them.
Expected Result:
82
7.3.7 Test Case comparing two items
ID: 007
Description: A registered user should be able to compare two items of same category.
Preconditions:
Test Steps:
User has the facility to compare two items of same category. User first selects the items
and then executes their comparison and he sees the comparison of these items in the form of table.
Expected Result:
The user has successfully saw the comparison table of two items.
83
CHAPTER 8
Conclusion & Future Work
8.1 Discussion
Finally, we wish to consider the best way to navigate the proposed document hierarchy.
This hierarchy could also be used to fine-tune responses to user queries. While we may not
want to prohibit user access to certain levels of detail, it could prove useful to allow a user
to limit the areas browsed and the scope of query responses to exclude levels which are too
general or too detailed for their purposes.
8.3 Conclusion
This software documentation explain the whole processes and phases for development of
Website. Requirements are not told by primary client. It is a final year project for
graduation level, so requirements are gathered by supervisor and on the basis of team
members’ ideas. These requirements are categorized in functional and non-functional
requirements. Then these requirements and aspects related to these requirements are
represented in graphical and pictorial manners. As it is an E-Trading website so it is
important to create its front end in relevant manner. Team use azure software for designing
front end designs. Designing phase also included DB designs and process designs. After
designing, team move toward new phase of development and coding. It was the most time
consuming phase. Team required great skills and experience in this phase, they use php
and its framework Laravel for development of this web based software. This phase covered
the development of front end, DB migrations and Back end. Design phase already give the
code for front end with the help of Microsoft azure. In development stage the only thing
about front end is that the team have to integrate this front end code in laravel project. Then
over to MVC. Front end consists of DB portion means Data Layer and Business Layer.
Migration are created with the help of MySQL. Models, Controllers, Views are coded with
a software Sublime text. After the development of website, another important thing testing
is also done by team. They done both unit testing and system testing. Now software is in
working state.
85
CHAPTER 9
Deployment
9.1 Deployment Diagram
87
REFERENCES
1. https://www.google.com/
2. https://www.wikipedia.org/
3. https://www.youtube.com/
4. https://github.com/daveozoalor/pmanager
5. https://www.webopedia.com/
6. https://laravel.com/
7. https://www.techopedia.com/
89
APPENDIX