Paketname | libclass-adapter-perl |
Beschreibung | Perl implementation of the "Adapter" Design Pattern |
Archiv/Repository | Offizielles Ubuntu Archiv lucid (universe) |
Version | 1.06-1 |
Sektion | universe/perl |
Priorität | optional |
Installierte Größe | 96 Byte |
Hängt ab von | perl |
Empfohlene Pakete | |
Paketbetreuer | Ubuntu Developers |
Quelle | |
Paketgröße | 21494 Byte |
Prüfsumme MD5 | 9701bd161f73c6b9dbb23808407059c9 |
Prüfsumme SHA1 | ae6ac296b2694f05a36ef8659c0528b214ce4e3d |
Prüfsumme SHA256 | b177e4888e637fb29038efcd1c0e20e2bd46ffdb29a6be46d02251904953a0ba |
Link zum Herunterladen | libclass-adapter-perl_1.06-1_all.deb |
Ausführliche Beschreibung | The Class::Adapter class is intended as an abstract base class for creating
any sort of class or object that follows the Adapter pattern.
.
The term Adapter refers to a "Design Pattern" of the same name, from the
famous "Gang of Four" book "Design Patterns". Although their original
implementation was designed for Java and similar single-inheritance
strictly-typed langauge, the situation for which it applies is still valid.
.
An Adapter in this Perl sense of the term is when a class is created to
achieve by composition (objects containing other object) something that can't
be achieved by inheritance (sub-classing).
.
This is similar to the Decorator pattern, but is intended to be applied on a
class-by-class basis, as opposed to being able to be applied one object at a
time, as is the case with the Decorator pattern.
|