harmony 鸿蒙ArkUI

  • 2022-10-28
  • 浏览 (936)

ArkUI

Introduction

ArkUI is a UI development framework that provides what you’ll need to develop application UIs in OpenHarmony, including UI components, animations, drawing, interaction events, and JavaScript API extension mechanisms. ArkUI comes with two development paradigms: ArkTS-based declarative development paradigm (declarative development paradigm for short) and JavaScript-compatible web-like development paradigm (web-like development paradigm for short).

Framework Structure

en-us_image_0000001183709904

As shown above, the two development paradigms share the UI backend engine and language runtime. The UI backend engine implements the six basic capabilities of ArkUI. The declarative development paradigm does not require the JS Framework for managing the page DOM. As such, it has more streamlined rendering and update links and less memory usage. This makes the declarative development paradigm a better choice for building application UIs.

Directory Structure

The ArkUI source code is stored in /foundation/arkui. The following shows the directory structure.

/foundation/arkui
├── ace_engine                       # ArkUI
├── ace_engine_lite                  # Lite ArkUI
└── napi                             # JS APIs for extending the native development module

Repositories Involved

ArkUI

arkui_ace_engine

arkui_ace_engine_lite

arkui_napi

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArkCompiler Runtime

harmony 鸿蒙DeviceProfile

harmony 鸿蒙System Ability Manager

harmony 鸿蒙Security

harmony 鸿蒙Ability Framework

harmony 鸿蒙Account

harmony 鸿蒙AI

harmony 鸿蒙Bundle Management

harmony 鸿蒙Common Event and Notification

harmony 鸿蒙Compilation and Building

0  赞