What is the adhesive code?
Glue Code is a computer code that connects programs or software components that would not otherwise be compatible. This code usually does not serve purpose such as calculation or calculation, but serves exclusively as proxy between two incompatible pieces of software. Object -oriented programming languages can be connected to scripting languages, two object -oriented languages can be connected together or large pieces in the same language can be united by this code.
Although the adhesive code can be used to transmit information between computer languages, it is not necessary to do so. In general, one piece of code allows you to call the functions in the other or allows you to pass on small data between code blocks. Some adhesive code generators allow you to transfer data structures specified by users between code modules, but not all of them yes. Moving large pieces of data via the connection code may not always be reliable. The uterus, often contains code pieces specific to each modul connected code. For example, to connect C ++ with Java, a generated code can include both C ++ file and Java file. Until no major changes in the structures of the connected code modules have been made, the generated files may not be changed, but they may need to be updated during development. Generated files, such as these, rarely need to change or maintain a developer and never an end user.
adhesive code can be used to connect code modules of any size, from small features to large library. Depending on the amount of proxy code generated for this purpose, there may be a significant amount of code bloating and overhead, so the connection of small code pieces in this way may not always be ideal. When synchronizing calls to large libraries or merging of large code storage on the other side of a small amount code adhesive can be an invaluable way to bring functionality where it wouldNak could be available.
DataData expandable language (XML) is sometimes wrong with the adhesive code, but the purpose of each is quite different. XML is a brand, that is, it adds organizational and descriptive information to existing data for easier interpretation. Both can serve as proxy to move information, but XML is static and much more limited in terms of data that can transmit between code blocks. XML anots and classifies data, while the adhesive code allows you to move and handle data.