HarmonyOS
HarmonyOS 3.0 ArkUI 3.0: Declarative User Interface framework
Huawei HarmonyOS 3.0 is the new version of the HarmonyOS operating system. The company has released the first developer preview of HarmonyOS that is available exclusively for the developer. With the HarmonyOS 3.0 DP, there’s also the new ArkUI that is a collection of frameworks and it’ll help developers to make better applications.
ArkUI 3.0 represents the evolution of HarmonyOS 3.0 UI development framework from an imperative UI framework with Java as the main programming language to a declarative UI framework with TypeScript (TS for short)/JavaScript (JS for short) as the main programming language.
HarmonyOS 3.0 ArkUI:
ArkUI is a set of declarative UI development frameworks for building the HarmonyOS application interface. It uses minimal UI information syntax, rich UI components, and real-time interface preview tools to help you improve the efficiency of HarmonyOS application interface development by 30%. You only need to use a set of TS/JS APIs to provide a vivid and smooth user interface experience on multiple HarmonyOS devices.
ArkUI helps you to develop the app in different ways:
Cross-device development:
ArkUI provides you with cross-device data binding function and multi-dimensional state management mechanism (in-component/inter-component/global/distributed data-driven UI changes), helping developers to save 70% of code to complete.
Minimal UI:
ArkUI uses a minimalist declarative UI to describe the interface syntax. You only need a few lines of simple and intuitive declarative code to complete the interface function. For example, if you need a gallery list, you only need to declare the style and animation of the list and gallery interface, and the gallery list interface can be generated.
UI components:
ArkUI has built-in rich and exquisite UI components and APIs of HarmonyOS Design, which can meet most of your needs for cross-terminal application interface development. You can easily add animation to almost any UI control and select a series of built-in animations.
Real-time interface preview:
ArkUI supports the real-time interface preview feature to help you quickly develop and debug the interface of WYSIWYG. You can display the UI effect of your application interface on any HarmonyOS device without connecting to a real device.
Native performance experience:
ArkUI has built-in many-core UI controls and animations, such as pictures, lists, grids, attribute animations, transition animations, etc., plus deep optimization of the self-developed language runtime, which can achieve the same as mobile native applications on HarmonyOS.