Reference articles on history, science, culture and more
Encyclopedia

Component-based software engineering

Engineering focused on building software from reusable components

Component-based software engineering (CBSE), also called component-based development (CBD), is a style of software engineering that aims to construct a software system from components that are loosely coupled and reusable. This emphasizes the separation of concerns among components.

To find the right level of component granularity, software architects have to continuously iterate their component designs with developers. Architects need to take into account user requirements, responsibilities, and architectural characteristics.

01Overview

CBSE grew out of earlier paradigms such as structured programming and object-oriented programming, but it places greater emphasis on building software by assembling and integrating pre-existing components. Unlike objects, which typically encapsulate both data and behavior, components are higher-level constructs that provide well-defined interfaces and can be deployed independently.

Component orientation underlies many modern software frameworks and architectural styles, including service-oriented architecture (SOA), microservices, and widely used frontend frameworks such as React, Angular, and Vue.

02Considerations

For large-scale systems developed by large teams, a disciplined culture and process is required to achieve the benefits of CBSE. Third-party components are often utilized in large systems, raising issues of integration, licensing, and software quality.

The system can be designed visually with the Unified Modeling Language (UML). Each component is shown as a rectangle, and an interface is shown as a lollipop to indicate a provided interface and as a socket to indicate consumption of an interface. This graphical representation helps clarify the relationships and dependencies between components.

Component-based usability testing is applied when components interact directly with the end user, ensuring both functionality and user experience are preserved when components are reused or replaced.

03Applications

CBSE principles are used across multiple domains:

04Challenges

While component-based development improves maintainability and reusability, it introduces challenges such as:

Watch videos about Component-based software engineeringExplainers and documentaries on YouTube (opens in a new tab)

Sources and credits

This article is adapted from the Wikipedia article Component-based software engineering, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.

Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.