https://stackoverflow.com/questions/22300545/what-is-the-difference-between-component-and-framework
Component:
- A
Component
is essentially a set of functions that you can call, these days usually organized into classes. Each call does some work and returns control to the client. - 컴포넌트는 너가 호출하는 함수의 집합이다. 오늘날 보통은 클래스로 구성되다. 클래스나 함수를 호출하면 작업을 하거나 제어를 사용자에게 반환한다.
- A
Component
you can use whatever tiny part helps you. - 너에게 어떤 작은 기능적 도구로써 도움이 될 수 있다.
- A
Component
is a tool. - 컴포넌트는 도구이다.
Framework:
- A
framework
is a skeleton where the application defines the “meat” of the operation by filling out the skeleton. The skeleton still has code to link up the parts but the most important work is done by the application. - 프레임워크는 뼈대이다. 작동의 요점은 뼈대를 채워나가는 것이다. 프레임워크는 파트를 연결하기 위해 코드를 가지고 있지만, 가장 중요한 작업은 어플리케이션에 의해 작동한다.
- A
Framework
is a way of life. - 프레임워크는 전체 작동의 방법이다.
- A
Framework
you must commit your entire project to. - 프레임워크는 너의 초기 프로젝트에 커밋을 해야한다.
결국 내가 생각할 때 컴포넌트와 프레임워크의 가장 큰 차이는 제어를 반환하면 컴포넌트 제어를 반환하지 않는 대신 내부적으로 컴포넌트를 가지고 있으면 프레임워크라고 생각된다.