Download presentation
Presentation is loading. Please wait.
Published byLeona Rogers Modified over 9 years ago
1
Term Project Rental Shop 2009.6.10 Hoon Lee Department of Logistics Information Technology
2
목차 0.Overview 1.DFD 2.ERD 3.GUI 4.Procedure 5.Reference 2
3
0. Overview Rental Shop –Rental shop handles DVDs. –This system supports rental policy and delay policy to decide a fee/charge. Tools –Oracle –Ruby on Rails –MS Office 3
4
1. DFD Object and Function 4 Operator CUSTOMER PRODUCT System LENT_PRODUCT LEND_POLICY DELAY_POLICY WATCH_GRADE C/R/U/D 1.1
5
1. DFD Context diagram 5 Operator Rental Shop System Read a cstm/prod Create a cstm/prod List cstm/prod Update a cstm/prod Delete a cstm/prod Operator List lends Lend a prod Read a lend Return a prod Update a lend
6
1. DFD Level 1, Product maintenance service 6 Operator List Make a list 1.1 PRODUCT Make a details 1.2 Create an item 1.3 Update an item 1.4 Delete an item 1.5 Read Create Update Delete prod
7
1. DFD Level 1, Customer maintenance service 7 Operator List Make a list 2.1 CUSTOMER Make a details 2.2 Create an item 2.3 Update an item 2.4 Delete an item 2.5 Read Create Update Delete cust
8
1. DFD Level 1, Product lend service 8 Operator List lends Make lends 3.1 LENT_PRODUCT Make a details 3.2 Update a lend 3.4 Lend a prod 3.3 Return a prod 3.5 Read a lend Update a lend Lend a prod Return a lend lend
9
1. DFD Level 2, Function to lend a product 9 Operator LENT_PRODUCT Lend a prod 3.3 cust lend LEND_POLICY CUSTOMER PRODUCT Read cust & prod 3.3.1 Check & Calculate 3.3.2 Create an item 3.3.3 prod Lend a prod Check Create WATCH_GRADE grade Reject prod policy lend
10
1. DFD Level 2, Function to return a product 10 Operator LENT_PRODUCT Return a prod 3.5 DELAY_POLICY CUSTOMER PRODUCT Read cust & prod... 3.5.1 Calculate a price 3.5.2 Update an item 3.5.3 Return a lend Update Calculate cust policy lend prod lend
11
2. ERD ERD 11
12
3. Procedure Stored procedure –Is lend? IF (CURRENT_DATE - PUBLISH_DATE + 1) <= UNDER_DAYS THEN … ENDIF IF RETURN_DATE IS NOT NULL OR RECORD IS NOT EXIST THEN … ENDIF –Lend charge LEND_CHARGE = (CURRENT_DATE - PUBLISH_DATE + 1) * LEND_RATE –Extra charge for late return EXTRA_CHAGE = (CURRENT_DATE - LEND_DATE + 1 - OVER_DAYS) * LEND_PRICE * EXTRA_RATE 12
13
4. GUI Web Browser – List (sample) 13
14
4. GUI Web Browser – Create a new record (sample) 14
15
4. GUI Web Browser – Edit a record (sample) 15
16
5. Reference Ruby Programming Language –http://www.ruby-lang.org/en/ Ruby on Rails –http://rubyonrails.org/ RubyForge – Project Library –http://rubyforge.org/ Ruby Central –http://www.rubycentral.com/ Ruby on Rails on Oracle: A Simple Tutorial –http://www.oracle.com/technology/pub/articles/haefel-oracle- ruby.html Oracle Database Software Downloads –http://www.oracle.com/technology/software/products/database/in dex.html 16
17
Thank You!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.