Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

II. The Patterns > 10. Usability Patterns

10. Usability Patterns

Although coupling is an important measurement, cohesion is equally important. It’s easy to create and manage module dependencies if I throw all of my classes in a couple of JAR files. But in doing so, I’ve introduced a maintenance nightmare. In this chapter, we’ll see patterns that help ensure our modules are cohesive units that balance reuse with use. It’s interesting that you’ll find some contention between the dependency patterns and usability patterns. I talk about this contention, what you can do to manage it, and when you want to do it. The usability patterns include the following:

Published Interface: Makes a module’s published interface well known.

External Configuration: Modules should be externally configurable.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint