Home
Archaeology
Astronomy
Biology
Books
Business
Chemistry
Coins
Computers
Conservation
Cooking
Earth Science
Farming
Economics
Finance
Games
Geography
Health Science
History by Date
Hobbies
Law
Mathematics
Medicine
Military Technology
Movies
Music
People
Pharmacology
Philosophy
Physics
Psychology
Religion
Science History
Technology
Sports
Television
Video
Visual Art
Privacy
Contact Us



Advert:Computers

Interface pattern

In computer science, the interface pattern isn't a specific pattern amongst design patternss. It's a general method for structuring programs so that they're simpler to understand. In general, an interface is a class which provides the programmer with a simpler or more program-specific way of accessing other classes.

An interface could contain a set of objects and provide simpler, higher-level functions to programmer (for example, the facade pattern), it could provide a cleaner or more specific way of using complicated classes (a "wrapper" class), it could be used to act as "glue" between two different API's (the adapter pattern), and more!

Other kinds of interface patterns are: delegation pattern, composite pattern, and bridge pattern.


Copyright 2004. All rights reserved.