6 of 26
Implementing a Tree Component
uTree component is an excellent use case to examine
ØPowerful navigational aide
ØIncludes a lot of functionality 
ØCan be broken down into simple discrete actions (expanding a node, selecting a node, and right-clicking a node) 
uDevelop a service to support each functionality
ØAllows tree component to communicate with the system back-end and perform the appropriate actions. 
uDefine tree component as an interface instead of as an instance of an implementation in another framework
ØProvides flexibility to determine the look-and-feel of the front-end
ØAllows selection of appropriate architecture for front-end/middle tier/back-end. 
ØAbility to plug in substitutes for each tier without refactoring entire system. 
ØOnly some core components need to be modified to work with substituted section.