component-based code

noun
UK /kəmˈpəʊnənt beɪst kəʊd/
US /kəmˈpoʊnənt beɪst koʊd/

Code made of small parts that each do one job.

The game was built with component-based code, so each character, sound, and button is its own little piece.


OTHER MEANINGS

2. A way of writing software where separate pieces can be swapped or reused easily.

With component-based code, the team replaced the login box without touching the rest of the app.

3. A style of web development where pages are assembled from independent parts.

Their website uses component-based code, so the header and footer appear on every page automatically.

4. Programming that treats each feature as a self-contained unit.

The robot's movements come from component-based code, letting engineers test each joint separately.