Misplaced Pages

Glue code

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Source code that serves solely to "adapt" different parts of code
This article includes a list of general references, but it lacks sufficient corresponding inline citations. Please help to improve this article by introducing more precise citations. (June 2016) (Learn how and when to remove this message)

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.

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

Stub icon

This computer-programming-related article is a stub. You can help Misplaced Pages by expanding it.

Categories: