Sei sulla pagina 1di 79

E-Metro Online Shoping Cart

Version 2.0
EMETRO Shopping cart

Team ID- 01
Session: BSc. Spring 2010

Submitted By
Muhammad Awais IT-54-BS10--1977
Muhammad Kamran IT-46-BS10--1971
Hafiz Salman Elahi IT-34-BS10--1961
Department of Computer Science
Govt. College of Science Wahdat Road Lahore

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0
STATEMENT OF SUBMISSION
This is to certify that Muhammad Awais Roll No. 1977 , Muhammad Kamran Roll No.1971
and Hafiz Salman Elahi RollNo.1961 have successfully completed the final project named as:
EMetro, at the Govt. College of Science, Wahdat Road, Lahore. University of The Punjab,
Lahore, to fulfill the partial requirement of the degree of BS in Information Technology.

_____________________
Project Office Supervisor
Govt. College of Science, Lahore. Lahore

___________________

_____________________

Project Primary Advisor

Project Examiner

Name:

Name:

Designation:

Designation:

Govt. College of Science, Lahore.

Govt. College of Science, Lahore.

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

PROOFREADING CERTIFICATE
It is to certify that I have read the document meticulously and circumspectly. I am convinced that
the resultant project does not contain any spelling, punctuation or grammatical mistakes as such.
All in all I find this document well organized and I am in no doubt that its objectives have been
successfully met.

_____________________
Mr. /Ms.
,
Business Communication and Technical Writing,
Lecturer, Govt. College of Science, Lahore.

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

ACKNOWLEDGEMENT
I would like to express my gratitude and appreciation to all those who gave me the possibility to
complete this documentation. A special thanks to our final year project coordinator,
Mr. Munir u Din, whose help, stimulating suggestions and encouragement, helped me to
coordinate my project especially in writing this documentation.
I would also like to acknowledge with much appreciation the crucial role of the staff of
Computer Laboratory, who gave the permission to use and all the necessary computers to
complete our project.
A special thanks goes to our Mr. Adnan, who help us to assemble the parts and gave suggestion
about our project.
Last but not least, many thanks go to the head of the project, H.O.D Mr.Ijaz Ahmad whose have
given his full effort in guiding the team in achieving the goal as well as his encouragement to
maintain our progress in track. I would to appreciate the guidance given by other supervisor as
well as the panels especially in our project presentation that has improved our presentation skills
by their comment and tips.

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

ABSTRACT
EMetro will be an e-commerce solution for consumer direct environment in the field of
shoping. It will consist of a set of integrated software component that will enable enterprises to
build and customize sports zone. Our shoping platform will use an open architecture based on
PHP programming, HTML5 etc. The features of ecommerce we will introduce some new
techniques in our website like new payment system.
Consumer direct business model will be followed.
EMetro serves people to buy anything in an easy way .Because before this there is no website for
Metro which gives the opportunity to peoples to buy products online and pay money by pay pall
or as well as by debit card .
We are providing the number of facilities to our customers. We are focusing on the large business
organizations.we can create admin panel who works as server and gives response to users or
buyers admin update the website and add more products. products will register first, after that
they will be provided the specific space of quota. Similarly the buyers who want to buy the
products will register first then they will place their order. Advertisement facilities will be
provided to the Buyers. We are going to manage the record of buyers. Our system is a platform
which will provide the facility to the customers so that they can buy the products without any
hectic at their homes simply through a single click.
User plugs on and takes a free tour of our site. User move to he different galleries of and
select the product of his desire and then add to the basket, then he goes through the click and
pick process his payment criteria will be asked along with his general information.

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

Contents

CHAPTER:1
INTRODUCTION............................................................................................8
1.1 PROJECTOVERVIEW.................................................................................8
1.2 GOALS..................................................................................................8
1.3 OBJECTIVES...........................................................................................9
1.3.1 Objective Statement........................................................................................................9

CHAPTER:2
PROJECT/PRODUCT FEASIBILITY REPORT:.....................................................10
2.1 Technical Feasibility:......................................................................................................10

CHAPTER:3
SOFTWARE & HARDWARE TECHNOLOGIES:....................................................11
3.1 Hardware Specification...................................................................................................11
3.2 Web hosting specification................................................................................................11

CHAPTER:4
FEASIBILTY REPORT:
4.1 OPERATIONAL FEASIBILITY:.....................................................................12
4.2 ECONOMICAL FEASIBILITY:......................................................................12
4.2.1 Estimate Cost:..............................................................................................................12
4.3 SCHEDULE FEASIBILITY:..........................................................................13
4.3.1 Specification Feasibility:...................................................................................................13
4.4 INFORMATION FEASIBILITY......................................................................13
4.4.1 Motivational Feasibility:...................................................................................................14
4.4.2 Legal & Ethical Feasibility:..............................................................................................14

CHAPTER:5
PROJECT/PRODUCT SCOPE...........................................................................14
5.1 PROJECT/PRODUCT COSTING...................................................................14
5.1.1 PROJECT COST ESTIMATION BY FUNCTIONAL POINT ANALYSIS:.......................14
5.1.2 CPM - CRITICAL PATH METHOD.............................................................16
Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0
5.2 TASK DEPENDENCY TABLE:........................................................................16
5.2.1 ACTIVITY ON NODE (AON) DIAGRAM.......................................................18
5.3 INTRODUCTION TO TEAM MEMBERS AND THEIR SKILL SET........................21
5.4 TOOLS AND TECHNOLOGIES WITH REASONING:........................................21
5.4.1 DATABASE.........................................................................................21
5.4.2 DREAM WEAVER CS6...........................................................................21
5.4.3 ADOBE PHOTOSHOP..............................................................................22
5.4.4 XAMPP SERVER...................................................................................22
5.4.5 MS OFFICE 2013.................................................................................22
5.4.6 HTML AND CSS.................................................................................22
5.5 VISION DOCUMENT:...............................................................................22
5.6 RISK LIST..............................................................................................23

CHAPTER:6
REQUIREMENT ENGINEERING......................................................................23
6.1 INTRODUCTION:....................................................................................23
6.2 EXISTING SYSTEM:.................................................................................24
6.3 SCOPE OF THE SYSTEM:...........................................................................24
6.3.1 Phase I...........................................................................................................................24
6.3.2 Phase II.........................................................................................................................24
6.4 Summary of Requirements: (Initial Requirements).............................................................24
6.4.1 Order Management.......................................................................................................24

CHAPTER:7
OBJECT OREINTED

& ANALYSIS:
7.1 INTRODUCTION:....................................................................................26
7.2 UNIFIED MODELING LANGUAGE (UML).......................................................26
7.3 USE CASE DESCRIPTION:.........................................................................26
7.3.1USE CASE: - REGISTER. (BUYER)...........................................................26
ACTORS:-.................................................................................................28
7.3.2USE CASE DIAGRAM..............................................................................28
7.3.3 ACTIVITY DIAGRAM FOR REGISTRATION....................................................29
7.4 USE CASE: - LOGIN. (BUYER).................................................................30
Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0
7.4.1 USE CASE DIAGRAM............................................................................30
7.4.2 ACTIVITY DIAGRAM FOR LOGIN..............................................................31
7.5 USE CASE: . SEARCHING PRODUCTS THROUGH SEARCH..................................32
7.5.1 USE CASE DIAGRAM.............................................................................33
7.5.2 ACTIVITY DIAGRAM FOR SEARCHING PRODUCT...........................................34
7.6 USE CASE: - SIGN OUT............................................................................35
7.6.1 USE CASE DIAGRAM.............................................................................35
7.6.2ACTIVITY DIAGRAM FOR LOGGED OUT......................................................36
7.7 USE CASE: - ADDING NEW ITEM(S).............................................................37
7.7.1USE CASE DIAGRAM..............................................................................37
7.7.2 ACTIVITY DIAGRAM FOR ADMIN(S) OPTIONS...............................................38
7.8 USE CASE: - UPDATING/MODIFYING BUYER ACCOUNTS....................................39
7.8.1USE CASE DIAGRAM..............................................................................39
7.8.2 ACTIVITY DIAGRAM FOR UPDATING BUYER ACCOUNTS..................................40
7.9 USE CASE: - BUY...................................................................................41
7.9.1 USE CASE DIAGRAM.............................................................................41
7.9.2 ACTIVITY DIAGRAM FOR BUY PRODUCT.....................................................42
7.10 USE CASE DIAGRAM REFINED...................................................................43
7.11 DOMAIN MODEL.....................................................................................44
CHAPTER : 8
DESIGN PHASE...........................................................................................45
8.1 SEQUENCE DIAGRAMS.............................................................................45
8.1.1 For sign up...................................................................................................................45
8.1.2 For log-in.....................................................................................................................46
8.1.3 For sign-out..................................................................................................................47
8.2 Sequence diagram for adding new item:.........................................................................48
8.3 For search item................................................................................................................49
8.4 Sequence diagram for buy an item..................................................................................49
8.5 For updating account:.....................................................................................................50
8.6 COLLABORATION DIAGRAMS.....................................................................52
8.6.1 For sign up...................................................................................................................52
8.6.2 For log-in.....................................................................................................................53
8.6.3 For log out....................................................................................................................54
8.6.4 For adding new item.....................................................................................................55
Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0
8.6.5 For search an item........................................................................................................56
8.6.6 For buy an item............................................................................................................57
8.6.7 For updating user account...........................................................................................58
8.7 DESIGN CLASS DIAGRAMS........................................................................59
CHAPTER :9
DATABASE:................................................................................................61
9.1 DATA MODEL FOR EMETRO.....................................................................61
9.1.1 TABLE FOR ADMIN:..............................................................................62
9.1.2 Table with admin values...............................................................................................63
9.2 TABLE FOR BUYER.................................................................................64
9.2.1 Table value....................................................................................................................64
9.3 TABLE FOR ITEM:..................................................................................65
9.3.1 Table value....................................................................................................................65
9.4 TABLE FOR PRODUCT..............................................................................66
9.4.1 Table for product with values.......................................................................................66
9.5 TABLE FOR SHIPPING ADDRESS..................................................................67
9.5.1 Table values..................................................................................................................67
CHAPTER :10
SCREEN SHOTS FOR EMETRO.......................................................................68
CAHPTER:11
USER MANUAL...69
CAHPTER:12
USER
INTREFACE..............71
CHAPTER:13
Biblography77
CHAPTER:14
Refrences78

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

Chapter:1
INTRODUCTION:1.1 Project Overview:
EMetro will be an e-commerce solution for consumer direct environment in the field of
shoping. It will consist of a set of integrated software component that will enable enterprises to
build and customize sports zone. Our shoping platform will use an open architecture based on
PHP programming, HTML5 etc. The features of ecommerce we will introduce some new
techniques in our website like new payment system.
Consumer direct business model will be followed.
EMetro serves people to buy anything in an easy way .Because before this there is no website for
Metro which gives the opportunity to peoples to buy products online and pay money by pay pall
or as well as by debit card .
We are providing the number of facilities to our customers. We are focusing on the large business
organizations.we can create admin panel who works as server and gives response to users or
buyers admin update the website and add more products. products will register first, after that
they will be provided the specific space of quota. Similarly the buyers who want to buy the
products will register first then they will place their order. Advertisement facilities will be
provided to the Buyers. We are going to manage the record of buyers. Our system is a platform
which will provide the facility to the customers so that they can buy the products without any
hectic at their homes simply through a single click.
User plugs on and takes a free tour of our site. User move to he different galleries of and
select the product of his desire and then add to the basket, then he goes through the click and
pick process his payment criteria will be asked along with his general information.

1.2 Goals:
The basic goal of our project is to create a website that is going to provide a platform to the
buyer and it will also help in advertising the products which are recently coming in market.
Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0
EMetro is actually an online market place enabling a person to buy online products from Metro.
With a diverse and passionate community of individuals and small businesses EMetro offers an
online platform where hundreds of items are sold each day.

1.3 Objectives:
The objective of EMetro is to give manufacturers an opportunity of advertising their products so
that the customers have the best comparison of these products.Then It is going to provide buy
now option. We are also going to manage the buyers records and provide the secure payment
system there is also a facility of Search Engine in our website.
Designing the central database, Production management and Secure Payment System are also
part project objective.

1.3.1 Objective Statement:


By going online we will efficiently utilize company resources .We will reduce our cost and
maximize overall profit.
To provide solution of problems facing by the customers
To provide ordering and service information
Secured transactions
Secured and no repudiation communication.
Online purchase facility
Deal online operations
Digitalization and integration of commercial activities
Online supplying operation dealing
To increase the sales volume
Number of visitors
Number of signed-up members

Chapter:2
Project/Product Feasibility Report:
When a project is started the first matter to establish is to assess the feasibility of a project or
product. Feasibility means the extent to which appropriate data and information are readily
available or can be obtained with available resources such as staff, expertise, time, and

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0
equipment. It is basically used as a measure of how practical or beneficial the development of a
software system will be to you (or organization). This activity recurs throughout the life cycle.

There are many types of feasibilities:

Technical
Operational
Economic
Schedule
Specification
Information
Motivational
Legal and Ethical

2.1 Technical Feasibility:


We will develop an online platform. Our project limitation is to handle online transaction.
Our team is our strength we have the ability to create a complete website because we have
technically experienced team. Our team has very creative programmer as well as experienced
business managers and operators. We are going to build a website on the basis of customers
demand and needs. We will handle our cost according to the scope of our project.
Opportunitiesare created by the acceptance and phenomenal growth of the World Wide Web as a
tool for business, commerce, and entertainment. The growing access of the general population to
personal computers with Internet access, and the growing dependence of large company and
businesses on computers for their everyday operations and advertisement, is additional positive
indicators for our success.

Chapter:3
Software& Hardware Technologies:

Xampp
Sublime text editor
Netbeans
Rational Rose
For Data Base MS Access, SQL ...
XML (WML)
HTML
Macro Media (Dream Weaver, Flash etc)

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

Adobe Photoshop
Smart Draw

3.1 Hardware Specification:

P (IV) Genuine Intel Motherboard and Processor


VGA, Sound, 56k modem, LAN Card or ISDN Card
Hard Disk 80GB
RAM 256MB (min)
CD-R/WR

3.2 Web hosting specification:

Our website required 25 to 50 MB space.


We will purchase 25 MB domain which will cost us about RS=2500.
We can further enlarge the size of our domain according to the load on the website.

Chapter:4
Feasibility Report:4.1Operational Feasibility:
All these issues can be handled easily by our hardworking staff member.

Search engine optimization


Order tracking
Record management
Transactional handling
Payment securing
Back up facility
Feed Back

4.2Economical Feasibility:
In Economic Feasibility we make analysis that how much cost is required to develop this
project and after its completion which type of benefits we will get from it and those are of
how much worth. There are two types of cost that can be defined: Development cost: cost
required to develop the application and possess the services. And the other one is ongoing

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0
cost or maintenance cost: When we have developed the project some functional and nonfunctional requirements can be changed or upgrade.
Project is to be measured in economic feasibility into two parts.
4.2.1 Estimate Cost:
Development cost is Rs. 30000
Maintenance Cost is Rs. 10000
Total operation cost is Rs. 15000
Total Cost Budgeted is Rs. 55000

Estimate Benefits:
Profit after Tax 10% to 15%
IRR potential 25% or more /year
Gross margin exceeding 40% and more durable
Time of break even lesser then 2 years

4.3Schedule Feasibility:
Our project is complete with in these months. Meeting schedule of our project is also conduct on
this deadline.
Date

Time

Deliverables

19june2015

11:00am-12:30pm

Proposal
First Deliverable
Second Deliverable
Third Deliverable

4.3.1 Specification Feasibility:


Main page contain information about metro company and Contains product catalogue &
information regarding products
Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

Contains advertisement of products and banners


Search engine optimization is also provided
Login page provides facility for login to existing users
Order place page collects the information from user regarding their order
Customer payments will be managed on payment page
Viewing shopping cart page provides the facility for viewing cart
The shopping page provides the confirmation information about their orders
There is also a feature of payment at door step facility

4.4Information Feasibility
The feasibility of information of our project is to access online transactional and advertisement
handling. It is also reliable and meaningful for all type of business as we are going to provide
and online platform to give them the opportunity of advertising their products. Which is too our
income source.

4.4.1 Motivational Feasibility:


As we are already told that we are creating ease for our customer the color combination of web
site and ease in navigation automatically motivate our customer.
4.4.2 Legal & Ethical Feasibility:
Our site is not just an outlet but provide the ethics of products related Tribes and country which
make it a legal and ethical site.

Chapter:5
Project/Product Scope
Since we have to develop a website that will work in following areas,

The customers will be able to view advertisement of different products.


The customers will be able to order through web.
All transactions will be handled through web.

5.1 Project/Product Costing


5.1.1 Project Cost Estimation by Functional Point Analysis:
Function points are computed by completing the table shown in the figure below. Five
information domain characteristics are determined and counts are provided in the appropriate
table location.
Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0
Measurement

Weighting factor

Measurement parameter

Count

Simple

Average

Complex

Number of user inputs

10

6*3

3*4

1*6

36

Number of user outputs

3*4

2*5

1*7

29

Number of user inquiries

4*3

2*4

1*6

26

Number of internal logical files

5*7

1*10

2*15

75

Number of external interface files

2*5

2*7

1*10

34

Count-Total

200

Fi

Factor

Value(0-5)

F1

Reliable back-up and recovery

F2

Distributed Data Processing

F3

Performance

F4

Heavily used configuration

F5

Transaction rate

F6

On-Line data entry

F7

End user efficiency

F8

On line update

F9

Complex Processing

F10

Reusability

F11

Installation Ease

F12

Operational Ease

F13

Multiple Sites

F14

Facilitate Change

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0
Fi

37

Function Points

Total FP Count * [0.65 + 0.01(Fi)]


200*[0.65 + 0.01(37)]

200*[0.65 + 0.37]

200*1.02

204FP

Productivity = 13FP/month
Labor Rate = RS.7500/month
Function Point = 204FP
Cost/FP = Labor Rate/Productivity Parameter
Cost/FP = 7500/13
Cost/FP = 577Rs/FP
Total Project Cost = FP est.* (Cost/FP)
Total Project Cost = 204 * 577
Total Project Cost =RS.117708
Total Estimated Effort = FP est. /Productivity Parameter
Total Estimated Effort = 204/13
Total Estimated Effort = 16PM
4.1.2 CPM - Critical Path Method
5.2 Task Dependency Table:

Task
Feasibility Study

Activities

Technical Feasibility
Operational Feasibility
Economic Feasibility
Schedule Feasibility
Specification Feasibility
Information Feasibility

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

Project Planning
Cost Estimation
Requirement Gathering

Designing the System

Design Database
Write Use Case
Coding
Testing

Motivational Feasibility
Legal and Ethical Feasibility
Time Scheduling
Task Assignment to Member
Based on Function point

Conduct Interviews
Gather through questions
Collect paper material
Domain Modal
System sequence Diagram
Sequence Diagram
Collaboration Diagram
Operation Diagram
Design Class Diagram
State Transition Diagram
Normalization
ERD Diagram
Write Business Use Case

Code the Modules


Integrate the System
Unit testing
Integration testing

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

5.2.1 Activity on Node (AON) Diagram

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0
1

Start

10

11

12

13

15

16
20
26
End

19
25

21

27

24

18

22

29

31

35
34

30

32

5.2.2 Activity Table


30

10

113

123

123

113

31

123

130

130

123

32

130

136

136

130

33

34

136

142

142

136

35

142

147

147

142

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0
36

37

147

147

147

147

End

There are two critical paths, which is as follows:


A:)

Start13491011121315
162021242930323435End

B:)

Start1346711121315
16202122242930323435End

5.3 Introduction to Team Members and their Skill Set:


Code Name

Name

Skills

A1

M. AwaisHafeezsidique

Analyst, Programmer
Developer, Testing

A2

M.Kamran Abbas

Developer, Testing

A3

Hafiz SalmanElahi

Analyst, web-Developer

5.4 Tools and Technologies with reasoning:


5.4.1 Database
The database is the most critical component of an e-commerce application. Once you have
designed and populated database, you will have customer and order records possibly thousands
of them. Changing the database structure is extremely difficult once the database has data in it.
Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0
So we have used simple and platform independence database, Microsoft Access which is a great
tool for mocking up and testing a database. And by using which it will be easy for us to maintain
referential integrity.
5.4.2 Dream Weaver CS6
We will use it for Web designing.
5.4.3 Adobe Photoshop
Use for graphic designing. Use may take time to download
5.4.4 Xampp Server
To execute php pages and renders web pages that includes coding.

5.4.5 MS Office 2013


To complete different activities e.g. MS word use for the documentation of the project

5.4.6 HTML and CSS:


For desigining home page and embedding php.
5.4.6 Smart Draw:
For creating class and collaboration diagrams.

5.5 Vision Document:


Our purpose is meeting the requirements of 21st century. We want to shift from offline to online
business to meet challenges of 21st century.

Main purpose is to introduce e-business solution


Speed up information flows
Shorten lead times
Fast loading
Browser compatibility
Decrease supply chain management costs
Extend market reach and visibility

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

Extending customers buying reach power


To provide information of the logs
Introducing the security issues and its importance in the business
To be a friendly site
To be a full-blown e-commerce site
Selling and provide services locally and globally
Fill gaps in research related to production, transportation, and marketing
Increase consumer interest in and demand for locally and globally product

5.6 Risk List


The possibility of suffering harm or loss in terms of danger is called risk .Risk management is
the process of identifying risks, analyzing the risks, and creating a plan to manage them. A
security risk is defined as the expected loss due to, or as an impact of, anticipated threats in light
of vulnerabilities and the strength and determination of relevant threat agents.
These are the risks may arise in our project
Database Crash
Lead time
Security break
Maintenance problem
Bugs and Virus
Market trends and competition

Chapter:6
REQUIREMENT ENGINEERING
6.1 INTRODUCTION:
EMetro is an online sales and advertisement system which serve the buyers to buy anything
from metro shop by using internet we are providing the number of facilities to our customers we
are focusing on the medium to large business organizations. If the new product is arises in
market will registered first after that they will provide the specific space of quota, the buyer who
Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0
want to buy the products will register first but this sign up process required only one time,
Advertisement facilities can be provided to the customer.
We are also providing Search engine facility; we are also going to manage the record of buyers.
Our system is a complete online website which provides the facility to the customers so that they
can buy and sell the products without any hectic at their homes simply through a single click.

6.2 Existing System:


In this era of modern technology, people are so busy, they have enough time to manually go to
shopping mall and buy products of their need. Our website has just tried to solve this problem by
using e-commerce. Our main focus is on both the customers who do not have enough time to
manually go to the shopping mall and buy product of their need or in other words the customer
whom time is important than money. EMetro.com is a business platform, which will provide
services to the buyers in other words it is a touch point for the buyers to access products of
different companies. . Our system will provide facilities to the buyers. Buyers are able to buy the
products of multiple companies and multiple products can be place for sale. Customer has to
register first before buying the products. Customer can also check the status of its order. Each
customer record is maintained, Buyers have to pay online. These payments are then transfer to
the company. The main focus of the company is on advertisements of the products of different
companies for which a specific quota and try to take interest of buyer.

6.3 Scope of the System:


The scope of the EMetro can be divided in to two phases.
6.3.1 Phase I
In the first phase the scope is limited to the account management of buyer to meet the
primary requirement of the system. Only the product placement of different and its sale is
handling in this phase.
6.3.2 Phase II
In phase is more sophisticated to meet the more advance requirement of a successful business
e.g. CRM, Marketing, Advertisement etc.

6.4 Summary of Requirements: (Initial Requirements)


EMetro will fulfill following requirements.
6.4.1 Order Management
1. Our customer who wants to buy products of their need from the Internet .Only registered
customer could place order for goods. So a customer must be able to register himself to the
Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0
system by requesting for registration. Customer should provide his personal, organizational,
authorizer and payment details in the registration request process. If system accepts the
registration request, login information (Password, Id & customer ID) should be assigned and
automatically mailed to the corresponding customer. Similarly customer could also request for
the updating of his record. He could request for different types of updating e.g. updating of his
personal/shipping details, or updating of his payment methodology. Customer could also view
his details for verification purposes and similarly System could search any customer detail and
could also view the whole list of currently registered customers. After the confirmation of the
order by the buyer the order is transfer to the relevant manufacturer which will fulfils the order
and we deliver the product to the customers home.
2. Only registered buyers could order for goods. Buyers places an order by providing his ID and
other order related details. A complete order must contain personal details of the customer,
shipping information, product list along with product quantity and payment details. Buyer could
make payment either through debit or through a credit card. Accordingly invoice should be
generated, and user should be given the option to finally place the order and in the end
confirmation receipt must be given to the customer. Invoice contains the list of complete product
along with their pricing details. It also contains discounts, sales tax and total pricing details. User
could also view the status of their orders by providing the Order Number. Buyers could also
place the request for the updating of their orders if the orders are not shipped. They could place
request for the updating of shipping address and product quantity only. Similarly the buyer could
also place the request for the cancellation of the order. But all these updating and cancellation
requests are to be viewed by the System in order to accept reject.
3. Auto mail mechanism should be adopted for better notification/messaging services, business
interaction and control. System will generate these mails automatically when the following
actions are performed.
Completion of customer registration.
Order placement.
4. System also provides the facility of search engine optimization to search for of anything
available on the system.

Chapter:7
OBJECT ORIENTED ANALYSIS
7.1 Introduction:
Object-oriented analysis and design (OOAD) is a popular technical approach to analyzing,
designing an application, system, or business by applying the object-oriented paradigm and
Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0
visual modeling throughout the development life cycles to foster better stakeholder
communication and product quality.
Following artifacts are included in this phase.

Unified Modeling language (UML)

Use Case Description

Use Case Diagram Refined

Domain model

7.2 Unified Modeling Language (UML)


The Unified Modeling Language (UML) is a general-purpose modeling language in the
field of software engineering, which is designed to provide a standard way to visualize the
design of a system.

7.3 Use Case Description:


7.3.1Use Case: - Register. (Buyer)
Use case name

Customer Registration

Primary Actors

Visitor

Secondary Actors

Administrator

Descriptions

This Use case Describes the first required step


which any business wants from a user and that is
user registration. User Registration can be done
either by Ecommerce Administrator or by website
visitor, we will look into both these scenarios.

Registration

Registered Customer as many business offers


Guest checkout feature which we will talk about
later.

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0
Normal path
1.
2.
3.
4.
5.
6.
Alternative Path
1.
2.
3.

Visitor browses the site.


Selects Register/Create an account.
Fills up personal Information (e g: name, mail).
Fills up log in information (e.g.: user id,
password).
Submits the information.
Customer will receive an e-mail regarding his
new account.
From Administrators End
Administrator click on Customer Manage
customer.
Click Add New Customer Tab.
Fill the required information and Save.

Actors:7.3.2Use Case Diagram

Signup
Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

Buyer

Enter the Home Page URL

chec
k

Click Sign upLabel

Fill the Form Contents

7.3.3 Activity Diagram for Registration

Start

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

Incorrect URL

Correct URL

Check entries

Registered Successfully

Invalid entry Try Again


Visit site with Buyername

7.4 Use Case: - Login. (Buyer)


Use Case Name
Description
Pre-Condition
Post-Condition

Login Buyer
Buyer will enter Buyername and password that he/she had entered
during registration.
Buyer has opened the website or application and registered already.
Buyerwill have access to the website.

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0
Main Flows or Events
Secondary Scenario

Buyer can see the donors list and much more on the website
Invalid Buyername or password. Buyer doesnt access to the Donors
Contact infos etc.

Actors:7.4.1 Use Case Diagram

Login

Buyer

7.4.2 Activity Diagram for Login


Start

Enter the Home


Govt. College of Science Wahdat
Page Road
URLLahore

E-Metro Online Shoping Cart


Version 2.0

check

Incorrect URL

Correct URL
Click at Login Label

Enter Buyer name


and password

Invalidname/pass.

Signed in Correctly

Invalid Buyer name


Or password

Home page is
opened with
Buyer Name

7.5 Use case: . Searching products through search:


Use case name

Searching products through search text box,


search button
Visitor

Primary Actors

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0
Secondary Actors

None

Descriptions

To make things easier and faster for website


visitors, almost all the websites today have a very
strong search feature which makes it easier for
customer to directly go for what he/she is
interested into and which in turn may result into
faster sales.
Note: Some websites give the feature of saved
search for Registered Customer. This feature
helps the user to buy faster once he/she has
planned for purchasing that Product.

Normal path
1. Customer Visits the website.
2. Gives the search keyword (searching can be done
from any page).
3. Selects enter/search button.
4. Search result shows the product as per the search
keyword and availability of product on website.
5. Customer may choose to buy the product.
Alternative Path

N/A

Actors:-

7.5.1 Use Case Diagram

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0
Search

Buyer

7.5.2 Activity Diagram for Searching product


Star

Enter the Home


Page URL

Incorrect URL

check

Govt. College of Science Wahdat Road Lahore


Search using name

E-Metro Online Shoping Cart


Version 2.0

Correct URL
Click on the Search
Button

Check search
query

Search using
Category list

Product
Detail

Category
detail

7.6 Use Case: - Sign Out


Use Case Name
Description

Pre-Condition
Post-Condition

Sign out
If Buyer wants to logout from the website then he/she needs to click
on the logout button. Buyer will be successfully logged out from
the application.
Donor/Buyer has logged in.
Donor/Buyer is logged out successfully.

Main Flows or Events

Donor/Buyer will click on logout button.

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0
Secondary Scenario

He/she will be logged out successfully.


N/A

Actors:-

7.6.1 Use Case Diagram

Log out

Buyer

7.6.2Activity Diagram for Logged Out


Start

Click on the log out


button
Logged out
Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

END

7.7 Use Case: - Adding new Item(s)


Use Case Name
Description
Pre-Condition

Admin Options
Through this the Administrator can View/Update, Add New Admin
and can change Password.
Admin must have logged into the admin control Panel by entering

Post-Condition

administrator Buyer name and password.


Admin has successfully viewed or updated the website.

Main Flows or Events

Login as an admin by entering admin Buyer name and


password to view Administrator(s) profile.

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

Secondary Scenario

Administrator(s) profile will be shown.

Admin(s) have authority to update profile(s).

The system will verify information.


Administrator cancel the activity.

Administrator close the browser.

7.7.1Use Case Diagram

Add item

Admin

7.7.2 Activity Diagram for Admin(s) Options


Start

Login as Admin

Invalid ID

Enter ID

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

Successfully logged in
Select Update
site.

Add new
item

Fill the item


spec

If exist

Changes are
successfully
made

7.8 Use Case: - Updating/Modifying Buyer Accounts


Use Case Name
Description
Pre-Condition
Post-Condition
Main Flows or Events

Updating or changing of accounts


Through this the Buyer can Update, Change and Modifying Buyer
Name, Password, Address and Phone Number
Buyermust have logged into his/her account
Buyer has successfully modified or updated the account

Login by enteringBuyer name and password for modification

Click manage account

Account setting page will be displayed

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

Buyer can change Buyer Name, password, Address and


Phone Number

Secondary Scenario

After clicking submit verification is sent to Buyer


Buyer cancel the activity

Buyer close the browser

In case of abnormal situation(Network failure etc.) data is not


submitted to Database

7.8.1Use Case Diagram

Update account

Buyer

7.8.2 Activity Diagram for Updating Buyer Accounts


Start

Login

Invalid ID or Password
Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0
Successfully logged in
Select update
account

Change
password

Click Submit

A confirmation
message is
displayed to
Buyer

7.9 Use Case: - Buy


Use Case Name
Description

Pre-Condition

Post-Condition
Main Flows or Events

Search Donors
Buyer will search for Donors in the following ways
Search by City Name.
Search by Blood Type.
Search by a specific Location name of a City.
Buyer has opened the application successfully.
Buyer can Search Donors list without registration.
To see the Donors Contact infos any one must be login.
Search has made according to Buyer choice.

Buyer has selected the choice to view list.

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

Secondary Scenario

List will be shown according to the selection that Buyer


made.
Buyer has not opened application successfully.
Invalid Selection Either location of city name or blood type.

Actors:7.9.1 Use Case Diagram

Buy

Buyer

7.9.2 Activity Diagram for Buy product


Start

Select product item

Buy
conformation

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0
true
Click on the Buy
now

Check Sign in

false

Sign up now

true

paymentmethode

by debt

by paypal

By paypal

By debt

7.10 Use Case Diagram Refined:

Add new
Items
Admin

Signup
Govt. College of Science Wahdat Road Lahore

Sign in

E-Metro Online Shoping Cart


Version 2.0

Search item
Buyer

Updating/Modif
ying account

Buy Product

Log out

7.11 Domain Model:

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

EMetro Domain Model Version1.0

Chapter : 8
Design Phase
Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

8.1 Sequence Diagrams:


8.1.1 For sign up:

8.1.2 For log-in:


Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

8.1.3 For sign-out:


Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0
8.2 Sequence diagram for adding new item:

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

8.3 For search item:

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

8.4 Sequence diagram for buy an item:

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

8.5 For updating account:

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

8.6 Collaboration Diagrams:


8.6.1 For sign up:

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

8.6.2 For log-in:

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

8.6.3 For log out:

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

8.6.4 For adding new item:

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

8.6.5 For search an item:

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

8.6.6 For buy an item:

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

8.6.7 For updating user account:

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

8.7 Design Class Diagrams:

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

8.8 Logical DataModel: (ERD)

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0
Chapter :9
Database:
9.1 Data Model for EMetro:

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

9.1.1 Table for Admin:

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

9.1.2 Table with admin values:

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

9.2 Table for Buyer:

9.2.1Table value:

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

9.3 Table for item:

9.3.1Table value:

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

9.4 Table for product:

9.4.1Table for product with values:

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

9.5 Table for shipping address:

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

9.5.1 Table values:

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

Chapter :10
Screen shots for EMetro:

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

Chapter: 11
User Manual
First of all user signup on this site the he/she is able to buy produtcts from this site.only one time
user signup with our website then he/she just signin on website and bougt products every he/she
wish to buy add to cart and total amount is shown at the last of product list.user can also delete
all the products which it is boughted and also change the quantity of products.

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

Search Bar:
User can also search the products using search bar by type product name.

Social media:
User can also join us on facebook , skype ,twitter etc.

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

Chapter: 12
User interface:
At start cart is empty .user can buy anything by clicking on add to cart button.

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0

Bibliography
1. Roger Pressman, Software Engineering: A Practioner's Approach, McGraw-Hill,
2005. ISBN:9780073019338
2. Ian Sommerville, Software Engineering, 6th Edition ISBN-10: 020139815X
3. Robins Stephen, Management
4. Stephan Schach, Irwin, Object-Oriented Software Engineering, 1999. ISBN:
0072418729
5. Craig Larman, Applying UML and Patterns, 2002. ISBN-10: 0130925691
6. Kathy Schwable, IT Project Management, Course Technology, 3rd Bk&Cdr edition
(July 2003)
7. Punkaj, Jalote, Software Project Management, Addison Wesley Professional;1 st
edition (January 2002)
8. Software Engineering-1, Data Base Systems, Computer Architecture
9. Nina S Godbole, Software Quality Assurance, Alpha Science International, Ltd(2004)
10. R A Khan, K Mustafa, SI Ahsan, Software Quality, Concept and Practices

Govt. College of Science Wahdat Road Lahore

E-Metro Online Shoping Cart


Version 2.0
References
1. Kathy Schwable, IT Project Management, Course Technology, 3 rd Bk&Cdr edition (July
2003)
2. Roger Pressman, Software Engineering: A Practioner's Approach, McGraw-Hill, 2005.
ISBN:9780073019338
3. Ian Sommerville, Software Engineering, 6th Edition ISBN-10: 020139815X
4. Nina S Godbole, Software Quality Assurance, Alpha Science International, Ltd(2004)
5. www.smashingmagazine.com/2011/06/09/a-comprehensive-websiteplanning-guide
6. Www.azure.microsoft.com/en-us/pricing/calculator/
7. www.forbes.com/sites/alextaub/2014/05/08/webflow-lets-designerscreate-websiteswithout-learning-to-code/

Govt. College of Science Wahdat Road Lahore

Potrebbero piacerti anche