ui-ts-overview.md 3.1 KB
Newer Older
G
ge-yafang 已提交
1
# Overview
Z
zengyawen 已提交
2 3


4
The ArkTS-based declarative development paradigm of ArkUI is a simplified, high-performance UI development framework for cross-device applications.
Z
zengyawen 已提交
5

G
ge-yafang 已提交
6
## Basic Capabilities
Z
zengyawen 已提交
7

8 9
In ArkUI that uses the ArkTS-based declarative development paradigm, the programming mode is closer to natural semantics. You can intuitively describe the UI without caring about how the framework implements UI drawing and rendering, leading to simplified and efficient development. The UI capabilities are provided from three dimensions: component, animation, and state management. System capability APIs are also provided to allow for effortless invocation of system capabilities.
To accelerate your journey with ArkUI development, take time to learn the [ArkTS programming language](../quick-start/arkts-get-started.md) and the [built-in components](../reference/arkui-ts/ts-universal-events-click.md) provided in ArkUI.
E
ester.zhou 已提交
10

11
- **Out-of-the-box components**
Z
zengyawen 已提交
12

G
ge-yafang 已提交
13
  A wide range of preset system components are provided. You can set the rendering effect of these components in method chaining mode. You can combine system components to form custom components. In this way, page components are divided into independent UI units to implement independent creation, development, and reuse of different units on pages, making pages more engineering-oriented.
Z
zengyawen 已提交
14

15
- **A diverse array of animation APIs**
Z
zengyawen 已提交
16

G
ge-yafang 已提交
17
  By drawing from the standard SVG drawing capability and various open animation APIs, you can customize animation tracks by encapsulating physical models or calling the provided APIs.
Z
zengyawen 已提交
18

19
- **State and data management**
Z
zengyawen 已提交
20

G
ge-yafang 已提交
21
  State data management provides clear page update and rendering processes and pipes through decorators with different functions. State management covers UI component states and application states. With these features, you are able to build an application-wide data update and UI rendering process.
Z
zengyawen 已提交
22

23
- **System capability APIs**
Z
zengyawen 已提交
24

G
ge-yafang 已提交
25
  Development has never been so easy, with a diverse array of encapsulated system capability APIs, from UI design to system capability invoking.
Z
zengyawen 已提交
26 27


G
ge-yafang 已提交
28
## Overall Architecture
Z
zengyawen 已提交
29

30 31 32
![en-us_image_0000001223287712](figures/en-us_image_0000001223287712.png)

- **Declarative UI frontend**
Z
zengyawen 已提交
33

34
  Provides basic language specifications of the UI development paradigm, built-in UI components, layouts, and animations, and multiple state management mechanisms, with a wide array of APIs for you to call as required.
Z
zengyawen 已提交
35

36 37 38 39 40 41 42 43 44 45 46 47 48
- **Language runtime**

  Provides parsing for the UI paradigm syntax, cross-language invoking, and a TS-based high-performance running environment.

- **Declarative UI backend engine**

  Provides UI rendering pipelines that are compatible with different development paradigms, multiple basic components, layout calculation, dynamic effects, and interaction events, with state management and drawing capabilities.

- **Render engine**

  Provides efficient drawing capabilities, which enable rendering instructions collected by the rendering pipeline to be drawn to the screen.

- **Porting layer**
Z
zengyawen 已提交
49

G
ge-yafang 已提交
50
  Provides abstract APIs to connect to different systems, such as system rendering pipelines and lifecycle scheduling.