Online Book Shop

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 15

ELLENKI COLLEGE OF ENGG&TECH

Name: Date: ONLINE BOOK SHOPPING DESIGN AND IMPLEMENTATION OF ONLINE BOOKSHOP Distribution of information for public access using computer networks instead of physical media, such as paper or cdrom is online publishing. The context of online publications may be enhanced by the use of such features as hyper text search facilities and multimedia. The majority of online publishing takes place over the internet particularly by means of World Wide Web (W W W). The online book shopping system enables the user o browse through a list of books available in book database and purchases any no of books through internet using a valid credit card. Roll:-

As part of case study, following analysis diagrams will be created 1. 2. 3. 4. 5. 6. Use cases for the system Class diagram for initially identified classes. Activity diagram to show flow for each use case. CRC cards showing how every class fits into the system. Sequence and collaboration diagrams. State chart diagram shows states before and after each action.

CONCEPTULIZATION: Online Bookshop Bookshop: Books, Software, And, Music CDS Customer: Browse, Register, And Order Bookseller: Charge

Pa ge No:-

ELLENKI COLLEGE OF ENGG&TECH


Name: Date: FUNCTION POINTS: Customer Registers Details Customer Browses and Orders Items LOOP Customer done System creates order System shows order form and cost Customer agrees to pay Seller delivers to customer Seller updates details Customer Browses System Displays item information Customer selects items System Adds To Shopping Chart System Welcome Message Customer System Validates password If password is invalid Error Message is given Exit Roll:-

REQUIREMENTS OF PROJECT:

Pa ge No:-

ELLENKI COLLEGE OF ENGG&TECH


Name: Date: TEXTUAL ANALYSIS: This covers the requirements and diagrams of the project. The process of enabling user to purchase a book through internet requires: ACTORS: These are who are involved in interaction of the whole process. The steps involved in this whole process are indicated as use cases. Sign in Browse and search for books Order for books and pay Seller delivers to customer Send acknowledgement Roll:-

1. SIGN IN: For purchasing a book through internet the user must have an account in the online book store (i.e.) one must register themselves to the online book shopping by giving their details. These details include email id, account name, and credit card no etc. Without any account one cannot make any transactions as it is a prerequisite. So if a new user wants to buy books first he/she needs to sign up. By giving the required details. Then he/she can sign in with the id and use the services.

Pa ge No:-

ELLENKI COLLEGE OF ENGG&TECH


Name: Date: Roll:-

Every account is protected by password, which adds security to the user. This, achievement restricting undefined accessing through a particular username by validating password. 2. BROWSE FOR BOOKS: After signing in the user searches for the book. This selection can done in various ways like on basis of name of book, author, publication or category. As requested by the user the books are filtered and the rest is displayed. On ones interest none or one or more books are selected. If no books are selected the user may logout. 3. ORDER AND PAY: The user fills in the order form requesting the required books. He/she needs to fill in the credit card no for the payment. When the user submits the order form the online book shopping verifies the card validity. This done by the banker. He/she says the card is valid if the number is right and enough balance is in the account. 4. ACKNOWLEDGEMENT: After receiving the books from online book shopping the user needs to sign in and give acknowledgement that he/she has received that book, so that the banker can do the money transaction between the accounts. CLASSES: The two main classes are customer and seller that are grouped with sub classes related to them. The classes; contain attributes and operations related to them. Operations performed by the customer are

Pa ge No:-

ELLENKI COLLEGE OF ENGG&TECH


Name: Date: Roll:-

CUSTOMER: Log on to the site Search for required books Order for the books by filling order form Pay money Confirm details for delivering Give acknowledgement SELLER: Maintain lists of books available Give lists of books requested by the customer Get order details and money Get books delivered to customer

DIAGRAMS: The diagrams are of two types: 1. STATIC DIAGRAMS: Static diagrams are again divided into four: a) Class Diagram b) Object Diagram c) Component Diagram d) Deployment Diagram a. CLASS DIAGRAM: A class diagram shows a set of classes, interfaces and collaborations and their relationships.

Pa ge No:-

ELLENKI COLLEGE OF ENGG&TECH


Name: Date: Roll:-

Classes of online book shopping are: CUSTOMER PACKAGE: CLASS Customer Login Logout ATTRIBUTE Name, address, id, password ip address .. OPERATIONS Search book (S), fill Order form . Confirm

SELLER PACKAGE: CLASS ATTRIBUTES OPERATIONS

Seller Order form Book Mode of payment

Name, address, phno. Customer, tax, payment mode, bill, date of order Title, author, publisher, edition, volume, price .

Check availability, update details, deliver Calculate total bill books Credit card, check, cash

b) OBJECT DIAGRAM: An object diagram shows a set of objects and their relationships. 2.DYNAMIC DIAGRAMS:Pa ge No:-

ELLENKI COLLEGE OF ENGG&TECH


Name: Date: They are divided into five: Roll:-

1. Usecase Diagram: Organizes the behavior of the system. 2. Sequence Diagram: Focused on the time ordering of messages. 3. Collaboration Digram: Focused on structural organization of the objects Sent and receive messages. 4. Statechart Diagram: Focused on changing state of system driven by events 5. Activity Diagram: Focused on the flow of control from activity to activity. 1. USECASE DIAGRAM: A use case diagram shows a set of usecases and actors and their relationships. ACTORS Customer USECASES Login to the site Look for book catalogue Select book (s). Register and order book(s) Fill order form

Seller

Login Update details


Pa

ge No:-

ELLENKI COLLEGE OF ENGG&TECH


Name: Date: Collect order forms Send order forms to DBA Deliver book (s) to customer. Roll:-

2. SEQUENCE DIGRAM: A diagram is an interaction diagram that emphasizes the time ordering of messages. It consists of set of objects and actor ACTORS: 1. CUSTOMER: He/she is the person who wants to buy the books. Once he/she logs on the system of objects and actor. 2. SELLER: The person who is willing to sell his products in exchange of money is called seller. OBJECTS: 1. LOGIN: This maintains the security of users and site. It validates the user details before allowing him to access the site and account. 2. WEB PAGE: This is the user interface: It is the main source of communication between user and the web master or administrator of site.The messages are displayed on this page.

3. ORDER AND CUSTOMER DETAILS: This takes care of the customer details and the ordered books and mode of payment. 4. SELLER: He is the person who sells the books to customer receiving money.
Pa ge No:-

ELLENKI COLLEGE OF ENGG&TECH


Name: Date: Roll:-

5. BOOK LISTS: This is the database in, which the availability of books and other details of each book are stored. The customer and displayed a webpage filter as per this data requested. 3. COLLABORATION DIAGRAM: A collaboration diagram is an interaction diagram that emphasizes the structural organization of the objects that send and receive messages. It shows set of objects, links among those objects and messages sent and received by those objects. 4. STATE CHART DIAGRAM: A state chart diagram shows a state machine, consisting of states, transitions, events and activities. It emphasizes the events ordered behavior of an object, which is especially useful in modeling reactive systems. 5. ACTIVITY DIAGRAM: An activity diagram shows the flow from activity to activity within a system. It emphasizes the flow of control among objects.

Pa ge No:-

ELLENKI COLLEGE OF ENGG&TECH


Name: Date: Roll:-

Pa ge No:-

ELLENKI COLLEGE OF ENGG&TECH


Name: Date: Roll:-

Pa ge No:-

ELLENKI COLLEGE OF ENGG&TECH


Name: Date: Roll:-

Pa ge No:-

ELLENKI COLLEGE OF ENGG&TECH


Name: Date: Roll:-

Pa ge No:-

ELLENKI COLLEGE OF ENGG&TECH


Name: Date: Roll:-

Pa ge No:-

ELLENKI COLLEGE OF ENGG&TECH


Name: Date: Roll:-

Pa ge No:-

You might also like