관리 메뉴

IT 컴퓨터공학 자료실

Interface Driven Programming에 대해 본문

etc.. 기타 카테고리 2/영어 번역 & 일본어 번역

Interface Driven Programming에 대해

윤맨1 2015. 7. 14. 17:25

Interface-based programming is a concept that has a close relationship with Modular programming and Object-Oriented Programming.

 

Interface-based programming은 모듈러 프로그래밍과 객체지향프로그래밍과 유사한 개념이다.

 

Modular Programming defines the application as a collection of intercoupled modules. This increases the modularity of the application and hence its maintainability. The total system complexity is greatly reduced. Interface Based Programming adds more to modular Programming in that it insists that Interfaces are to be added to these modules. The entire system is thus viewed as Components and the interfaces that helps them to coact.

 

모듈러 프로그래밍은 프로그램을 모듈의 내부적인 연결들의 집합으로 정의한다. 모듈러 프로그래밍은 프로그램의 여러 개의 개별 단위로 존재할 수 있게 하여 유지보수를 잘 할 수 있게 만들어준다. 프로그램의 전체적인 복잡성은 현저히 줄어들게 되는 것이다. Interface-based programming은 모듈러 프로그래밍에 다른 요소를 좀 더 추가한 것으로, 이러한 모듈 구조 방식에 인터페이스라는 요소가 추가된 형태를 의미한다.

 

This is particularly convenient when third parties develop additional components for the established system. They just have to develop components that satisfy the interface specified by the parent application vendor. This is somewhat like a mobile phone manufacturer specifying a Mobile Charger Interface and third parties making their own Mobile Phone Chargers, adhering to these standards/Interface(Pin Arrangement, AC-DC Conversion Voltages etc.).

 

Interface-based programming은 특히 세 가지 부분(MVC)에 추가적인 컴포넌트를 개발해야 하는 시스템을 편리하게 개발하는 방식이라고 할 수 있다. 세 부분은 단지 인터페이스에서 정의한 것을 정확히 구현하기만 하면 된다는 점에서 편리하다고 말 할 수 있다. 예를 들면, 스마트폰 회사가 표준규격이 이미 정해져 있어 그 규격을 따라하면 굳이 몇 볼트로 할 것인가, AC로 할 것인가 DC로 할 것인가 고민하지 않아도 된다는 의미이다.

 

Thus the publisher of the interfaces assures that he will not change the interface and the subscriber agrees to implement the interface as whole without any deviation. An interface is therefore said to be a Contractual agreement and the programming paradigm based on this is termed as "interface based programming".

 

인터페이스는 표준규격이 되므로 변하지 않아야 하며, 또한 사용자도 정해진 인터페이스를 수정해서는 안 된다. 그래서 인터페이스를 중요하게 생각하는 점 때문에 "interface based programming"라고도 불린다.


출처 : https://en.wikipedia.org/wiki/Interface-based_programming