←Older revision | Revision as of 10:14, 9 May 2010 | ||
Line 5: | Line 5: | ||
Just like a [[wikipedia::teleport|teleport]] that allows to transfer people between two distinct locations in a hyperspace a [[Teleinterface]] transfers information between distant [[API]] parties without being spotted meanwhile. | Just like a [[wikipedia::teleport|teleport]] that allows to transfer people between two distinct locations in a hyperspace a [[Teleinterface]] transfers information between distant [[API]] parties without being spotted meanwhile. | ||
- | [[Lookup]] is one possible way to realize a [[Teleinterface]]. [[MagicalStrings]] are other. Both of these cases use some form of ''opaque container'' that flows through the [[API]], without being interpreted. | + | [[Lookup]] is one possible way to realize a [[Teleinterface]]. [[MagicalStrings]] are other. Both of these cases use some form of ''opaque container'' that flows through the [[API]], without being interpreted. In case of [[Lookup]] the container is fully opaque - e.g. the [[API]] itself cannot (without a reflection) access the objects stored in it. In case of [[MagicalStrings]] the content of the container can be seen, printed, somehow processed, but still proper understanding of the [[MagicalStrings]] remains beyond capabilities of the [[API]] itself. It has to be left to the implementation on the other side of the [[Teleinterface]]. |
[[Category:APIDesignPatterns]] | [[Category:APIDesignPatterns]] | ||
[[Category:APIDesignPatterns:Meta]] | [[Category:APIDesignPatterns:Meta]] |