Beruflich Dokumente
Kultur Dokumente
Submitted by:
DEDICATION
We dedicate this Project to our parents. Because of their prayers and encouragement we have been able to complete this Project. Praise is to Allah, the most Gracious and Merciful, who blessed me with the knowledge and wisdom and enabled me to overcome this task. Heartiest gratitude to our parents without their continuous encouragement and love we could not have accomplished this task. They taught us how to walk, talk and how we face different situations at different fields of life.
ACKNOWLEDGMENT
First we offer our humble and sincere thanks to almighty "ALLAH" who bested us the potential and ability to make use of already existing ocean of knowledge. It is a grate privilege and pleasure for us to express our immense indebtedness, deepest gratitude and profound regard to the venerable and respectable teacher and our supervisor Mr. Muhammad Ahmad Jan for his constant encouragement, cooperation and helpful suggestion in preparation of our project. We would like to offer thanks to Mr. Bashir Ahmad, Director ICIT, for providing us facilities to carry out our project. We are thankful to him for providing good computer lab facility during our stay here at the department. Special thanks to all teachers of ICIT for helping us in two years degree.
APPROVAL CERTIFICATE
This is to certify that Mr Allah Noor and Mr Muhammad Asif have completed their final Project at institute of computing and information technology, Gomal university D.I.Khan. The project report submitted by them is hereby approved in partial fulfillment of the requirement for the degree of Master in computer science (MCS) ________________________ EXTERNAL EXAMINER: MR. MUHAMMAD AMEER KHAN Lecturer Govt. College No. 1 D.I.Khan ________________________ INTERNAL EXAMINER MR. Muhammad Ahmad Jan Lecturer ICIT Gomal university D.I.Khan
PROJECT IN BRIEF
PROJECT TITLE
WEBSITE FOR ONLINE SHOPPING
OBJECTIVE To facilitate the customers to purchase different products online. UNDERTAKEN BY Allah Noor Muhammad Asif SUPERVISED BY Mr. Muhammad Ahmad Jan Lecturer ICIT Gomal University D.I.Khan
SOFTWARE USED PHP My Sql Image Composer 1.5 Microsoft Front page 2003
CHAPTER
1.1 1.2 1.3 1.4 1.5 1.6
Description
Page No
8
9 9 10 12 13
Chapter 1 Introduction
Internet history. computer used in internet. web pages. Introduction of online shopping. About Gomal online shopping site
Main features 13
Chapter 2
2.1 2.2
Existing system .. .
Introduction. Disadvantages
14 15 15
17 18 18 18 19
20
21 21 22 22
CHAPTER
5.1 5.2 5.3 5.4 5.4
Description
Page No
23 24 24 24 25 26
30 31 39
45 46 46 46 46 46 46 47
Chapter # 1
Introduction
History of Internet
Internet began in 1969, as an experimental four computer network called ARPA Net. This was designed by the US defense department so that research scientists could communicate to each other. In approximately two years ARPA Net grew to about two dozen sites, and in 1981 it consists of almost tow hundred sites. In 1990 ARPA Net was officially disband, and the network which was no consists of hundred of websites was called internet. After some time commercial organizations begin to recognize the use of such a network which converted the whole world as a global village and allowed to access of all to business as well as commercial data, and a host of other services such as email and ecommerce. The rapid growth of the internet was due to networking giants, like British telecom, Hyundai, AT&T and others setting up fast and rapid networks, that encircles the globe. The networking giants were varying clear about their goal. This was to setup and maintain, monitor and expand existing networks.
Server
Servers are the computers which provide services to the client. It is the combination of hardware and software. Web server software is special software installed on web server. It provide the following services 1. Receives request from client and process it. 2. Sends response back to the particular client who had made request for it.
Some of the most popular software server software are, PWS (personal web server) IIS (internet information system) Apache
Client
Client is the computer which uses the services provides by web server. A special software is installed on client machine called web browser and provides the following services, 1. Send request to web server. 2. Receive response from web server. 3. Display contents of requested page. Some special web browsers are, Internet explorer Mozilla firefox Opera
Webpage
Webpage is a file or document written within html or html and Programming code, the programming code toll may be VB script, JAVA script or any other. There are two types of web pages. static web pages Dynamic web pages
10
Static pages
Static web page can be defined as it is a document or file which is written pure html. It is saved with the extension of .html or .htm.
Characteristics
1. Contents of static web page always remain constant. 2. The user can not change its contents according to his requirements. 3. Static web page is unable to provide any kind of information. 4. User can not perform any kind of calculations. 5. They are processed on client machine.
6. Dynamic pages
The page that is generated dynamically at the time of request is called dynamic web page. OR A webpage which is developed in html and programming code, where programming code may consists of client side programming or server side programming. Programming tool may VB script, JAVA script, php, asp or any other.
Characteristics
1. User can change the contents of dynamic page according to his/her requirements. 2. User can perform any type of processing . 3. Mathematical, statistical, scientific and database operation can be performed on dynamic web pages.
11
4. It is saved with the extension of .html if it contains client side script other wise it is saved with the extension of .asp, .php etc. Server side dynamic web pages are processed at web server.
Online shopping
It was a time of past to spared your business in market by conventional methods. Old market is today converted in high tech markets. Today if you want to purchase any item from abroad you need not to go or you need not to call them for a sample. You can find their products and see the catalogue on internet. Internet enables you to shop throughout world from the comfort of your home. Internet has some special characteristics which no other medium have. Only internet can provide you such special information even no salesman can help you as internet helps. Countless people can see products at a single movement, as well as they can purchase the product same time. You can compare various product and choose which is more useful for you, You have the facility to visit websites as much as you like no restriction on you here you will find approximately all world class brands and their products you have the facility to compare them, arrange according to many types like by price, by size, by category, by most salable item and many more. This facility enables you to choose. This way of shopping provides a new way of shopping. Online shopping is the process whereby consumers directly buy goods or services from a seller in real-time, without an intermediary service, over the Internet. It is a form of electronic commerce. An online shop, eshop, e-store, internet shop, webshop, webstore, online store, or virtual store evokes the physical analogy of buying products or services at a bricks-and-mortar retailer or in a shopping centre. The process is called Business-to-Consumer (B2C) online shopping.
12
Main features
1. Keeps track of Customers personal information. 2. User security by authenticating customer. 3. Administration panel to update database. 4. Showing approximately all properties of products. 5. Easy to use interface.
13
Chapter # 2
EXISTING SYSTEM
14
Introduction
The idea of this project is taken from a shop, whose system was very interesting. This all system is done manually. This shop is a store of valuable things. The whole system is described by the two main factors 1. Shop administrator 2. buyer shops administrator is a person who has the place where things can be placed for sale. People come to administrator to buy things are buyers. If a person has to buy some thing then he come to the shop and ask for his required thing. Now administrator will show him that thing and also tell him its different varieties, its price, and features. The same process is repeated for every customer. When the customer buy his required thing then administrator will have to placed all products in its proper place.
15
There may also be a risk of the breaking of products while showing to customer and setting back in to their proper place.
16
Chapter # 3
PROPOSED SYSTEM
17
Introduction
It is the age of computer. Most of the business is being done online. Notable shops are doing business online. Now it is the sign of good shop to have the business online. The existing system of our shop was definitely having some drawbacks. These drawbacks are directly effecting the business so the administrator is interested to get his business on the web. In getting the business online we will relief of a heavy burden. Now our proposed system is to develop a website that can handle online all transaction being done manually. The customer can buy product online. The customer has no need to come physically for buying products, because when a customer comes physically on shop he is really losing his time.
Customer registration
Customer is more important entity for business, but before doing business with any person you will wish to know about that person. So the case is in online business we will get information from the person who wants to do business with us. So customer must be registered with website.-
18
Fair administration
The administration of the site is critical job. So the administration is provided full authorities for site handling. He has to handle all the transactions on the site, so he is provided with an interface that is easy to use for him.
In this proposed system we have adopt so simple way so that a common person can easily ordered for any available products.
19
Chapter # 4
20
Input Specification
Product category entry Description: New products can be entered for product categorization. One category of product can have different products subjects, so product code and name will be defined separately. Customer Entry Description: customer personal information is required to input for customer registration which may include name, address, phone, email id, password etc. This information of customers is required to register their orders for any product.
21
Products: Description: products are the heart of this system. All possible the information about any product is required so that customer can select the product of his/her choice.
Process Specifications
Product selection: This function will show products selected from database with all information about the product for the customer. The products are selected based on the category of the product.. Registering orders: When customer order for any product then the function will first check that whether the customer is registered or not, if it is a registered customer then his/her order will be accepted by system by showing a message otherwise it will be rejected.
Output Specification
Registered orders: All the orders will be shown to administrator and he will print and confirm the orders. An order contains the information about customer product, quantity and order date etc.
22
Chapter # 5
System design
23
Introduction
This chapter consist of all the steps of designing the database of the proposed system
Database design
Logical Database Design Physical Database Design
24
E R diagram
25
Field Name
id First name Last name cnic Gender contactno Address Email_id password
Data type
Begint Varchar (255) Varchar (255) Varchar(50) Varchar(20) Varchar(255) text Varchar(255) Varchar(255)
Description
Primary key(auto increment) First name of customer Last name of customer Cnic # of customer Gender of customer Contact # of customer Address of customer Valid email id of customer Password of customer
26
Table Name: Admin Description: This table contains information about administrators. It consists of id, name and password. Primary key: id
Field
id name password
Data type
Bigint Varchar(255) Varchar(255)
Description
Primarykey (autoincrement) Name of administrator Password of administrator
Table Name: Pro_category Description: It contains information about the category of products. This table contains id, cat_name and description about category. Primary key: id
Field
id cat_name description
Data type
Bigint Varchar(255) Varchar(255)
Description
Primary key (auto increment) Name of products category Description of category
27
Table Name: Products Description: This table contains information about the products. It consists of pro_id, pro_name, comp_name, pro_model, description, price and picture. Primary key: pro_id
Field
pro_id pro_name comp_name pro_model description price picture
Data type
bigint Varchar(255) Varchar(255) Varchar(255) text bigint text
Description
Primary key (auto increment) Products name Company name of the product Products model Description of product Price of the product Picture of product
28
Table Name: Orders Description: This table contains the orders registered by costumers. It consists of order_id, uid, pro_id, units, address, orderdate, modeofpayment and confirm. Primary key: order_id Foreign key: uid, pro_id
Data type Bigint Bigint Bigint int text date Varchar(255) Varchar(255)
Description Primary key (auto increment) Costumer id Product id Quantity of product If costumer change his delivery address The date of order Mode of payment Confirmation of order
29
Chapter # 6
30
User interface
Index page:
PURPOSE: This is the index page of the site which leads to the different pages of the website.
31
FAQ page:
32
PURPOSE: This is the User Registration page of the online shopping website.
33
PURPOSE: This is the login page for customer. Email id and password are required for login.
34
Products page:
PURPOSE: When customer clicks on any product link, Then it will show different products of the selected type.
35
PURPOSE: If the customer is not login to the website yet he can see the
products but cannot ordered, and the order can not be further processed.
36
Order page:
PURPOSE: When any customer is login to the website and click on the Buy Now button of any product, then in this page user can enter no: of units of product, delivery address, and mode of payment.
37
PURPOSE: When user click on Order Now button, then this page will be appeared which show the confirmation of order.
38
Administrators pages
39
Log in Page:
PURPOSE: This page is used for login to administrator pages. No Admin page can be seen with out login.
40
Add Products:
41
Add Administrator:
42
Confirm orders:
PURPOSE: This page shows all orders one by one which are not confirmed, and administrator can confirm it by clicking on the button confirm order and goto next. The below link see all orders shows all the orders whether confirm or not.
43
All Orders:
PURPOSE: This page shows all the orders whether confirmed or not.
44
Chapter # 7
45
Testing Strategies:
The hallmark is the performance of any software is the testing strategies. These testing strategies play major role to satisfy the further performance Of the soft ware. The following strategies provide testing of software for Better and efficient implementation of the soft ware.
Input Testing:
It is the process to test whether the proposed soft ware can take the valid input and check blocks in valid entry of the data, And in this way the soft ware Provide best performance.
Output Testing:
It is the process to test the output generated by the soft ware and to specify that either the soft ware is providing the required output or not. Output Testing plays the major role because it indicates all those factors that ay create problems in the implementation and working of the Soft ware.
Code Testing:
It is the process to test the coding and to specify that either the coding is Error less and check the developed soft ware provides the quick flow of Data and either the code designing satisfy the performance of the Soft ware.
46
development. Rests of the bunks were removed in One week period after soft ware had been completely developed. Each Interface was tested independently of the others to verify the correct behaviors and processing of data.
Fixes Of Bugs:
All of bugs have been removed successfully.
Conclusion:
Different conclusions can be drawn after system testing and evaluation of the proposed system. These conclusions are based on the testing results. The Major conclusions are as under: . The proposed system provides effective input data entry in order to facilitate the user. . Outputs are generated randomly and user can easily operate and get the required data quickly. . Versatile interface provides easy operations of the proposed system such that a friendly environment is established.
47