当前位置:网站首页>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
边栏推荐
- 梅科尔工作室-HarmonyOS应用开发的第二次培训
- 解决SmartRefreshLayout/SwipeRefreshLayout与RecyclerView下拉冲突的问题
- LiDAR Snowfall Simulation for Robust 3D Object Detection
- Redis哨兵模式
- mysql基本概念之存储引擎
- 梅科尔工作室-深度学习第二讲 BP神经网络
- uniapp 在HBuilder X中配置微信小程序开发工具
- 用正则验证文件名是否合法
- CVPR2020:Seeing Through Fog Without Seeing Fog
- 通用的 kernel和 userspace Makefile
猜你喜欢
随机推荐
Pay “Attention” to Adverse Weather
如何修改严格模式让MySQL5.7插入用户表的方式新建用户成功?delete和drop的不同
GBase 8s中IO读写方法
Maykle Studio - HarmonyOS Application Development Third Training
使用TD-workbench管理tDengine数据库数据
GBase 8a技术特性-集群架构
MGRE环境下的OSPF综合实验
@2022-02-22:每日一语
AIDL 简介以及使用
OpenPCDet安装最新版:spconv一步到位
GBase 8s 执行计划查询分析
GBase 8s与Oracle存储对比
梅科尔工作室-PR第三次培训笔记(效果与转场及插件使用)
DNS外带注入SQLMAP
微信小程序-腾讯云即时通信 IM 小程序直播(一)
安全帽识别系统-解决监管难题
GBase 8a MPP Cluster产品支撑的平台
GBase 8s的分片和索引
【OAuth2】授权机制
websocket聊天通讯(全局封装)