Glue code
Source code that serves solely to "adapt" different parts of code From Wikipedia, the free encyclopedia
In computer programming, glue code is code that allows components to interoperate that otherwise are incompatible. The adapter pattern describes glue code as a software design pattern.
![]() | This article includes a list of general references, but it lacks sufficient corresponding inline citations. (June 2016) |
Glue code describes language bindings or foreign function interfaces such as the Java Native Interface (JNI).
Glue code may be written to access existing libraries, map objects to a database using object-relational mapping, or integrate commercial off-the-shelf programs.
Glue code may be written in the same language as the code it is gluing together, or in a separate glue language.
Glue code can be key to rapid prototyping.
See also
References
Wikiwand - on
Seamless Wikipedia browsing. On steroids.