Go to file
mamingshuai a97c454cfc
!545 资源仓名resource_management_lite修改
Merge pull request !545 from master
2022-05-06 09:38:40 +00:00
.gitee add OpenHarmony 1.0 baseline 2020-09-08 10:21:39 +08:00
figures 修复JS-UI框架子系统描述 2021-06-06 23:42:29 +08:00
frameworks 资源resource_management_lite部件名修改 2022-05-05 22:11:24 +08:00
interfaces/inner_api/builtin Description: Modify the path of ace_engine_lite, ace_engine, napi warehouse names 2022-04-25 10:28:28 +08:00
test 资源resource_management_lite部件名修改 2022-05-05 22:11:24 +08:00
.clang-format Description: fix compile failed 2022-01-17 11:44:46 +08:00
.gitignore Description: provide runtime-core snapshot converting tool 2021-08-04 09:01:29 +08:00
ace_lite.gni 资源resource_management_lite部件名修改 2022-05-05 22:11:24 +08:00
bundle.json 资源resource_management_lite部件名修改 2022-05-05 22:11:24 +08:00
LICENSE chmod 755->644 2022-03-26 11:34:01 +08:00
README_zh.md Description: Modify the path of ace_engine_lite, ace_engine, napi warehouse names 2022-04-21 20:50:33 +08:00
README.md Description: Modify the path of ace_engine_lite, ace_engine, napi warehouse names 2022-04-21 20:50:33 +08:00

JS UI Framework

Introduction

The JS UI framework is a set of JS-UI frameworks provided for you to develop OpenHarmony applications. The following figure shows the framework architecture.

Figure 1 Framework architecture

The JS UI framework consists of the JavaScript data binding framework, JavaScript runtime, and JavaScript framework.

  • JavaScript data binding framework

    Provides a set of basic data binding capabilities through JavaScript.

  • JavaScript runtime

    Supports parsing and execution of JavaScript code.

  • JavaScript framework

    Provides the framework mechanism of JavaScript APIs and components through the C++ language.

Directory Structure

The source code of the framework is stored in /foundation/ace/ace_engine_lite. The directory structure is as follows:

/foundation/arkui/ace_engine_lite
├── frameworks         # Framework code
│   ├── common         # Common kits
│   ├── examples       # Sample code
│   ├── include        # Header files
│   ├── module_manager # JS module manager
│   ├── native_engine  # JS engine adapter
│   ├── packages       # JavaScript implementation
│   ├── src            # Source code
│   ├── targets        # Configuration files of target devices
│   └── tools          # Tool code
├── interfaces         # APIs exposed externally
│   └── innerkits      # Header files for internal subsystems
│       └── builtin    # JavaScript third-party module APIs exposed by the JS UI framework
└── test               # Test cases

Available APIs

For details about the APIs, see the JS Application Development.

Usage

For details, go to the readme repository:

https://gitee.com/openharmony/docs/blob/master/en/readme/js-ui-framework.md

Repositories Involved

ace_engine_lite