Order Processing.

Slides:



Advertisements
Similar presentations
Oracle Object-Relational Model. - Structures : tables, views, indexes, etc. - Operations : actions that manipulate data stored in structures - Integrity.
Advertisements

Databases Using Information. What is a Database? A database package allows the user to organise and store information. This information can be sorted,
09/04/2015Unit 2 (b) Back-Office processes Unit 2 Assessment Criteria (b) 10 marks.
Employee database: Conceptual Schema in ERD Chapter 3, page 62.
The Database Approach u Emphasizes the integration of data across the organization.
Database Introduction
- 1 - Tables Query (View) FormReport Database Application Basic Database Objects Relationships among Access Database Objects A saved SELECT query is officially.
CSCI 150 Database Applications Chapter 1 – Getting Started.
Getting Started (Excerpts) Chapter One DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
Asper School of Business University of Manitoba Systems Analysis & Design Instructor: Bob Travica System sequence diagram Updated: 2014.
Data Model Examples USER SPECIFICATIONS.
DATA, DATABASES, AND QUERIES Managing Data in Relational Databases CS1100Microsoft Access - Introduction1.
CIS 270—App Dev II Big Java Chapter 22 Relational Databases.
Your on-line connection to Ferraz Shawmut; Getting Started Login / out Contact Us Home Page, Account Inquiry My E-Account Account Status Ordering Options.
C H A P T E R 4 Designing Database E-Commerce Hassanin M. Al-Barhamtoshy
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
Introduction to Accounting Information Systems
Your Name Here See Page Notes for Info about Hyperlinks.
MIS 301 Information Systems in Organizations Dave Salisbury ( )
MIS 301 Information Systems in Organizations Dave Salisbury ( )
IT354 Database Design Seminar 5: May 19, 2011 Physical Database Design Entity-Relationship Diagrams.
Ventsislav Popov Crossroad Ltd.. 1. ASP.NET Data Source Controls  SqlDataSource  EntityDataSource  ObjectDataSource 2. Entity Data Model and ADO.NET.
Near East University Department of Computer Engineering E-COMMERCE FOR LAPTOPS SELLING COMPANY Abdul Halim Abu Kuwaik
The Pencil Company Team Slave to the WWW. Team Members  Ashley Petrinec – Co-lead of documentation and design  Jennifer Williams – Co-lead of documentation.
IMS 4212: Introduction to Data Modeling 1 Dr. Lawrence West, Management Dept., University of Central Florida Introduction to Data Modeling—Topics.
Welcome! User Conference 2010 Presenter: Nick Cascone.
INFO1408 Database Design Concepts Week 15: Introduction to Database Management Systems.
1 ICOM 5016 – Introduction to Database System Project # 1 Dr. Manuel Rodriguez-Martinez Department of Electrical and Computer Engineering University of.
Mcommerce app Small and Medium Business. Home Screen Retrieve products from Database for Viewing product Users can view the Best Deal of the week/Current.
DESIGN PART 2: OBJECT-LEVEL SEQUENCE DIAGRAMS WITH AN EXAMPLE OF COMPOSITION BTS430 Systems Analysis and Design using UML.
Exam 1 Review. Bureau of Labor Statistics, U.S. Department of Labor, Occupational Outlook Handbook, Edition, Computer and Information Systems.
Introduction Database integral part of our day to day life Collection of related database Database Management System : software managing and controlling.
How I spend my money Software architecture course Mohan, Maxim.
 Empowers to your customer  Product Rating and its Management in Ecommerce Framework  Product Reviews and Management: Collecting customer opinion about.
CSE300 EAIusing EJB & XML CSE Enterprise Application Integration Using EJB and XML by Prithwis Sett Mumtaz Lohawala Nayana Paranjape.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Normalization Hour1,2 Presented & Modified by Mahmoud Rafeek Alfarra.
CSCI 6962: Server-side Design and Programming Shopping Carts and Databases.
Business Analyst Web App and ArcGIS Online Anna Hou Julia Holtzclaw.
CompSci 280 S Introduction to Software Development
Order Database – ER Diagram
Let try to identify the conectivity of these entity relationship
Database Development Lifecycle
Chapter 1 Introduction.
Order Database – ER Diagram
MIS2502: Data Analytics Relational Data Modeling
Database Requirements and Design
Chapter 12 Information Systems.
Order Database – ER Diagram
Order Database – ER Diagram
Example Question–Is this relation Well Structured? Student
Adam Hooker Director of Accounting Laurel County Board of Education
Relationships among Access Database Objects
How to Modify a Requisition Using Owl Link
Data Solutions- Karm Upadhyay Zoheb Khan Swati Shukla
Use Case Modeling - techniques for detailing use cases
Data Solutions- Karm Upadhyay Zoheb Khan Swati Shukla
MIS2502: Data Analytics Converting ERDs to Schemas
POINT OF SALE.
Customer Order Entry Database Version: 1.1 by: R. Holowczak
Mail Order.
Order Database – ER Diagram
Accessing Your MySQL Database from the Web with PHP (Ch 11)
CHAPTER 4: LOGICAL DATABASE DESIGN AND THE RELATIONAL MODEL
Order Database – ER Diagram
Topic 12 Lesson 1 – Data and databases
Introduction to Database Design
Grocery Store Outline csc242 – web programming.
Data Access Layer (Con’t) (Overview)
Database Management system
MIS2502: Data Analytics Relational Data Modeling 3
Presentation transcript:

Order Processing

Requirements An employee takes orders from customers Each purchase may contain multiple products System maintains customer information System maintains product information System keeps track of purchase orders

Use Cases Add/delete/update/view customers Add/delete/update/view products Take purchase orders List/view purchase orders Delete purchase orders Update purchase orders

The Database - ERD Name Address Name Description Id Id Product Customer 1 1 Price Places Is_for PO Id N 1 N Purchase Order contains Line_Item Order_date Total_Amount Line# Quantity

The Database - Schema customer customer_id name address purchase_order po_id Customer_id order_date Total_amount line_item id po_id product_id quantity product product_id name description price

System Architecture Database Take purchase order Delete purchase order OrderManagement Take purchase order Delete purchase order Update purchase order View purchase order CustomerManagement ProductManagement Add customer Delete customer Update customer View customer Add product Delete product Update product View product Database

System Architecture Each package is responsible for CRUD on a set of tightly related business entities E.g., Customers, customer groups (VIP, etc), and customer credit card info as a package Use cases are allocated to packages and each package contains related use cases E.g., Add customer including his group and credit card info, update customer, delete customer, and query customer in CustomerManagemant Each package has a Manager which takes cares of the business logic of the use cases. E.g., OrderManager would check if an order contains more than the limit of the number of items or not. A Design Pattern called Service Layer may be used to package managers’ operations as one class – ServiceLayer OrderProcessing sample app employs this approach.

System Architecture Each use case is mapped to a Presenter which is responsible for the presentation logic of the use case. E.g., TakeOrderPresenter is responsible for creating a new purchase order and saving the order in the DB Each Presenter may employ multiple Views each of which is a UI. E.g., TakeOrderPresenter uses SelectCustomerView to select a customer for the order, SelectOrderItemsView to collect order items, finally ConfirmOrderView to display the order info to the user.

System Architecture Database entity OrderManagement Customer Product PuchaseOrder OrderItem OrderManagerUI.java takeOrder() viewOrder() updateOrder() db deleteOrder() CustomerDao ProductDao PuchaseOrderDao OrderItemDao MailOrderDatabase PurchaseOrderManager Depends on A B Database

Architecture – Service Layer OrderManagement CustomerManagement OrderManagerUI.java ProductManagement server ServiceLayer (Façade) PurchaseOrderManager CustomerManager ProductManager db CustomerDao PurchaseOrderDao OrderItemDao ProductDao MailOrderDatabase Database

Detailed Design: db & entity Customer Product Purchase Order Order Item Customer_id Name Address Product_id Name Description Price Po_id Customer_id Order_date Po_id Product_id Quantity CustomerDao ProductDao PurchaseOrderDao OrderItemDao Insert() Delete() Update() getCustomerById() getAllCustomers() Insert() Delete() Update() getProductById() getAllProducts() Insert() Delete() Update() getPOById() getAllPOs() Insert() Delete() Update() getItemByItemId() getItemsByOrderId() MailOrderDatabase getConnection() Close()

Detailed Design: Startup AppController Main() HomeView.instance().display() OrderManagement HomeView displayMenu() Take Order OrderManagerUI takeOrderUI() viewOrder() View Order CustomerManagement AppContext Static getInstance() getDbConnection() ProductManagement