Download presentation
Presentation is loading. Please wait.
Published byRoss Terry Modified over 8 years ago
1
CP3110 – Assignment 2 Bramby’s Bakery Supply chain management software
2
Introduction Problem definition: – Our clients runs/owns a bakery that uses minimal information technologies. At present, the bakery’s ordering system is done via phone call and the quantity for each item ordered is estimated. – The products created each week are based on stock on hand. Every week the same quantity is ordered and therefore the same products made, which often results in product waste, failure to supply customers with specific products and ultimately, money loss.
3
Introduction Problem solution: – We have created supply chain management software that allows the bakery to not only keep track of inventory, but can order the appropriate item and quantity the click of a button. The program will also recommend items to order based on common products made each week.
4
allan shit
5
Class to be improved MainUI class (GUI) MainUI class required the UI to call a Use Case and then the Use Case to then call the UI again to set the Item values (Name, Notes, Quantity) Removed loadTo() and set Item attributes when the item is created.
6
Class to be improved (cont.) Image of LoadTo() And Image of createItemButton()
7
Error Handling Error handling was present in both the Data Access Object(DAO) and the User Interface. The User Interface should be doing the error handling not the DAO. Image of DAO error handling
8
Error Handling (cont.) Image of view error handling
9
Issues with variables whoAmI - Not very descriptive and may confuse future developers. An appropriate name may be UseCaseType. The method loadTo() has been since removed. Image of loadTo()
10
Issues with variables (cont.) Blank – It is a blank label as you can tell, but why? There should not be a need for a blank label. If it was required then the name should be more descriptive such as emptyLabelForName for example. Image of blank..
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.