Escolar Documentos
Profissional Documentos
Cultura Documentos
By
Muhammad Shakeel Abbas
&
Ahsan Jamal
DEGREE
BS Information Technology
University of Gujrat
Session 2010-14
ACKNOWLEDGEMENTS
We have taken efforts in this project. However, it would not have been possible without
the kind support and help of teachers & friends. We would like to extend our sincere
thanks to all of them.
We are highly indebted to Prof. Muhammad Imran Faizi for their guidance and constant
supervision as well as for providing necessary information regarding the project & for
their support in completing the project.
We cannot forget the help & support of Prof. Farooq Bilal, Prof. Amir Mumtaz , Prof.
Amir Hussain, Prof. Amir Huusain, Prof. Waqas Ud Din & Prof. Fazal Abbas.
Our thanks and appreciations go to our classmates. Above all, we would like to express
our gratitude to Almighty Allah for providing us all these great people & the strength
to complete this project.
______________
Ahsan Jamal
______________
DEDICTION
The project is dedicated to our parents, teachers, and friends.
ii
DECLARATION
We Muhammad Shakeel Abbas S/O Abbas Khan Roll # (10060656-045) & Ahsan
Jamal S/O Manzoor Hussain Roll # (10060656-037) students of Bachelor of Science
(Computer Science Or It), Department Of Computing & Information Technology,
University Of Gujrat, Pakistan, hereby solemnly declare that the data quoted in this
project titled Digital Shop is based on my original work, and has not yet been
submitted or published elsewhere.
Ahsan Jamal
__________________
We certify that Muhammad Shakeel Abbas S/O Abbas Khan, ROLL # 10060656-045,
& Ahsan Jamal S/O Manzoor Hussain Roll # 10060656-037 students of Bachelor of
Science (Computer Science or Information Technology), Department of Computing &
Information Technology, University of Gujrat, Pakistan, worked under my
supervision and the above stated declaration is true to the best of my knowledge.
iii
iv
TABLE OF CONTENTS
CONTENTS
PAGE
2.1.1.1 User-----------------------------------------------------------------
2.1.1.2 Admin---------------------------------------------------------------
10
11
11
13
14
15
17
20
21
23
24
26
26
28
28
29
30
30
31
31
32
33
33
34
35
36
37
37
38
vi
38
39
40
41
42
51
REFERENCES ------------------------------------------------------------------------ 52
APPENDIXES ------------------------------------------------------------------------
53
53
Restrictions ---------------------------------------------------------------------------
54
54
54
55
Usability ------------------------------------------------------------------------------
55
vii
PAGE
6
11
12
13
15
16
17
18
19
22
24
37
38
38
39
39
40
Figures
FIGURE-2.1: Use Case Diagram ------------------------------------------------------------------
10
28
29
30
viii
32
32
33
34
35
SCREEN SHOTS
FIGURE-5.1: Front Page ----------------------------------------------------------------------------
44
45
45
46
47
47
48
49
49
53
ix
ABSTRACT
Electronic Commerce is process of doing business through computer networks. A
person can access the facilities of buying or selling products online.
Unlike traditional commerce, e-commerce has made easier for human to reduce
physical work, time, effort and energy.
We will develop a web base system with similar working mechanism with enhanced
security and will offer better services to the customers. All the transactions will be
done securely with the trust of banks and some like Omni and Easy Paisa etc. Orders
will be delivered through the trusted carriers.
Digital Shop
Govt. Post Graduate College Chakwal
Page 1 of 55
CHAPTER 1
INTRODUCTION
CHAPTER-1
INTRODUCTION
1.1 Introduction
The major problem we are trying to remove in our project is to replace manual
system by an automated system, which removes the flaws in manual system. Today,
we see many businesses large and small using websites as a platform to sell a
product or provide a service.
The business organization has its offices in few cities/states and normally use
courier facility to deliver the product .if possible home delivery also provided. The
business organization mainly has two sectors first one is sale which sale the
products to the customer and second is service which provide services to the
customer.
Here we have solution to a worldwide business problem, which not only increase
profit margin but also attract customers attraction.
1.2 Background and Existing System
As we see today, many websites are available to provide online shopping system. It
is helpful for both parties, Clients & Businessmen. Businesspersons wants to extend
their business into many cities. Through advancement in E-Commerce, they are
able to do this, which require a platform such as a Website where they can show
their products to public.
Our product has similar working mechanism with enhanced security and better
services for customers.
1.2.1
Less Security.
Digital Shop
Govt. Post Graduate College Chakwal
Page 3 of 55
Client Registration
Client Login
Products Information
Digital Shop
Govt. Post Graduate College Chakwal
Page 4 of 55
Enhanced Productivity
Enhanced Publicity
Enhanced Reliability
Nationwide Business
More Profit
More Performance
More Clients
Digital Shop
Govt. Post Graduate College Chakwal
Page 5 of 55
Activity
Duration
Proposal
1W
Database Creation
2W
Design
3W
Coding
5W
Testing
1W
Implementation
1W
Deliverables
yes
yes
(Table 1.1)
Digital Shop
Govt. Post Graduate College Chakwal
Page 6 of 55
CHAPTER 2
REQUIREMENT ANALYSIS
CHAPTER-2
REQUIREMENT ANALYSIS
2.1 Requirement Analysis
Order Status (Will Get Order Status Via Email & Through
Login)
2.1.1.2 Admin:
Digital Shop
Govt. Post Graduate College Chakwal
Page 8 of 55
Responsive Design
Restrictions
Performance
Accuracy
Usability
Digital Shop
Govt. Post Graduate College Chakwal
Page 9 of 55
(Fig 2.1)
Digital Shop
Govt. Post Graduate College Chakwal
Page 10 of 55
Specifications
Priority
UC-01
High
(Table 2.1)
Digital Shop
Govt. Post Graduate College Chakwal
Page 11 of 55
Specifications
UC-02
Priority
High
(Table 2.2)
Digital Shop
Govt. Post Graduate College Chakwal
Page 12 of 55
Specifications
UC-03
Title:
Administrator manages clients.
Actors
Administrator
Intent:
Administrator interacts with the system for client management.
Preconditions
Administrator login.
Post-Conditions
Administrator interacts with system to manage clients
Main Scenario
1- Administrator view clients.
2- Deletes clients.
Alternate Scenario1
1- No clients will show
Uses/Extends
N/A
Frequency
Frequent
Issues
N/A
Priority
High
(Table 2.3)
Digital Shop
Govt. Post Graduate College Chakwal
Page 13 of 55
2.3.4
Description
Specifications
UC-04
Priority
High
(Table 2.4)
Digital Shop
Govt. Post Graduate College Chakwal
Page 14 of 55
Specifications
UC-05
Priority
High
(Table 2.5)
Digital Shop
Govt. Post Graduate College Chakwal
Page 15 of 55
UC-06
Description
Specifications
Title
Blog management.
Actors
Administrator
Intent:
Describe Administrator interacts with the system during blog
management
Preconditions
Administrator login to the system
Post-Conditions
Administrator interacts with system and manages blog
Main Scenario
Admin can:
1. Add blog
2. View blog
3. Modify blog
4. Delete blog
Alternate Scenario
1.Incorrect information
2.Error message
Uses/Extends
N/A
Frequency
Frequent
Priority
High
(Table 2.6)
Digital Shop
Govt. Post Graduate College Chakwal
Page 16 of 55
Specifications
UC-07
Priority
High
(Table 2.7)
Digital Shop
Govt. Post Graduate College Chakwal
Page 17 of 55
UC-08
Description
Specifications
Title:
Client manage products to be purchase.
Actors
client
Intent:
Describe Client interacts with the system during product purchasing.
Preconditions
client login to the system
Post-Conditions
Client mange products to be purchased
Main Scenario
1. Client opens the product page
2. View the product
3. Add products to the cart
4. Delete products from cart.
Alternate Scenario
1.Login fails
2.Error message
Uses/Extends
N/A
Frequency
Frequent
Priority
High
(Table 2.8)
Digital Shop
Govt. Post Graduate College Chakwal
Page 18 of 55
2.3.9
UC-9
Description
Specifications
Title:
Administrator proceeds order.
Actors
Admin
Intent:
Describe Administrator interacts with the system to proceed order.
Preconditions
Admin login to the system
Post-Conditions
Admin after login ,proceeds orders
Main Scenario
1. Admin opens the order page
2. View the order
3. Proceed order
Alternate Scenario
1.Incorrect information provided
2.Do not proceed orders
Uses/Extends
N/A
Frequency
Frequent
Priority
High
(Table 2.9)
Digital Shop
Govt. Post Graduate College Chakwal
Page 19 of 55
2.3.10 Services :
UC-10
Services
Description
Specifications
Priority
High
(Table 2.10)
Digital Shop
Govt. Post Graduate College Chakwal
Page 20 of 55
Specifications
Priority
UC-11
Clients get email alerts for their registration and product shipment.
Title:
Email alerts
Actors
client
Intent:
Describe clients interacts with the system to get email alerts.
Preconditions
Client should be registered
Clients opens emails.
Post-Conditions
Clients gets email alerts
Main Scenario
1- Client log in to mail.
2- Checks the mail
Alternate Scenario1
1. No mail found related to product shipment and registration
Uses/Extends
N/A
Frequency
Frequent
Issues
N/A
High
(Table 2.11)
Digital Shop
Govt. Post Graduate College Chakwal
Page 21 of 55
Delivery status
UC-12
Description
Specifications
Title:
Delivery status
Actors
Client
Intent:
Describe client interacts with the system to check delivery status.
Preconditions
Client log in to system.
Post-Conditions
Clients can check delivery status of their ordered products
Main Scenario
1- Client logs to system
2- Checks the delivery status of desired product.
Alternate Scenario
1-No product ordered
2-No status
Uses/Extends
N/A
Frequency
Frequent
Issues
N/A
Priority
High
(Table 2.12)
Digital Shop
Govt. Post Graduate College Chakwal
Page 22 of 55
2.3.13 Invoice:
UC-13
Invoice
Description
Specifications
Priority
High
(Table 2.13)
Digital Shop
Govt. Post Graduate College Chakwal
Page 23 of 55
2.3.14 Logout:
Logout
Description
UC-14
Logout
Title:
Logout.
Specifications
Priority
Actors:
Administrator/client
Intent:
Describe Administrator /client interacts with the system during Logout
Preconditions
User login.
Post-Conditions
User logs out
Main Scenario
User Press Logout.
User logout successfully from system
Alternate Scenario1
User Press Logout
Unsuccessful Logout Error message displayed
Uses/Extends
N/A
Frequency
Frequent
High
(Table 2.14)
Digital Shop
Govt. Post Graduate College Chakwal
Page 24 of 55
CHAPTER 3
DESIGN
CHAPTER-3
DESIGN
3.1 UML Diagrams
In the field of software engineering, the Unified Modeling Language (UML) is the
standardized visual specification language for object modeling. UML is a generalpurpose modeling language that includes a graphical notation used to create an abstract
model of a system, referred to as a UML model.
UML is not a method by itself; however, it was design to be compatible with the leading
object-oriented software development methods to its time. Since UML has evolved,
some of these methods have recast to take advantage of the new notation, and new
methods have created based on UML. The best known is Rational Unified Process
(RUP). There are many other UML-based methods like abstraction method, dynamic
systems development method and others designed to provide most specific solutions or
achieve different objectives.
It is very important to distinguish between the UML model and the set of diagrams of
a system. A diagram is a partial graphical representation of a systems model.
UML diagrams represent three different views of a system model:
3.1.1 Functional Requirements View
Emphasizes the functional requirements of the system from the users point of view e.g.
use case diagrams.
3.1.2 Static Structural View
Emphasizes the static structure of the system using objects, attributes, operations and
relationships e.g. class diagrams.
3.1.3 Dynamic Behavior View
Emphasizes the dynamic behavior of the system by showing collaborations among
objects and changes to the internal states of objects e.g. sequence diagrams, activity
diagrams and state diagrams.
Digital Shop
Govt. Post Graduate College Chakwal
Page 26 of 55
(Fig 3.1)
Digital Shop
Govt. Post Graduate College Chakwal
Page 27 of 55
Digital Shop
Govt. Post Graduate College Chakwal
Page 28 of 55
Digital Shop
Govt. Post Graduate College Chakwal
Page 29 of 55
Digital Shop
Govt. Post Graduate College Chakwal
Page 30 of 55
Digital Shop
Govt. Post Graduate College Chakwal
Page 31 of 55
Digital Shop
Govt. Post Graduate College Chakwal
Page 32 of 55
Digital Shop
Govt. Post Graduate College Chakwal
Page 33 of 55
Digital Shop
Govt. Post Graduate College Chakwal
Page 34 of 55
Digital Shop
Govt. Post Graduate College Chakwal
Page 35 of 55
CHAPTER 4
TESTING
CHAPTER-4
TESTING
4.1 Testing
In this section we will test
1.
2.
3.
4.
5.
6.
4.1.1
Admin Login
Client login
Check home page
Delivery status
Automated invoice
Email Alerts
Status: Pass
(Table 4.1)
Digital Shop
Govt. Post Graduate College Chakwal
Page 37 of 55
4.1.2
Client Login:
Test Engineer: Muhammad Shakeel Abbas
Test Case ID: TC-2
Related UC/FR/NFR UC-08
Date: 09-08-2014
Purpose: Client login.
Pre-Req: Open login page.
Test Data: Email: paki.monda@yahoo.com
Password: admin
Steps:
1.
2.
3.
4.
Status: Pass
(Table 4.2)
4.1.3 Testing Home Page:
Test Engineer: Muhammad Shakeel Abbas
Test Case ID: TC1
Related UC/FR/NFR UC
Date: 07-08-2014
Purpose: Testing Home page
Pre-Req: Browse web page
Test Data: Checked menu bars, navigation buttons, icons,
pictures
Steps: Steps to carry out the test. See step formatting
rules below.
1. Checked menu bar
2. Navigation bar
3. Buttons
Status: Pass
(Table 4.3)
Digital Shop
Govt. Post Graduate College Chakwal
Page 38 of 55
1. Login.
2. Visit status page.
3. Check status
Status: Pass
(Table 4.4)
4.1.5 Email Alerts:
Test Engineer: Muhammad Shakeel Abbas
Test Case ID: TC-6
Related UC/FR/NFR UC-11
Date: 09-08-2014
Purpose: Email alerts
Pre-Req: Client must be registered
Test Data: Log in to the mail
Steps:
Status: Pass
(Table 4.5)
Digital Shop
Govt. Post Graduate College Chakwal
Page 39 of 55
1. Login
2. Browse page
3. Print invoice
Status: Pass
(Table 4.6)
Digital Shop
Govt. Post Graduate College Chakwal
Page 40 of 55
CHAPTER 5
CONCLUSION &
FUTURE WORK
CHAPTER-5
CONCLUSION & FUTURE WORK
E-commerce is progressing rapidly and to compete with the current situations/time we
need such things like Websites to provide services with easiness while sitting at home.
We have tried our best to fulfill our project by keeping in mind both the parties
(Businessman & Customers). We are hopeful our work will be in favor of both parties.
Currently we have some limitation of sending and receiving payments via Internet, In
future when these services will be available, we will upgrade our project to provide
these facilities too.
Digital Shop
Govt. Post Graduate College Chakwal
Page 42 of 55
USER MANUAL
USER MANUAL
User Manual
a. Screen Shot I
Front Page (Fig 5.1)
b. Screen Shot II
Product Info Page (Fig 5.2)
Digital Shop
Govt. Post Graduate College Chakwal
Page 44 of 55
d. Screen Shot IV
User Registration (Fig 5.4)
Digital Shop
Govt. Post Graduate College Chakwal
Page 45 of 55
e. Screen Shot V
Services Page (Fig 5.5)
f. Screen Shot VI
Blog Page (Fig 5.6)
Digital Shop
Govt. Post Graduate College Chakwal
Page 46 of 55
Digital Shop
Govt. Post Graduate College Chakwal
Page 47 of 55
i. Screen Shot IX
Order Page (Fig 5.9)
j. Screen Shot X
Add Services (Fig 5.10)
Digital Shop
Govt. Post Graduate College Chakwal
Page 48 of 55
k. Screen Shot XI
Account Registration Email (Fig 5.11)
Digital Shop
Govt. Post Graduate College Chakwal
Page 49 of 55
Digital Shop
Govt. Post Graduate College Chakwal
Page 50 of 55
REFERENCES
REFERENCES
W3School. PHP 5 Tutorial: http://www.w3schools.com/php/, [Mar. 4, 2014].
W3School. SQL Tutorial: http://www.w3schools.com/sql/, [Mar. 4, 2014].
Kevin
Skoglund.
PHP
with
MySQL
Essential
Training:
http://www.lynda.com/MySQL-tutorials/PHP-MySQL-Essential-Training/1190032.html, [Aug. 11, 2013].
Jon Peck. Object-Oriented Programming with PHP: http://www.lynda.com/PHPtutorials/Object-Oriented-Programming-PHP/107953-2.htm, Apr 10, 2013[Jul. 8,
2013].
Shophive. Online Shopping in Pakistan: http://www.shophive.com/, [Nov. 16, 2013].
Digital Shop
Govt. Post Graduate College Chakwal
Page 52 of 55
APPENDICES
Appendix (A)
Responsive Design
Our Web Design is responsive it can easily adjust itself according to the device
on which website will be open. E.g. Windows Browsers, Mobile Browsers and
Tablets Browsers etc.
Digital Shop
Govt. Post Graduate College Chakwal
Page 53 of 55
Restrictions
Clients are not allow to access admin panel; also, unfilled form will not
submitted.
Performance
Our website will be loading fast, all the Images/Graphics will be processed
on server than it will took less time to load on client browsers.
Digital Shop
Govt. Post Graduate College Chakwal
Page 54 of 55
Accuracy
All bills calculations are automated by the system. Reports will be accurate than
manual system, admin can get report anytime.
Usability
As our project is not limited only on PC, so clients have facility to access it
while traveling through their mobiles or tablets etc.
Digital Shop
Govt. Post Graduate College Chakwal
Page 55 of 55