Daim ntawv thov electron yog dab tsi?
Daim ntawv thov electron yog dab tsi?

Video: Daim ntawv thov electron yog dab tsi?

Video: Daim ntawv thov electron yog dab tsi?
Video: Paj Huab Vaj - Qhov Ntawm No Yog Dab Tsi (Official Music Video) NEW SONG 2024, Kaum ib hlis
Anonim

Hluav taws xob yog ib lub moj khaum tsim cov haiv neeg daim ntawv thov nrog web technologies xws li JavaScript, HTML, thiab CSS. Nws saib xyuas qhov nyuaj kom koj tuaj yeem tsom mus rau qhov tseem ceeb ntawm koj daim ntawv thov.

Raws li txoj cai, electron JS siv rau dab tsi?

Txhawm rau muab nws yooj yim, Electron JS yog lub sijhawm ua haujlwm uas tso cai rau tus neeg siv los tsim cov ntawv thov desktop-suite nrog HTML5, CSS, thiab JavaScript. Nws yog qhov qhib qhov project pib los ntawm Cheng Zhao, tus engineer ntawm GitHub. Nws yog ib qho kev sib xyaw ntawm ob qho kev siv thev naus laus zis zoo kawg: Node . js thiab Chromium.

Qhov thib ob, electron apps ua haujlwm li cas? Nyob rau hauv ib tug nutshell, Hluav taws xob muab lub sijhawm ua haujlwm rau tsim cov ntawv thov desktop nrog dawb huv JavaScript. Txoj kev nws ua haujlwm yog - Hluav taws xob siv cov ntaub ntawv tseem ceeb hauv koj pob. json cov ntaub ntawv thiab ua nws. Hauv kev nthuav dav, ib zaug koj pib ua daim ntawv thov siv Hluav taws xob , tus txheej txheem tseem ceeb yog tsim.

Hais txog qhov no, puas yog electron Apps zoo?

Nws yog ib zoo yam, feem ntau. Hluav taws xob awakens developers mus rau txoj kev tshiab ntawm kev xav. Qhov feem ntau yog rau cov neeg tsim khoom hauv lub vev xaib kom paub meej tias lawv cov kev txawj ntse tuaj yeem rov siv tau hauv kev txhim kho desktop. Hluav taws xob tsis yog thawj lub platform raws li lub tswv yim ntawm kev siv lub vev xaib thev naus laus zis los tsim cov ntawv thov desktop.

Puas yog electron yooj yim?

Tsim los ua ib lub moj khaum qhib, Hluav taws xob combines qhov zoo tshaj plaws web technologies thiab yog ib tug ntoo khaub lig-platform - txhais tau tias nws yog yooj yim tau tshaj Mac, Windows thiab Linux. Nws los nrog kev hloov kho tsis siv neeg, cov ntawv qhia zaub mov ib txwm thiab cov ntawv ceeb toom nrog rau kev ceeb toom kev sib tsoo, kev debugging thiab profileing.

Pom zoo: