Download - E-Metro Final Documentaion
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
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
Govt. College of Science Wahdat Road Lahore
___________________
Project Primary Advisor
Name:
Designation:
Govt. College of Science, Lahore.
_____________________
Project Examiner
Name:
Designation:
Govt. College of Science, Lahore.
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
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
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
Version 2.0
Contents
CHAPTER:1
INTRODUCTION............................................................................................8
1.1 PROJECTOVERVIEW.................................................................................81.2 GOALS..................................................................................................81.3 OBJECTIVES...........................................................................................9
1.3.1 Objective Statement........................................................................................................9
CHAPTER:2
PROJECT/PRODUCT FEASIBILITY REPORT:.....................................................102.1 Technical Feasibility:......................................................................................................10
CHAPTER:3
SOFTWARE & HARDWARE TECHNOLOGIES:...................................................113.1 Hardware Specification...................................................................................................113.2 Web hosting specification................................................................................................11
CHAPTER:4FEASIBILTY REPORT:
4.1 OPERATIONAL FEASIBILITY:.....................................................................124.2 ECONOMICAL FEASIBILITY:......................................................................12
4.2.1 Estimate Cost:...............................................................................................................12
4.3 SCHEDULE FEASIBILITY:..........................................................................134.3.1 Specification Feasibility:...................................................................................................13
4.4 INFORMATION FEASIBILITY......................................................................134.4.1 Motivational Feasibility:...................................................................................................144.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:......................145.1.2 CPM - CRITICAL PATH METHOD.............................................................16
Govt. College of Science Wahdat Road Lahore
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.........................................................................................215.4.2 DREAM WEAVER CS6...........................................................................215.4.3 ADOBE PHOTOSHOP.............................................................................225.4.4 XAMPP SERVER...................................................................................225.4.5 MS OFFICE 2013.................................................................................225.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:.................................................................................246.3 SCOPE OF THE SYSTEM:...........................................................................24
6.3.1 Phase I...........................................................................................................................246.3.2 Phase II.........................................................................................................................246.4 Summary of Requirements: (Initial Requirements).............................................................246.4.1 Order Management.......................................................................................................24
CHAPTER:7OBJECT OREINTED & ANALYSIS:7.1 INTRODUCTION:....................................................................................267.2 UNIFIED MODELING LANGUAGE (UML).......................................................267.3 USE CASE DESCRIPTION:.........................................................................267.3.1USE CASE: - REGISTER…. (BUYER)...........................................................26ACTORS:-.................................................................................................287.3.2USE CASE DIAGRAM..............................................................................287.3.3 ACTIVITY DIAGRAM FOR REGISTRATION...................................................297.4 USE CASE: - LOGIN…. (BUYER).................................................................30
Govt. College of Science Wahdat Road Lahore
Version 2.0
7.4.1 USE CASE DIAGRAM............................................................................307.4.2 ACTIVITY DIAGRAM FOR LOGIN..............................................................31
7.5 USE CASE: …. SEARCHING PRODUCTS THROUGH SEARCH..................................327.5.1 USE CASE DIAGRAM.............................................................................337.5.2 ACTIVITY DIAGRAM FOR SEARCHING PRODUCT...........................................347.6 USE CASE: - SIGN OUT............................................................................357.6.1 USE CASE DIAGRAM.............................................................................357.6.2ACTIVITY DIAGRAM FOR LOGGED OUT......................................................367.7 USE CASE: - ADDING NEW ITEM(S).............................................................377.7.1USE CASE DIAGRAM..............................................................................377.7.2 ACTIVITY DIAGRAM FOR ADMIN(S) OPTIONS..............................................387.8 USE CASE: - UPDATING/MODIFYING BUYER ACCOUNTS...................................397.8.1USE CASE DIAGRAM..............................................................................397.8.2 ACTIVITY DIAGRAM FOR UPDATING BUYER ACCOUNTS.................................407.9 USE CASE: - BUY...................................................................................417.9.1 USE CASE DIAGRAM.............................................................................417.9.2 ACTIVITY DIAGRAM FOR BUY PRODUCT....................................................42
7.10 USE CASE DIAGRAM REFINED...................................................................43
7.11 DOMAIN MODEL.....................................................................................44CHAPTER : 8
DESIGN PHASE...........................................................................................45
8.1 SEQUENCE DIAGRAMS.............................................................................458.1.1 For sign up....................................................................................................................458.1.2 For log-in......................................................................................................................468.1.3 For sign-out..................................................................................................................478.2 Sequence diagram for adding new item:.........................................................................488.3 For search item................................................................................................................498.4 Sequence diagram for buy an item..................................................................................498.5 For updating account:.....................................................................................................50
8.6 COLLABORATION DIAGRAMS....................................................................528.6.1 For sign up....................................................................................................................528.6.2 For log-in......................................................................................................................538.6.3 For log out....................................................................................................................548.6.4 For adding new item.....................................................................................................55
Govt. College of Science Wahdat Road Lahore
Version 2.0
8.6.5 For search an item........................................................................................................568.6.6 For buy an item.............................................................................................................578.6.7 For updating user account............................................................................................58
8.7 DESIGN CLASS DIAGRAMS........................................................................59CHAPTER :9
DATABASE:................................................................................................61
9.1 DATA MODEL FOR EMETRO.....................................................................619.1.1 TABLE FOR ADMIN:..............................................................................62
9.1.2 Table with admin values...............................................................................................63
9.2 TABLE FOR BUYER.................................................................................649.2.1 Table value....................................................................................................................64
9.3 TABLE FOR ITEM:..................................................................................659.3.1 Table value....................................................................................................................65
9.4 TABLE FOR PRODUCT..............................................................................669.4.1 Table for product with values.......................................................................................66
9.5 TABLE FOR SHIPPING ADDRESS..................................................................679.5.1 Table values..................................................................................................................67
CHAPTER :10
SCREEN SHOTS FOR EMETRO.......................................................................68CAHPTER:11
USER MANUAL………………………………………………………………………………...69
CAHPTER:12
USER INTREFACE……………………………………………………………………………..............71
CHAPTER:13
Biblography………………………………………………………………………………………77
CHAPTER:14
Refrences…………………………………………………………………………………………78
Govt. College of Science Wahdat Road Lahore
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
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 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.
Govt. College of Science Wahdat Road Lahore
Version 2.0
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) Adobe Photoshop Smart Draw
3.1 Hardware Specification:
Govt. College of Science Wahdat Road Lahore
Version 2.0
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:4Feasibility 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 cost or maintenance cost: When we have developed the project some functional and non-functional 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
Govt. College of Science Wahdat Road Lahore
Version 2.0
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
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
Govt. College of Science Wahdat Road Lahore
Version 2.0
4.4Information FeasibilityThe 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 product’s 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.
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 6 3*4 2*5 1*7 29
Number of user inquiries 7 4*3 2*4 1*6 26
Govt. College of Science Wahdat Road Lahore
Version 2.0
Number of internal logical files 8 5*7 1*10 2*15 75
Number of external interface files 5 2*5 2*7 1*10 34
Count-Total 200
Fi Factor Value(0-5)
F1 Reliable back-up and recovery 4
F2 Distributed Data Processing 0
F3 Performance 4
F4 Heavily used configuration 0
F5 Transaction rate 4
F6 On-Line data entry 4
F7 End user efficiency 4
F8 On line update 4
F9 Complex Processing 1
F10 Reusability 2
F11 Installation Ease 3
F12 Operational Ease 3
F13 Multiple Sites 2
F14 Facilitate Change 2
∑Fi 37
Function Points = Total FP Count * [0.65 + 0.01(∑Fi)]
= 200*[0.65 + 0.01(37)]
Govt. College of Science Wahdat Road Lahore
Version 2.0
= 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 Activities
Feasibility Study Technical Feasibility Operational Feasibility Economic Feasibility Schedule Feasibility Specification Feasibility Information Feasibility Motivational Feasibility Legal and Ethical Feasibility
Project Planning Time Scheduling Task Assignment to Member
Cost Estimation Based on Function point
Requirement Gathering Conduct Interviews
Govt. College of Science Wahdat Road Lahore
Version 2.0
Gather through questions Collect paper material
Designing the System Domain Modal System sequence Diagram Sequence Diagram Collaboration Diagram Operation Diagram Design Class Diagram State Transition Diagram
Design Database Normalization ERD Diagram
Write Use Case Write Business Use Case
Coding Code the Modules Integrate the System
Testing Unit testing Integration testing
Govt. College of Science Wahdat Road Lahore
Start
End
1 3 4 9
5 6 7 11
10
12 13 15
16
20
19
1821
2224
25
29
30
26
27
31
3234
35
Version 2.0
5.2.1 Activity on Node (AON) Diagram
Govt. College of Science Wahdat Road Lahore
Version 2.0
5.2.2 Activity Table
30 10 113 123 123 113 0
31 7 123 130 130 123 0
32 6 130 136 136 130 0
33 - - - - - -
34 6 136 142 142 136 0
35 5 142 147 147 142 0
36 - - - - - -
37 - - - - - -
End 147 147 147 147 0
There are two critical paths, which is as follows:
A:) Start13491011121315
162021242930323435End
B:) Start1346711121315
16202122242930323435End
Govt. College of Science Wahdat Road Lahore
Version 2.0
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. 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:
Govt. College of Science Wahdat Road Lahore
Version 2.0
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 Extending customer’s 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 ListThe 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
Govt. College of Science Wahdat Road Lahore
Version 2.0
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 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.
Govt. College of Science Wahdat Road Lahore
Version 2.0
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 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 customer’s home.
2. Only registered buyers could order for goods. Buyer’s 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.
Govt. College of Science Wahdat Road Lahore
Version 2.0
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 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)
Govt. College of Science Wahdat Road Lahore
Version 2.0
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.
Normal path 1. Visitor browses the site. 2. Selects Register/Create an account. 3. Fills up personal Information (e g: name, mail). 4. Fills up log in information (e.g.: user id, password). 5. Submits the information. 6. Customer will receive an e-mail regarding his new account.
Alternative Path From Administrator’s End 1. Administrator click on Customer Manage customer. 2. Click “Add New Customer Tab”. 3. Fill the required information and Save.
Govt. College of Science Wahdat Road Lahore
Version 2.0
Actors:-
7.3.2Use Case Diagram
Buyer
Govt. College of Science Wahdat Road Lahore
Signup
Click Sign upLabel
Fill the Form Contents
Enter the Home Page URL
check
Check entries
Visit site with Buyername
Version 2.0
7.3.3 Activity Diagram for Registration
Start
Incorrect URL
Correct URL
Registered Successfully
Invalid entry Try Again
Govt. College of Science Wahdat Road Lahore
Version 2.0
7.4 Use Case: - Login…. (Buyer)
Use Case Name Login BuyerDescription Buyer will enter Buyername and password that he/she had entered
during registration.Pre-Condition Buyer has opened the website or application and registered already.Post-Condition Buyerwill have access to the website.
Main Flows or Events Buyer can see the donors list and much more on the websiteSecondary Scenario Invalid Buyername or password. Buyer doesn’t access to the Donors
Contact info’s etc.
Actors:-
7.4.1 Use Case Diagram
Buyer
Govt. College of Science Wahdat Road Lahore
Login
Version 2.0
7.4.2 Activity Diagram for Login
Start
Incorrect URL
Correct URL
Signed in Correctly
Invalid Buyer name
Govt. College of Science Wahdat Road Lahore
Click at Login Label
Enter Buyer name and password
Enter the Home Page URL
check
Invalid-name/pass.
Version 2.0
Or password
7.5 Use case: …. Searching products through search:Use case name Searching products through search text box,
search button
Primary Actors Visitor
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
Govt. College of Science Wahdat Road Lahore
Home page is opened with Buyer Name
Version 2.0
Actors:-
7.5.1 Use Case Diagram
Buyer
Govt. College of Science Wahdat Road Lahore
Search
Version 2.0
7.5.2 Activity Diagram for Searching product
Star
Incorrect URL
Correct URL
Govt. College of Science Wahdat Road Lahore
Enter the Home Page URL
check
Click on the Search Button
Check search query
Search using name Search using Category list
Product DetailCategory detail
Version 2.0
7.6 Use Case: - Sign Out
Use Case Name Sign outDescription 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.
Pre-Condition Donor/Buyer has logged in.
Post-Condition Donor/Buyer is logged out successfully.
Main Flows or Events Donor/Buyer will click on logout button.He/she will be logged out successfully.
Secondary Scenario N/A
Actors:-
7.6.1 Use Case Diagram
Buyer
Govt. College of Science Wahdat Road Lahore
Log out
Version 2.0
7.6.2Activity Diagram for Logged Out
Start
Logged out
END
Govt. College of Science Wahdat Road Lahore
Click on the log out button
Version 2.0
7.7 Use Case: - Adding new Item(s)
Use Case Name Admin OptionsDescription Through this the Administrator can View/Update, Add New Admin
and can change Password.
Pre-Condition Admin must have logged into the admin control Panel by entering
administrator Buyer name and password.
Post-Condition 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.
Administrator(s) profile will be shown.
Admin(s) have authority to update profile(s).
The system will verify information.
Secondary Scenario Administrator cancel the activity.
Administrator close the browser.
7.7.1Use Case Diagram
Govt. College of Science Wahdat Road Lahore
Add item
Version 2.0
Admin
7.7.2 Activity Diagram for Admin(s) Options
Start
Invalid ID
Successfully logged in
Govt. College of Science Wahdat Road Lahore
Login as Admin
If exist
Select Update site.
Fill the item ‘spec
Enter ID
Add new item
Version 2.0
7.8 Use Case: - Updating/Modifying Buyer AccountsUse Case Name Updating or changing of accountsDescription Through this the Buyer can Update, Change and Modifying Buyer
Name, Password, Address and Phone Number
Pre-Condition Buyermust have logged into his/her account
Post-Condition Buyer has successfully modified or updated the account
Main Flows or Events Login by enteringBuyer name and password for modification
Click manage account
Account setting page will be displayed
Buyer can change Buyer Name, password, Address and
Phone Number
After clicking submit verification is sent to Buyer
Secondary Scenario 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
Govt. College of Science Wahdat Road Lahore
Changes are successfully made
Update account
Version 2.0
Buyer
7.8.2 Activity Diagram for Updating Buyer Accounts
Start
Invalid ID or Password
Successfully logged in
Govt. College of Science Wahdat Road Lahore
Login
Select update account
Click Submit
Change password
A confirmation message is displayed
to Buyer
Version 2.0
7.9 Use Case: - BuyUse Case Name Search DonorsDescription 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.
Pre-Condition Buyer has opened the application successfully. Buyer can Search Donors list without registration. To see the Donors Contact info’s any one must be login.
Post-Condition Search has made according to Buyer choice.
Main Flows or Events Buyer has selected the choice to view list. List will be shown according to the selection that Buyer
made.Secondary Scenario Buyer has not opened application successfully.
Invalid Selection Either location of city name or blood type.
Actors:-
7.9.1 Use Case Diagram
Buyer
Govt. College of Science Wahdat Road Lahore
Buy
Version 2.0
7.9.2 Activity Diagram for Buy product
Start
true
false
true
by debt by paypal
Govt. College of Science Wahdat Road Lahore
Select product item
Buy conformation
Click on the Buy now
paymentmethode
Check Sign in
Sign up now
Version 2.0
7.10 Use Case Diagram Refined:
Admin
Buyer
Govt. College of Science Wahdat Road Lahore
By debtBy paypal
Signup
Buy Product
Search item
Sign in
Updating/Modifying account
Add new Items
Version 2.0
7.11 Domain Model:
Govt. College of Science Wahdat Road Lahore
Log out
Version 2.0
EMetro Domain Model Version1.0
Chapter : 8
Design Phase
8.1 Sequence Diagrams:
8.1.1 For sign up:
Govt. College of Science Wahdat Road Lahore
Version 2.0
8.1.2 For log-in:
Govt. College of Science Wahdat Road Lahore
Version 2.0
8.1.3 For sign-out:
Govt. College of Science Wahdat Road Lahore
Version 2.0
Govt. College of Science Wahdat Road Lahore
Version 2.0
8.2 Sequence diagram for adding new item:
Govt. College of Science Wahdat Road Lahore
Version 2.0
8.3 For search item:
Govt. College of Science Wahdat Road Lahore
Version 2.0
8.4 Sequence diagram for buy an item:
Govt. College of Science Wahdat Road Lahore
Version 2.0
8.5 For updating account:
Govt. College of Science Wahdat Road Lahore
Version 2.0
8.6 Collaboration Diagrams:
8.6.1 For sign up:
Govt. College of Science Wahdat Road Lahore
Version 2.0
8.6.2 For log-in:
Govt. College of Science Wahdat Road Lahore
Version 2.0
8.6.3 For log out:
Govt. College of Science Wahdat Road Lahore
Version 2.0
8.6.4 For adding new item:
Govt. College of Science Wahdat Road Lahore
Version 2.0
8.6.5 For search an item:
Govt. College of Science Wahdat Road Lahore
Version 2.0
8.6.6 For buy an item:
Govt. College of Science Wahdat Road Lahore
Version 2.0
8.6.7 For updating user account:
Govt. College of Science Wahdat Road Lahore
Version 2.0
8.7 Design Class Diagrams:
Govt. College of Science Wahdat Road Lahore
Version 2.0
8.8 Logical DataModel: (ERD)
Govt. College of Science Wahdat Road Lahore
Version 2.0
Govt. College of Science Wahdat Road Lahore
Version 2.0
Chapter :9
Database:
9.1 Data Model for EMetro:
Govt. College of Science Wahdat Road Lahore
Version 2.0
9.1.1 Table for Admin:
Govt. College of Science Wahdat Road Lahore
Version 2.0
9.1.2 Table with admin values:
Govt. College of Science Wahdat Road Lahore
Version 2.0
9.2 Table for Buyer:
9.2.1Table value:
Govt. College of Science Wahdat Road Lahore
Version 2.0
9.3 Table for item:
9.3.1Table value:
Govt. College of Science Wahdat Road Lahore
Version 2.0
9.4 Table for product:
9.4.1Table for product with values:
Govt. College of Science Wahdat Road Lahore
Version 2.0
9.5 Table for shipping address:
Govt. College of Science Wahdat Road Lahore
Version 2.0
9.5.1 Table values:
Govt. College of Science Wahdat Road Lahore
Version 2.0
Chapter :10
Screen shots for EMetro:
Govt. College of Science Wahdat Road Lahore
Version 2.0
Govt. College of Science Wahdat Road Lahore
Version 2.0
Govt. College of Science Wahdat Road Lahore
Version 2.0
Govt. College of Science Wahdat Road Lahore
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
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
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
Version 2.0
Govt. College of Science Wahdat Road Lahore
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, Management4. 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;1st
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
Version 2.0
References
1. Kathy Schwable, IT Project Management, Course Technology, 3rd 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-website planning-guide 6. Www.azure.microsoft.com/en-us/pricing/calculator/ 7. www.forbes.com/sites/alextaub/2014/05/08/webflow-lets-designers create-websites-
without-learning-to-code/
Govt. College of Science Wahdat Road Lahore