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.[1][2]

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.[3]

Overview

edit

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.[4]

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.

Considerations

edit
An example of two components in UML: Checkout processes a customer's order, which requires the other one to bill the credit card.

For large-scale systems developed by large teams, a disciplined culture and process is required to achieve the benefits of CBSE.[5] 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.

Applications

edit

CBSE principles are used across multiple domains:

Challenges

edit

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

See also

edit

References

edit
  1. ^ George T. Heineman, William T. Councill (2001). Component-Based Software Engineering: Putting the Pieces Together. Addison-Wesley Professional, Reading 2001 ISBN 0-201-70485-4
  2. ^ Clemens Szyperski, Dominik Gruntz, Stephan Murer (2002). Component Software: Beyond Object-Oriented Programming. 2nd ed. ACM Press - Pearson Educational, London 2002 ISBN 0-201-74572-0
  3. ^ Fundamentals of Software Architecture: An Engineering Approach. O'Reilly Media. 2020. ISBN 978-1492043454.
  4. ^ Crnkovic, Ivica (2001). "Component-based Software Engineering – New Paradigm of Software Development". Software Focus. 2 (3): 127–133. doi:10.1002/swf.45.
  5. ^ Douglas C. Schmidt. "Why Software Reuse has Failed and How to Make It Work for You". Retrieved 14 May 2024.

📚 Artikel Terkait di Wikipedia

Interface (computing)

inheritance Interoperability Inheritance semantics Modular programming Software componentry Virtual inheritance Hookway, B. (2014). "Chapter 1: The Subject of

LAMP (software bundle)

LAMP model has been adapted to other componentry, though typically consisting of free and open-source software. With the growing use of the archetypal

OpenDoc

OpenDoc is a defunct multi-platform software componentry framework standard created by Apple in the 1990s for compound documents, intended as an alternative

Compound document

a software componentry framework, but the idea of software componentry includes several other concepts apart from compound documents, and software components

Brad Cox

partner Tom Love and for his work in software engineering (specifically software reuse) and software componentry. Cox received his Bachelor of Science

List of Mozilla products

language for binding an XML element with its behavior(s). XPCOM - A software componentry model similar to COM. XPConnect - A binding between XPCOM and JavaScript

List of programmers

concept of software componentry, Unix tools (spell, diff, sort, join, graph, speak, tr, etc.) Marshall Kirk McKusick – Berkeley Software Distribution

Douglas McIlroy

His seminal work on software componentization and code reuse makes him a pioneer of component-based software engineering and software product line engineering