組件化:
組件化的定義:
Component-based software engineering (CBSE), also known as component-based development (CBD), is a branch of software engineering that emphasizes the separation of concerns in respect of the wide-ranging functionality available throughout a given software system. It is a reuse-based approach to defining, implementing and composing loosely coupled independent components into systems. This practice aims to bring about an equally wide-ranging degree of benefits in both the short-term and the long-term for the software itself and for organizations that sponsor such software.
翻譯過(guò)來(lái)是:
基于組件的軟件工程 (CBSE) 也稱為基于組件的發(fā)展 (CBD),是軟件工程的一個(gè)分支,它強(qiáng)調(diào)在給定軟件系統(tǒng)中提供的廣泛功能方面的關(guān)注點(diǎn)分離。它是一種基于重用的方法,用于定義、實(shí)現(xiàn)和組合松散耦合的獨(dú)立組件到系統(tǒng)中。這種做法旨在為軟件本身和贊助此類軟件的組織在短期和長(zhǎng)期帶來(lái)同樣廣泛的利益。
簡(jiǎn)單來(lái)說(shuō)就是:組件化就是基于可重用為目的的,將一個(gè)大的軟件系統(tǒng)按照分離關(guān)注點(diǎn)的形式,拆分多個(gè)獨(dú)立的組件,減少耦合。
模塊化:
模塊化定義:
Modular programming is a software design technique that emphasizes separating the functionality of a program into independent, interchangeable modules, such that each contains everything necessary to execute only one aspect of the desired functionality.
翻譯過(guò)來(lái)是:
模塊化編程是一種軟件設(shè)計(jì)技術(shù),強(qiáng)調(diào)將程序的功能分離為獨(dú)立的可互換模塊,因此每個(gè)模塊都包含僅執(zhí)行所需功能的一個(gè)方面所需的一切。