README.md
1# JS UI Framework<a name="EN-US_TOPIC_0000001125689015"></a>
2
3- [Introduction](#section11660541593)
4- [Directory Structure](#section1464106163817)
5- [Available APIs](#section1096322014288)
6- [Usage](#section1529834174016)
7- [Repositories Involved](#section11683135113011)
8
9## Introduction<a name="section11660541593"></a>
10
11The JS UI framework is a set of JS-UI framework provided for you to develop OpenHarmony applications. The following figure shows the framework architecture.
12
13**Figure 1** Framework architecture<a name="fig11520531310"></a>
14
15
16
17The JS UI framework consists of the JavaScript data binding framework, JavaScript runtime, and JavaScript framework.
18
19- **JavaScript data binding**
20
21 Provides a set of basic data binding capabilities through JavaScript.
22
23
24- **JavaScript runtime**
25
26 Supports parsing and execution of JavaScript code.
27
28
29- **JavaScript framework**
30
31 Provides the framework mechanism of JavaScript APIs and components through the C++ language.
32
33
34## Directory Structure<a name="section1464106163817"></a>
35
36The source code of the framework is stored in **/foundation/ace/ace\_engine\_lite**. The directory structure is as follows:
37
38```
39/foundation/ace/ace_engine_lite
40├── frameworks # Framework code
41│ ├── common # Common kits
42│ ├── examples # Sample code
43│ ├── include # Header files
44│ ├── module_manager # JS module manager
45│ ├── native_engine # JS engine adapter
46│ ├── packages # JavaScript implementation
47│ ├── src # Source code
48│ ├── targets # Configuration files of target devices
49│ └── tools # Tool code
50├── interfaces # APIs exposed externally
51│ └── innerkits # Header files for internal subsystems
52│ └── builtin # JavaScript third-party module APIs exposed by the JS UI framework
53└── test # Test cases
54```
55
56## Available APIs<a name="section1096322014288"></a>
57
58For details about the APIs, see the [JS Application Development](https://device.harmonyos.com/en/docs/apiref/js-framework-file-0000000000616658).
59
60## Usage<a name="section1529834174016"></a>
61
62For details, go to the **readme** repository:
63
64[https://gitee.com/openharmony/docs/blob/master/en/readme/js-ui-framework.md](https://gitee.com/openharmony/docs/blob/master/en/readme/js-ui-framework.md)
65
66## Repositories Involved<a name="section11683135113011"></a>
67
68ace\_engine\_lite
69
70