글

라벨이 Resource Model인 게시물 표시

[참조] SAP UI5 Model Type

이미지
SAP UI5 Model Type 여기서는 UI5의 MVC 패턴 중 M(Model)에 해당하는 3가지 Type의 Model에 대해서 작성한다. 3가지 Type은 JSON Model, Resource Model, ODataModel이다. 이 장에서는 간단한 소개만 작성하고, 실제 사용 방법은 다음 글에서 작성한다.   (Three types of models corresponding to M (Model) among the MVC patterns of UI5 are created. The three types are JSON Model, Resource Model, and OData Model.) JSON Model JSON 형식({id:value} 구조)의 Data를 관리하기 위한 Model로 UI5에서 Data를 처리하기 위해 사용되는 가장 기본이 되는 Data Model이다. (It is a model for managing data in JSON format ({id:value} structure) and is the most basic data model used to process data in UI5.) 예시(Example):       1 2 3 4 5  {recipient: [                 {name:"Tom"},                   {name:"Joe"}              ] } cs Resource Model UI Module(...