机电产品开发与创新2024,Vol.37Issue(2) :51-53.DOI:10.3969/j.issn.1002-6673.2024.02.014

一种开源鸿蒙下基于Dokcer的Web开发流程

One Web Development Process Based on Docker under the OpenHarmony

李竞择 范承宇 欧阳迪
机电产品开发与创新2024,Vol.37Issue(2) :51-53.DOI:10.3969/j.issn.1002-6673.2024.02.014

一种开源鸿蒙下基于Dokcer的Web开发流程

One Web Development Process Based on Docker under the OpenHarmony

李竞择 1范承宇 1欧阳迪1
扫码查看

作者信息

  • 1. 中国兵器装备集团 自动化研究所有限公司, 四川 绵阳 621000
  • 折叠

摘要

开源鸿蒙是鸿蒙的开源版本,由华为开源并由开放原子委员会进行孵化和运营.通常情况下开源鸿蒙下的应用是使用ArkTS开发语言进行开发.本文提供了一种开源鸿蒙下基于Docker的前后端开发流程,使用ArkTS的Web组件作为前端的连接器,在docker下拉起nginx作为后端,实现单一设备下的一体化开发.

Abstract

OpenHarmony is an open source version of HarmonyOS that is open sourced by Huawei and incubated and operated by the OpenAtom Foundation.Normally,applications under OpenHarmony are developed using the ArkTS programming language.This article presents an integrated front-end and back-end development process based on Docker under OpenHarmony.It utilizes ArkTS's Web com-ponents as front-end connectors and deploys Nginx as the back-end under Docker,achieving unified development for a single device.

关键词

开源鸿蒙操作系统/docker移植/Web应用开发/Nginx

Key words

OpenHarmony/docker porting/Web application development/Nginx

引用本文复制引用

出版年

2024
机电产品开发与创新
中国机械工业联合会

机电产品开发与创新

影响因子:0.211
ISSN:1002-6673
参考文献量4
段落导航相关论文