angularjs 프로젝트를 하고 있는데, 기본 개념도 알지못한체 개발 코딩하고 있습니다.
늦었지만, 잠깐 시간이 남아서, 정리합니다. (번역된 글의 내용은 느낌만 받으세요^^.)
Concept |
Description |
Template |
HTML with additional markup (부가적인 마크업 HTML) |
Directives |
extend HTML with custom attributes and elements (속성과 엘리먼트를 가지는 확장된 HTML) |
Model |
the data shown to the user in the view and with which the user interacts (뷰에서 사용자에게 보여지고 사용자와 상호작용하는 데이타) |
Scope |
context where the model is stored so that controllers, directives and expressions can access it (컨트롤러, 디렉티브, 익스프레션 등이 액세스하는 저장된 모델의 컨텍스트) |
Expressions |
access variables and functions from the scope (스코프에서 변수와 함수에 액세스하는 표현식/방법) |
Compiler |
parses the template and instantiates directives and expressions (템플릿이나 디렉티브, 표현식들을 파싱) |
Filter |
formats the value of an expression for display to the user (사용자에게 표시해주기 위해 표현식의 값의 포맷변경) |
View |
what the user sees (the DOM) (사용자에게 보여지는 DOM) |
Data Binding |
sync data between the model and the view (모델과 뷰 사이의 데이타 동기화/매핑) |
Controller | the business logic behind views (뷰의 백에서 실행되는 비즈니스 로직) |
Dependency Injection | Creates and wires objects and functions (객체와 함수를 생성하고 연결시킨다) |
Injector | dependency injection container (dependency injection들을 담고 있는 컨테이너) |
Module | a container for the different parts of an app including controllers, services, filters, directives which configures the Injector |
Service | reusable business logic independent of views |
※ 출처 : https://docs.angularjs.org/guide/concepts#template