1 Star 0 Fork 442

chrischan / ace_engine_lite

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 2.40 KB
一键复制 编辑 原始数据 按行查看 历史
wuhy_irobot2013 提交于 2021-03-15 19:42 . fix hyperlink address

JS Application Framework

Introduction

The JS application framework is provided for you to develop OpenHarmony JavaScript applications. The following figure shows the framework architecture.

Figure 1 Framework architecture

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

  • JavaScript data binding

    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/ace/ace_engine_lite
├── frameworks      # Framework code
│   ├── examples    # Sample code
│   ├── include     # Header files
│   ├── 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 application 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-application-framework.md

Repositories Involved

ace_engine_lite

C++
1
https://gitee.com/cdcoldcode/ace_engine_lite.git
git@gitee.com:cdcoldcode/ace_engine_lite.git
cdcoldcode
ace_engine_lite
ace_engine_lite
master

搜索帮助