FRAMEWORKS AND REUSE What is “Framework”? A component like object-oriented reuse technique. What is a “pattern”? Pattern= a problem + the solution context+ the solution in other words, Pattern = a technique to solve a problem + cost + benefits Framework = Component + Pattern Author of the paper: Ralph E. Johnson
Framework examples A framework is reusable design of all or parts of the system. Framework Examples: • OLE • OpenDoc • Java AWT • Java Beans
Main features of a “Framework” A “Framework” has • Component like architecture • Standard interfaces • Customizable architecture • capability to create new component # creating template, component specification • Capability of creation of “design reuse” • Expressed in OO programming languages
Designing a “Framework” Designing a “Framework” is like designing a programming language, except that the only concrete syntax is the one used to implement the “Framework”. A “Framework” consists of many “Patterns”.
Advantages of “Framework” • Saving development time. • Saving development money. • Helps companies for “time to market” for a product.
Drawbacks of Framework • Difficult to learn. • Hard to develop. • Require longer training for user. • Require better documentation. • Costly to develop.