The most popular and comprehensive Open Source ECM platform
By Dick Weisinger
Glue Code is code that connects programs and software components. It can move results, notifications, and data back and forth between islands of code. Glue is what lets you hook up programs and architectures that are fundamentally different to each other so that communication between them can flow. Glue facilitates the wrappers around complex libraries and can provides access to different programming languages and enables efficient and rapid prototyping.
Marcel Weiher, software engineer at InformIT, notes that perhaps the most elegant glue code ever created is the Linux pipe character (‘|’). This one-character command-line utility enables data to flow easily between core Linux capabilities. The conciseness of this one-character command, and also its flexibility and capability make it stand apart from a lot of other glue-code solutions.
Forrester says that “today, about 70% of the work is all about the development of glue code and wiring things together. From the UI front end to the back end of apps, as well as in the integration layer, there are lots of repetitive tasks, design patterns, and custom code written. And what’s worse, many teams develop the same code over and over repetitively. The creative business logic often represents the smallest effort.”
Weiher blames excessive use of and poor design of glue code as a pathway to bloated software. Weiher said that “if you have to write even a little custom code every time you connect two modules, you will be in quadratic complexity, meaning that as your features grow your glue code will overwhelm the core functionality. And you will only notice this when it’s far too late to do anything about it, because the initial growth rate will be low.” He points to glue as the reason why the software code base of even simple programs often balloon into thousands and millions of lines of code.
But the flip side to the case against bloated glue code is that the use of glue code typically saves the need to rewrite thousands or even millions of lines of code because glue code enables the connection to and leveraging of otherwise incompatible and unusable software component capabilities. With glue, there is no need to rewrite and retest core capabilities.
The point is not to get rid of glue code — glue serves an important purpose. But the goal of improving glue code and making the wiring of software components more efficient, more compact, and more elegant is definitely a worthwhile endeavor. One important use of glue will increasingly be with low-code and no-code software platforms that auto-generate glue code for rapid application development — being able to create efficient glue code will make these platforms shine.
Your email address will not be published.


two × four =

document.getElementById( “ak_js_1” ).setAttribute( “value”, ( new Date() ).getTime() );
This blog site is accessed from the website of Formtek, Inc. All visitors to or users of this blog site are subject to the terms and conditions and privacy policy that govern the Formtek website, links for which are provided above.
Some of the individuals posting to this blog site, including the moderators, work for Formtek. Postings by these individuals are the personal opinions of these individuals, not of Formtek. Their posted content is provided for informational purposes only and is not meant to be an endorsement or representation by Formtek or any other party. Postings to this blog site may be outdated, invalid or inaccurate by the time you read them. Individuals posting to this blog site make no statements, representations or warranties as to the timing, validity, accuracy or reliability of their postings.
This blog site may contain links to third party sites. Access to any third party site linked to this blog site is at your own risk. None of Formtek, the blog site moderator(s) and the individuals posting on this blog site that work for Formtek is responsible for the timing, validity, accuracy or reliability of any information, data, opinions, advice or statements made on these third party sites. These links are provided merely as a convenience and do not imply any endorsement.
Postings to this blog site are available to the public. You should not post, link to or otherwise upload any information considered confidential to this blog site. All postings to this blog site are moderated. Postings will appear if and when they are approved by the moderator. Notwithstanding any approval by the moderator, by posting information to this blog site, you agree to be solely responsible for the information you post, link to, or otherwise upload to the blog site. You agree to release Formtek from any liability related to that information or to your use of the blog site. You grant Formtek a worldwide, perpetual, irrevocable, royalty-free, fully-paid, and transferable (including rights to sublicense) right to exercise all copyright, publicity, and moral rights with respect to any information you post, link to or otherwise upload to this blog site.


Leave a Reply