The ability to build systems out of reusable and interchangeable parts has been growing for the past 30 years. We are finally getting there with cloud. Expect big changes in the near future. Credit: Studio Romantic / Shutterstock It was 1991, and I was sitting at yet another software development conference listening to a presentation on a new concept: developing applications from reusable and interchangeable parts or component-based development. The presenter made compelling comparisons with the manufacturing industry. We don’t build cars from scratch, building each part as we manufacture the car. We build cars from prebuilt components, such as steering systems, engines, drivetrains, and other parts that are often used within other vehicles, including other types of cars and trucks. It made sense. And I, a C coder at the time, was building everything mostly from scratch. Why couldn’t I build software the same way we manufacture cars? Component-based development offers a structured approach to building software systems by breaking them down into reusable, self-contained modules known as components. This was a good idea, at least conceptually. However, in practice, it was far more difficult to do. There was no standard as to what the components should be as a technology, and common interfaces were nonexistent. Perhaps I just needed to wait 30 years. A good idea evolves We did chase this idea. Software development has witnessed a slow but significant shift towards component-based development methodologies, driven by the need for modularity, reusability, and increased efficiency. This happened within many technology trends, including object-oriented development, distributed object-based development, service-oriented architecture, and now cloud computing, containers, and specific cloud services that can be leveraged on demand, such as industry clouds. First, let’s consider a bit of history, which I think is an important part of the story. Modularity has always been a desirable characteristic in software development, even when I became a new coder in the 1980s. In the early days, developers aimed to break down applications into logical modules to improve code organization and maintainability. Modules were typically designed to encapsulate specific functionalities and were often built as part of monolithic applications. We only thought about components and modularity within a single application domain. This was core to structured programming, which was trendy at the time. Component-based development took modularity to the next level by introducing the concept of reusable software components. Components encapsulated both functionality and data, providing well-defined interfaces for interaction with other components or the application that acted as a container (not containers as they are understood today). In the 1990s, the rise of component-based development frameworks, such as JavaBeans, COM/DCOM, and CORBA, was a reaction to the industry focusing on component-based development and further accelerating the adoption of component-based development. These “frameworks” provided standardized methodologies and tools for building, integrating, and reusing components across different platforms and languages. Developers could now create components that adhered to platform-agnostic interfaces, facilitating interoperability and code reuse through the execution of reusable behaviors accessible using standard APIs. Although there was a huge amount of interest in component-based development and emerging component standards such as CORBA, this technology largely became a stepping stone to other things that worked better. Others may have had a more positive experience, but I found that building applications using these standards was more costly and much more difficult to deploy and maintain. Epic fail so far. Component-based architectures, such as service-oriented architecture and microservices architecture, emerged as a response to the need for highly scalable and loosely coupled systems. These architectures rely on independent, self-contained components that communicate through well-defined interfaces. By decomposing complex systems into smaller, autonomous components, organizations could indeed achieve agility, scalability, and resilience using SOA approaches. This was really the jumping off point to cloud computing where we are today. “Are we there yet?” Today the evolution of component-based development has been fueled by advances in containerization and cloud-native technologies. I won’t dig deep into those now, but I’ve covered this a great deal. Containerization platforms such as Docker and Kubernetes provide a standardized and portable runtime environment for components, enabling easy deployment, scaling, and management. Cloud-native development further extends the concept of components by incorporating cloud services, serverless functions, and APIs as building blocks for component-based applications. This seems to work much better than previous concepts, but it’s missing a core element: having an inventory of specific and useful components. That may be changing, and I’m now, in 2023, calling out the evolution of components that we’ll likely see explode in 2024. I’m seeing a huge amount of interest and investment in industry-specific cloud services (industry clouds), which are component analogs. You can leverage sets of supply chain optimization services specifically built for furniture manufacturers, or a derivative trading system that can be used as microservices specific to banks in a particular country. Success now comes from services that are easy to access, use well-defined interfaces, are offered as a service, and most importantly, provide useful services that speed up productivity and innovation. Component-based development has undergone a remarkable evolution from the early days of modularity to the current era of reusable and scalable software components that are true services. The focus on modularity, reusability, and well-defined interfaces has paved the way to technology that finally works. Perhaps we can now build systems like we build cars—and hopefully even better. Related content feature 14 great preprocessors for developers who love to code Sometimes it seems like the rules of programming are designed to make coding a chore. Here are 14 ways preprocessors can help make software development fun again. By Peter Wayner Nov 18, 2024 10 mins Development Tools Software Development feature Designing the APIs that accidentally power businesses Well-designed APIs, even those often-neglected internal APIs, make developers more productive and businesses more agile. By Jean Yang Nov 18, 2024 6 mins APIs Software Development news Spin 3.0 supports polyglot development using Wasm components Fermyon’s open source framework for building server-side WebAssembly apps allows developers to compose apps from components created with different languages. By Paul Krill Nov 18, 2024 2 mins Microservices Serverless Computing Development Libraries and Frameworks news Go language evolving for future hardware, AI workloads The Go team is working to adapt Go to large multicore systems, the latest hardware instructions, and the needs of developers of large-scale AI systems. By Paul Krill Nov 15, 2024 3 mins Google Go Generative AI Programming Languages Resources Videos