当前位置:网站首页>JS教程之使用 ElectronJS、VueJS、SQLite 和 Sequelize ORM 从 A 到 Z 创建多对多 CRUD 应用程序
JS教程之使用 ElectronJS、VueJS、SQLite 和 Sequelize ORM 从 A 到 Z 创建多对多 CRUD 应用程序
2022-06-26 15:54:00 【知识大胖】
介绍
由于项目的密度和整篇文章的篇幅,本教程将分为三篇。
第 1 部分:使用 VueJS 创建 Electron 应用程序
第 2 部分:连接数据库和创建 CRUD 函数
第 3 部分:构建 UI 并将其与带有 IPC 的主进程连接
要求
- 安装了 NodeJS 和 NPM
- 了解 JavaScript 和 ES6 和 SQL
- 具有 VueJS 和 Vuex 的知识和经验
- 有 Electron 经验者优先,但不是必需的。
我们要建造什么?
我们将构建一个简单的桌面应用程序,我们可以在其中创建播放列表并向其中添加 youtube 视频。我不会对功能和特性进行深入探讨。目标是将数据库与 ElectronJS 和 VueJS 的多对多关系链接起来。


我们将如何去做?
我们将应用程序分成两部分;渲染器和主。Renderer 是前端,这部分我们将使用 VueJS、Vuex。主要部分是 ElectronJS 的主进程,它是后端。在这里,我们将构建应用程序的逻辑。
对于数据库,我们将创建两个表,视频和播放列表。这些表与多对多关系相关联。
开始建设
边栏推荐
- NFT Platform Security Guide (1)
- Audio and video learning (II) -- frame rate, code stream and resolution
- Simple use of tensor
- js创意图标导航菜单切换背景色
- 「干货」NFT 上中下游产业链全景分析
- 「幹貨」NFT 上中下遊產業鏈全景分析
- JVM notes
- This year, the AI score of college entrance examination English is 134. The research of Fudan Wuda alumni is interesting
- Solana扩容机制分析(1):牺牲可用性换取高效率的极端尝试 | CatcherVC Research
- NFT transaction principle analysis (1)
猜你喜欢

Super double efficiency! Pycharm ten tips

NFT 项目的开发、部署、上线的流程(1)

9 Tensorboard的使用

Svg capital letter a animation JS effect

Solana capacity expansion mechanism analysis (2): an extreme attempt to sacrifice availability for efficiency | catchervc research

Development, deployment and online process of NFT project (1)

NFT transaction principle analysis (2)

The details of the first pig heart transplantation were fully disclosed: human herpes virus was found in the patient, the weight of the heart doubled after death, and myocardial cell fibrosis

IAR工程适配GD32芯片

OpenSea上如何创建自己的NFT(Polygon)
随机推荐
js文本滚动分散动画js特效
Svg canvas canvas drag
首例猪心移植细节全面披露:患者体内发现人类疱疹病毒,死后心脏重量翻倍,心肌细胞纤维化丨团队最新论文...
Oilfield exploration problems
牛客小白月赛50
Application of ansible automation
svg环绕地球动画js特效
PCIe Capabilities List
6 自定义层
手写数字体识别,用保存的模型跑自己的图片
Unlock the value of data fusion! Tencent angel powerfl won the "leading scientific and Technological Achievement Award" at the 2021 digital Expo
(1) Keras handwritten numeral recognition and recognition of self written numbers
NFT合约基础知识讲解
Analyse panoramique de la chaîne industrielle en amont, en aval et en aval de la NFT « Dry goods»
11 introduction to CNN
7 自定义损失函数
NFT 项目的开发、部署、上线的流程(1)
JS text scrolling scattered animation JS special effect
Golang 1.18 go work usage
Ideal path problem