当前位置:网站首页>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 的主进程,它是后端。在这里,我们将构建应用程序的逻辑。
对于数据库,我们将创建两个表,视频和播放列表。这些表与多对多关系相关联。
开始建设
边栏推荐
- "C language" question set of ⑩
- Transformation of zero knowledge QAP problem
- Cookie和Session详解
- R语言广义线性模型函数GLM、glm函数构建逻辑回归模型(Logistic regression)、分析模型是否过离散(Overdispersion)、使用残差偏差与二项式模型中的剩余自由度的比率评估
- NFT transaction principle analysis (1)
- R language plotly visualization: Violin graph, multi category variable violin graph, grouped violin graph, split grouped violin graph, two groups of data in each violin graph, each group accounts for
- What is the difference between stm32f1 and gd32f1?
- Have you ever had a Kindle with a keyboard?
- Stepn débutant et avancé
- 6 custom layer
猜你喜欢

TweenMax+SVG切换颜色动画场景

JS text scrolling scattered animation JS special effect

Reflection modification final

如何辨别合约问题

Stepn novice introduction and advanced

Anaconda3 installation tensorflow version 2.0 CPU and GPU installation, win10 system

5000字解析:实战化场景下的容器安全攻防之道

NFT Platform Security Guide (1)

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

C# 读写文件从用户态切到内核态,到底是个什么流程?
随机推荐
Practice of federal learning in Tencent micro vision advertising
Stepn novice introduction and advanced
01 backpack DP
PCIe Capabilities List
Lifeifei's team applied vit to the robot, increased the maximum speed of planning reasoning by 512 times, and also cued hekaiming's Mae
Handwritten numeral recognition, run your own picture with the saved model
What is the process of switching C # read / write files from user mode to kernel mode?
Unlock the value of data fusion! Tencent angel powerfl won the "leading scientific and Technological Achievement Award" at the 2021 digital Expo
Selenium saves elements as pictures
R语言使用cor函数计算相关性矩阵进行相关性分析,使用corrgram包可视化相关性矩阵、行和列使用主成分分析重新排序、下三角形中使用平滑的拟合线和置信椭圆,上三角形中使用散点图、对角线最小值和最大值
TweenMax+SVG切换颜色动画场景
Beijing University and Tencent jointly build angel4.0, and the self-developed in-depth learning framework "River map" is integrated into the ecology
Tsinghua's "magic potion" is published in nature: reversing stem cell differentiation, and the achievements of the Nobel Prize go further. Netizen: life can be created without sperm and eggs
9 use of tensorboard
「幹貨」NFT 上中下遊產業鏈全景分析
Solana capacity expansion mechanism analysis (2): an extreme attempt to sacrifice availability for efficiency | catchervc research
Panoramic analysis of upstream, middle and downstream industrial chain of "dry goods" NFT
手写数字体识别,用保存的模型跑自己的图片
油田勘探问题
(DFS search) acwing 2005 horseshoe