You are on page 1of 13

Online Banking System

Tim Mckay
Monique Casbeer
Zhong Ziyue
Requirements

• Checking balances function for users


• Internal money transfer to the accounts within the same ba
nking system
• External money transfer to an account which belongs to an
external banking system
• Provide a transaction database for account activities analy
sis
• Provide a secure login function for the system
Patterns

• MVC(Model View Controller)


• Proxy
• Factory
• Facade
• Adaptor
Purpose of Facade

• Hides Complexity while Allowing Access

• Provides Interface

• Easy Maintenance
Purpose of Adapter

• Components Reusing

• Apply A Class to Different Interface


Execution
Strengths
• MVC: Seperate the view and models, also
has a controllor for them.
• Factory: Class Instantiation Management
• Façade: Simple interface encapsulates the
complex subsystem.
• Proxy: Safe and easy for maintenance
• Adapter: Reuse a exist component, apply
a class to a different interface.
Weakness

• MVC: Need configuration, complicated for locat


ing code
• Factory: Complicated for maintainance
• Façade: Different than Travis’s Factory
• Proxy: Slow down the speed
• Adapter: Break the class hierarchy
Questions?
Thank you!

You might also like