当前位置:网站首页>Maykle Studio - HarmonyOS Application Development First Training
Maykle Studio - HarmonyOS Application Development First Training
2022-08-11 06:16:00 【C_yyy89】
Preface
This article is my first training note on HamonyOS application development. As a developer in the IOT team of Maykle Studio, I must master certain HarmonyOS application development techniques, and I believe that HarmonyOS will be more powerful in the future.I would also like to thank Ms. Xiaolan for her explanation.
Learning materials:
Hongmeng 2.x System Application Development Front-end Basic Tutorial-12 Episodes Completed_bilibili
1. What is OpenHarmony?
OpenHarmony means "openness and harmony" in Chinese, which represents the tolerance and humility of the Chinese nation.It can be said: "China also has its own mobile terminal operating system!"
The Hongmeng OpenHarmony open source project aims to build a framework and platform for the operating system of smart terminal devices in the era of full scenarios, full connectivity, and full intelligence, and to promote the prosperity and development of the Internet of Everything industry based on an open source approach.
OpenHarmony follows a layered design as a whole, from bottom to top: kernel layer, system service layer, framework layer and application layer.The system functions are expanded step by step according to "System > Subsystem > Components". In the multi-device deployment scenario, some non-essential components can be tailored according to actual needs. The core of the front-end field lies in the application layer "expansion".Application, third-party application" construction service.
The application layer includes "system applications" and "third-party non-system applications". An application consists of one or more FA (Feature Ability) or PA (Particle Ability).Among them, FA has a UI interface, providing the ability to interact with users; while PA has no UI interface, providing the ability to run tasks in the background and a unified data access abstraction.Applications developed based on FA/PA can implement specific business functions, support cross-device scheduling and distribution, and provide users with a consistent and efficient application experience.Obviously, the core point of our front-end development partners is the development of UI level in FA.
The UI part (FA) supports both pure JavaScript development, pure Java development, and mixed development of Java and JavaScript.FA supports the development of UI interface in Java and JavaScript.If you use Java, just like Android, use xml to define layout or Java code to define layout, each page is a PageAbility, use Java to write business code, and use intent to pass data between different pages.
If the JavaScript UI framework is used here, the writing method is basically the same as the "Vue + applet" application development. It also supports data, props, computed, watch and functions (methods), and can also create custom components, so thatIt is easy for web front-end engineers to transform into Hongmeng UI development engineers. It has to be said that Huawei's integration of existing concepts is quite impressive.
Second, the development environment and Hello World application experience
边栏推荐
- lvs的keepalived
- CVPR2020:Seeing Through Fog Without Seeing Fog
- 微信小程序-腾讯云即时通信 IM 小程序直播(一)
- 梅科尔工作室-DjangoWeb 应用框架+MySQL数据库第四次培训
- SCNet:Semantic Consistency Networks for 3D Object Detection
- Joint 3D Instance Segmentation and Object Detection for Autonomous Driving
- Robust 3D Object Detection in Cold Weather Conditions
- 第七届集美大学程序设计竞赛(个人赛)题解
- GBase 8s与Oracle锁对比
- TAMNet:A loss-balanced multi-task model for simultaneous detection and segmentation
猜你喜欢
随机推荐
Fragment 和 CardView
OpenPCDet安装最新版:spconv一步到位
CVPR2022——A VERSATILE MULTI-VIEW FRAMEWORK
安全帽识别-施工安全的“监管者”
websocket聊天通讯(全局封装)
正则表达式与绕过案例
OSPF综合实验
Redis哨兵模式
四大组件之一BroadCast(其一)
Thread Handler
GBase 8s的分片和索引
windows下的redis安装及密码修改
数据库基础-入门看这篇
LAGRANGIAN FLUID SIMULATION WITH CONTINUOUS CONVOLUTIONS
解决SmartRefreshLayout/SwipeRefreshLayout与RecyclerView下拉冲突的问题
Waymo数据集使用介绍(waymo-open-dataset)
使用TD-workbench管理tDengine数据库数据
XSS跨站脚本攻击详解以及复现gallerycms字符长度限制短域名绕过
mAPH——Waymo数据集
GBase 8s中IO读写方法