Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
INTRODUCTION
1. INTRODUCTION
As said earlier Online Bookshop is a website that provide book shopping service.This shopping website can market the products of any seller through the internet.The services going to be provided in this website will not be free.The sellers have to make payment to us if they need to market their books in our website.The website will contain a list of books of various sellers.The features and prices of these books are also be given.When a user enters our site he can buy the books that he want by checking the features.After purchasing the books the total amount will be displayed.The purchaser can make his payment and the products will be delivered.There will also be a provision for advertisement.The sellers can add their advertisement by making a payment.And these advertisement are displayed on the advertisement page.The administrator is the controller of this site.And three modules involved are buyer,seller,administrator. .
SYSTEM ANALYSIS
2. SYSTEM ANALYSIS
Centre Of Computer Science CCSIT,CU 3
2.1 INTRODUCTION
A system is an orderly grouping of interdependent components linked together according to a plan to achieve a specific objective. Analysis is a detail study of the various operations performed by a system and their relationships within and outside the system .During analysis, data are collected on the available files decision points and transactions handled by the present system. System analysis is concerned with analyzing, designing, implementing and evaluating information system in our organization. It is carried out to make the system more effective either by modification or by substantial redesign. In system analysis we identify the problem, study the other possible solutions and select the most suitable solution, which will meet the technical, economical and social demands for analysis. Various tools such as dataflow diagrams, interviews, on site observations, questionnaires etc are used. System analysis process is also called life cycle methodology since it relates four significant phases in life cycle of all information system. They are: The Study phase The design phase The development phase The operation phase All the activities associated with each life cycle phase must be performed, managed and documented. So system analysis is the performance, management and documentation of the activities related to the four life cycle phases of a computer based business system.
In this world of technology computerization in the field of business is an inevitable fact to overcome these problems. This fact is what we aim through this project. The purchaser can purchase the books from his home through his system. This makes life more easier. This is already a realized fact. So also many other shopping websites are now available. Some of the most popular are rediff,ebay, manorama e-mart. So what we intend is to develop a website that include almost all the features of the existing others and at the same time solving the problems that prevail in these portals. So our preliminary task was to identify the problems of these websites. Based on the study of these portals we could identify some problems. They are1) Does not consider the feelings of the customer. What most shopping website do is sell their product, obtain the cash and then afterwards no attention is given on the part of customer. They does not see whether the product is delivered or not. So also sometimes the customer may be urgently in need of a product. In these portals they are no provisions to check the urgency of customer and to provide the item needed in time. 2) Does not consider the feelings of the seller
In most shopping websites the sellers has to make face to face contract with site owners to market their products in these portals. In this busy world, most sellers find it difficult to have a face to face conversation with the site members.
3) No options for already registered sellers to quickly add new products There is no options for an already registered sellers to add new products to the sites quickly. If new products are to be added the seller has to arrange a new meeting with the site members. 4) No options for the customer to reveal his problems Customer may find many problems dealing with our site. There are no options at present to collect their feedbacks, complaints etc. 5) No possibilities for a communication between administrator and companies The communication between the companies and administrator is a must in certain cases like agreement renewal,quantity scarcity etc. Theses provisions are lacking in an existing system.
Through our project ie, the e-commerce portal we will overcome these problems. So the advantages of this portal are1) Consider the feelings of the customer The customer satisfaction is given primary importance. The customer have the option to mark their urgency ie, the customer has the option to select the number of days with which the product has to be delivered. The customer also have the option to inform the site if the products are not delivered in time.
2) Consider the feelings of companies Our site take into consideration the feelings of companies and saves their precious time. The agreements are signed from the system itself and all they need to do is to enter their details in our site and the products that they wish to sell. The genuineness of the company is checked and the site will not register the company if the details are not valid. 3) Option for already registered companies to add new products The companies which are already in contract with our site can add new products after the payments very easily. All they need to do is to send the details of that product to us. 4) Customer can provide his feedbacks The site considers the feedback of the customer important. The site can improve only from their opinions. The customers can post their complaints if they are dissatisfied with the services of the site. 5)Direct mail service between companies and administrator A direct communication between the admin and companies is made possible through a local mailing system provided in our site. Similar to a global system, messages can be sent between them and communicated within no time.
Centre Of Computer Science CCSIT,CU 7
The advantages and facilities of the existing site are retained; at the same time new facilities are added which will make this e-commerce portal more useful.
investigation is conducted to identify the real problems of the existing system. Information is gathered through interviews and enquiry. We interviewed several persons to know what they expect from an e-commerce portal. Next we made a deep enquiry on the already present e-commerce portals and checked whether they satisfy these needs. Most of the needs are satisfied in the present systems. But they lack several qualities which is already pointed out. The next step was to determine what exactly the new system is to do to solve these problems. The outcome of initial investigation was the alternatives to solve these problems.
Feasibility is a test of the proposed system according to workability, impact on the organization ability to meet user needs, and effective use of resources. Following are the feasibility studies employed: Technical Feasibility Operational Feasibility Economic Feasibility
2. 4.1 TECHNICAL FEASIBILITY The system requires a higher configuration computer system, but it is already available at the organization. The Hardware requirements are:
Processor : Core 2 Duo Main memory : 256 MB Monitor : LCD Display Mouse : Microsoft series or compatible
Operating system : Windows XP Front end : C#.NET Technology : ASP.NET Backend : SQL Database
Thus the proposed system is technically feasible. 2.4.2 OPERATIONAL FEASIBILITY The proposed system offers: 1) Greater customer friendliness. 2) Greater understandability. 3) Less restrictions on companies.
Centre Of Computer Science CCSIT,CU 10
4) Simplicity. The operations of this site are absolutely simple. Handling this site does not need much training. So the system is operationally feasible.
2.4.3 ECONOMIC FEASIBILITY There is no need of any initial investment for software or hardware. The e-commerce portal can be considered as a shop which can sell variety of products. In the case of a shop the shopkeeper needs a lot of initial investment. But in the case of an e-commerce portal there is no such investments; making it economically feasible.
11
STUDY PHASE
18-02-09
23-02-09
6 days
DESIGN PHASE
24-02-09
09-03-09
13 days
DEVELOPMENT PHASE
10-03-09
31-03-09
20 days
TESTING
01-04-09
03-04-09
3 days
IMPLEMENTATION
04-04-09
06-04-09
3 days
12
SYSTEM DESIGN
13
3. SYSTEM DESIGN
3.1 MODULARIZATION DETAILS
Our project The E-commerce Portal is divided into three modules namely1) The Administrator 2) The Purchaser 3) The Company.
1) The Administrator The administrator is the central controller of the operations performed by the website. He has different functions that cater to the overall supervision of the e-commerce website.He can view companies;at the sametime modify or delete their account.Similarly he can view products,modify and delete them. Only admin has the right to delete the account of a company if the details are not true and delete the products of the company in case a problem occurs. Moreover,only after the admin approves the products of a company it will be published on the site for the buyers.The admininistrator has mailbox provisions through which he can communicate with the companies in case of agreement expiry or other problems that may occur.He can also read the feedbacks of the customers and take necessary actions.The admin can also view purchaser details which include the products purchased by a customer on a particular date and thereby the company details of the concerned products. He can see whether the products are delivered to the concerned customers on the requested date. The admin can also read the problems revealed by the customers and take necessary actions. 2) The Purchaser The purchaser is any user who approaches our site with an intention to buy the products marketed by the companies. Every user will be provided with a unique username and password at the time of sign up. For this he need to submit his details into our database. If he is an already registered customer with an existing username and password he can directly sign in. The purchaser has the provision to view the commodities
Centre Of Computer Science CCSIT,CU 14
available in our site before logging in. This saves his time so that he needs not login if the required product is not there. Selected products are put into a shopping cart. The cart implementation helps to deduce the quantity of the purchased product from the database. The quantity purchased will be multiplied by the unit price and added to get the total bill of a customer. The purchaser can select the period within which he needs the product. The product will be sent to the concerned person within that period. These processes will be looked after by the admin. Bill payment is performed through the credit card system Customers can also provide his valuable feedbacks about our site. 3) The Company Different companies can use the site for selling and advertising their products. Companies log on to our site using the username and password given to them. To get the username and password for the first time there are a series of steps that include accepting our agreement, submitting details and so on. Later they can enter the products. An amount has to be paid before company can upload the products to our site. The products are uploaded by company itself. But these will be verified by the admin and can be deleted if they are not worth. The company can also add another set of items acceptable to the site on further payment. Quantity upload is also allowed .The companies can also upload advertisements based on payments. The company also has a provision for mailbox through which the company can directly communicate with the administrator. He can also view their customers.
DATABAS
DATABAS
DATABAS
Online Bookshop Project Report 2012 VIEW COMPAN IES VIEW PRODUC TSOMPA NIES READ CUSTOM ER FEEDBA CKS VIEW UNREGIST ERED PRODUCTS MESSA GE SERVIC ES
CDETAILS
ADMI N
PRODUCT1
FEEDBACKS
PRODUCT1
MAILBOX1
PURCHASE_BACK UP
ADVERTISEMENTS
PROBLEMS
17
Online Bookshop Project Report 2012 ADD PRODUC TS UPDATE PRODUC T QUANTI TY PRODUCT1
COMPA NY
PRODUCT1
ADVERTISEM
MAILBOX1
PURCHASE
18
Online Bookshop Project Report 2012 SELECT PRODUC TS WRITE PROBLE MS PRODUCT1
PURCHA SER
PROBLEMS
WRITE FEEDBACKS
FEEDBACKS
APPRO VE
Online Bookshop Project Report 2012 VIEW PRODUC TSOMPA NIES FEEDBAC READ CUSTOM ER FEEDBA CKS PRODUC VIEW UNREGIST ERED PRODUCTS MAILBOX MESSA GE SERVIC ES PURCHASE_BAC KUP VIEW CUSTOM ERS ADVERTISEMEN VIEW ADVERTISEM ENTS PROBLEMS READ CUSTOM ER PROBLE MS DELE TE DELE TE DELE TE DELE TE INBO X APPRO VE DELE TE EDIT
EDIT
COMP OSE
20
PAYME NT
ADVERTISEM ADD ADVERTISEM ENTS MAILBOX MESSA GE SERVIC ES PURCHASE VIEW CUSTOM ERS PRODUC PURCHA SER SELECT PRODU CTS BUY PAYME NT
ADMI N?
LOGIN
YES PERFORM
ACTIONS OF ADMIN
NO NO YES PURCHASE R?
CONTIN UE? NO
YES
LOGIN
22
YES LOGIN
PERFORM ACTIONS OF
PERFORM ACTIONS OF
CONTINU E?
YES
LOGOUT
STOP
DECISION BOX
database management system. The objectives in establishing a database can be summarized as: Eliminate redundant data as much as possible. Integrate data files. Incorporate changes easily and quickly. Lower the cost of storing and retrieving data. Improve accuracy, integrity and consistency. Data independence. Privacy and security.
The various steps involved in database design are given below: Organizing the data As we gather the data, we will organize it into tables and begin to work out its connections. Our first goal is to identify the tables and the columns within the tables. Identify the keys The next step in database design is to identify the key that is used as a primary key. A primary key is a column, which uniquely identifies a row in a table. Uniqueness is the key property of a primary key, so we have to choose it carefully. Then identify the foreign keys that are used. A foreign key is a row or a column in a table, which acts as a primary key for another table. So after identifying the primary keys and the foreign keys, go to the next step of database design. Normalization Normalization is the process of decomposing the attributes in an application, which results in asset s of tables with very simple structure or in simple words it is a process of simplifying the relationship between the data elements in a file.
24
The goal of a relational database design is to generate a set of relational schemes that allows us to store information without unnecessary redundancy and yet allows us to retrieve information easily. The purpose of normalization is to make tables as simple as possible. The normalization deals with the process of gathering data into relations. The normalizing provides, The data needed to construct the user objects, It is robust enough to allow rows to be inserted, deletes and modified without resulting in anomalies and errors. First normal Form (1NF) Here the tables are analyzed for repeating or redundant data and these are eliminated. Second Normal Form (2NF) To be in second normal form, a table must be in first normal form and no attributes of the table should be functionally dependent on only one part of a concatenated primary key. Third Normal Form (3NF) To be in third normal form, a table must be in 2NF and no attribute of the table should be transitively functionally dependent on the primary key.
The various tables used in our project are:
Advertisement
Approvedcomid
Centre Of Computer Science CCSIT,CU 25
Cagreement
Cdetails
Clogin
Companyname1
Feedbacks
Mailbox1
26
Mailbox2
Problemstable
Product1
27
Pur_login
Pur_amount
Pur_product
28
Purchase
Purchaser
Temp_purchase
29
30
31
32
SYSTEM DEVELOPMENT
33
4. SYSTEM DEVELOPMENT
4.1 PSEUDO CODE
PROCEDURE homepage() BEGIN CASE OF: customer login(); CALL: customer login(); CASE OF : company login(); CALL : company login(); CASE OF : contact us(); CALL : contact us(); CASE OF: about us(); CALL : about us(); END PROCEDURE customer login() BEGIN IF old user INPUT username and password IF username and password valid CALL : productbuy(); ELSE PRINT: Invalid Username or password; ELSE IF new user CALL custsign up(); END
Centre Of Computer Science CCSIT,CU 34
PROCEDURE :
BEGIN
company login()
IF old company INPUT username and password IF username and password valid CALL : companytasks(); ELSE PRINT: Invalid Username or password; ELSE IF new company CALL compsign up(); END PROCEDURE :productbuy() BEGIN SELECT The required products ENTER The required quantity of each product purchased SELECT The number of days within which you need the products CALL creditcard(); SELECT The feedback link if required END PROCEDURE :custsign up() BEGIN
Centre Of Computer Science CCSIT,CU 35
INPUT Customer name INPUT address INPUT phone number INPUT E-mail id INPUT account number IF all details are valid Provide the username and password END PROCEDURE :compsign up() BEGIN INPUT Company name INPUT address INPUT phone number INPUT E-mail id INPUT account number IF all details are valid Provide the username and password END PROCEDURE: companytasks() BEGIN IF new product registration
Centre Of Computer Science CCSIT,CU 36
CALL addproducts(); ELSE IF product quantity updation CALL qty updation(); ELSE IF advertisement registration CALL: addadvertisement() ELSE IF customers details CALL: viewcustomers(); ELSE CALL : mailbox(); END PROCEDURE: creditcard() BEGIN ENTER Your credit card number IF valid RETURN payment receipt END PROCEDURE: addproducts() BEGIN ENTER productname ENTER features ENTER price
Centre Of Computer Science CCSIT,CU 37
ENTER quantity UPLOAD image IF details valid UPLOAD details to the database ELSE PRINT Invalid; END PROCEDURE qty updation() BEGIN INPUT productname INPUT The quantity to be uploaded SUBMIT END PROCEDURE addadvertisement() BEGIN INPUT advertisement text SUBMIT END PROCEDURE viewcustomers() BEGIN IF view customers of the day
Centre Of Computer Science CCSIT,CU 38
SELECT customers of the day link ELSE IF view all customers SELECT all customers link END PROCEDURE mailbox() BEGIN IF view incoming messages SELECT inbox option ELSE IF compose new messages SELECT compose option END PROCEDURE adminlogin() BEGIN INPUT admin username and password IF valid GO TO admintasks(); ELSE PRINT Invalid username and password END PROCEDURE admintasks() BEGIN
Centre Of Computer Science CCSIT,CU 39
IF view companydetails SELECT companydetails link ELSE IF view productdetails SELECT productdetails link ELSE IF read customer feedback SELECT customer feedback link ELSE IF view unregistered products SELECT unregistered products link ELSE IF mailbox SELECT mailbox link ELSE IF view site customers SELECT site customers link ELSE IF advertisement of the site SELECT advertisement link ELSE IF view customer problem SELECT customer problem link END
40
Text Field:
The text field can contain only the number of characters lesser than or equal to its size. The text fields are alphanumeric in some tables. Incorrect entry always results in an error message.
Numeric Field:
The numeric field can contain only numbers from 0-9. An entry of any characters flashes an error message. The individual modules are checked for accuracy and what it has to perform. Each module subjected to test run along with the sample data. The individually tested modules are integrated into single system. Testing involves executing the real data information used in the program. The existence of any program defect is inferred from the output. The testing should be planned so that all the requirements are individually tested. In addition validation checks are also implemented for certain formatted entries like the email-id.Any other entry in the mail-id field results in an error message. Also blank entries in all fields are dealt with appropriate error messages.
41
5. 1 TESTING
5.1.1 SYSTEM TESTING
System testing is actually a series of different testing whose primary purpose is to fully exercise the computer based system. Software testing is critical element of software quality assurance and represent the ultimate review of the specification, design and coding. System testing makes a logical assumption that all the part of the system is correct; the goal will be successfully achieved. Testing is the final verification and validation activity within the organization itself. During testing the major activities are concerned on the examinations and modification of the source code. Testing objectives are:
Testing is a process of executing a program with the intend of finding an error. A good test is one that uncovers an as yet undiscovered error.
Unit testing Integration testing System testing Validation testing User acceptance testing
The front-end design consists of various forms. They were tested for data acceptance. Similarly, the back-end also tested for successful acceptance and retrieval of data.
Project aspect:
Centre Of Computer Science CCSIT,CU 44
Online Bookshop Project Report 2012 4 Exercise internal data structures to ensure their validity.
46
5.2 IMPLEMENTATION
The implementation phase of the software design consists of different tasks to be done sequentially for obtaining the desired results. Here we do not implement parallel; instead we first implement admin and then the user module. The different phases are:
Initially we implement the admin module because the operation made in admin reflects in the user module. After implementing this, we check whether all the operations and reports are up to the specification. Only after ensuring this we go for user module. With the help of a user-friendly visual interface, the end users can perform the desired operations. Upon selecting any operation, the corresponding link commands will be passed to database and the response is also received. The responses are then retrieved and displayed in screen.
48
49
7. CONCLUSION
We are glad to say that we were successful in implementing all the features we intended in this e-commerce portal. Although we could not implement the exact credit card system by accessing the gateway of banks we could implement the concept behind that. So in overall we can proudly say that it was a successful project.
50
8. BIBLIOGRAPHY
1) http://www.rediff.com 2) http://www.ebay.com 3) Elements of SystemAnalysis - Marvin Gore & John Stubbe 4) Data Base System Concepts- Abraham Silberschatz, Henry F Korth, S Sudarshan
51
SCREEN SHOTS
52