DebugWare Patterns (Part 2)
Next pattern is called
Tool Façade (or Tool Facade)
It is used when there is a tool with a cumbersome interface like command line with many options and there is a need for a better and easier to use interface, for example, GUI. This can be illustrated on the following UML component diagram:
Excellent example of this pattern is:
designed as a GUI wrapper around command line tool AddPrinter. Adding the powerful GUI interface allowed to extend its functionality and even find new domains, like testing, where the tool can be used. Excellent information about this tool can be found in the article:
Understanding and using Citrix StressPrinters
- Dmitry Vostokov @ DumpAnalysis.org -
July 30th, 2008 at 6:34 pm
New version of StressPrinters tool is available:
StressPrinters 1.3.2
August 10th, 2008 at 3:47 pm
[…] or when CUI interface was developed earlier and we don’t want to touch tool code (see Tool Façade pattern). Therefore this common pattern is called Dual Interface. Some tool […]
October 30th, 2009 at 4:23 pm
[…] problem. Would we start with GUI? Most tools are command line tools and we therefore choose Tool Façade pattern to decouple GUI from […]
May 6th, 2010 at 5:09 pm
[…] recent news about StressPrinters tool designed according to Tool Façade DebugWare […]