当前位置:网站首页>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 的主进程,它是后端。在这里,我们将构建应用程序的逻辑。
对于数据库,我们将创建两个表,视频和播放列表。这些表与多对多关系相关联。
开始建设
边栏推荐
- 【leetcode】331. Verifying the preorder serialization of a binary tree
- STEPN 新手入門及進階
- 零知识 QAP 问题的转化
- (DFS search) acwing 2005 horseshoe
- 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
- NFT transaction principle analysis (2)
- Ten thousand words! In depth analysis of the development trend of multi-party data collaborative application and privacy computing under the data security law
- 8 自定义评估函数
- Solana capacity expansion mechanism analysis (1): an extreme attempt to sacrifice availability for efficiency | catchervc research
- NFT交易原理分析(1)
猜你喜欢
Solana capacity expansion mechanism analysis (2): an extreme attempt to sacrifice availability for efficiency | catchervc research
1 张量的简单使用
Comprehensive analysis of discord security issues
C# 读写文件从用户态切到内核态,到底是个什么流程?
Practice of federal learning in Tencent micro vision advertising
SAP OData 开发教程 - 从入门到提高(包含 SEGW, RAP 和 CDP)
Tencent Peking University's sparse large model training acceleration program het was selected into the VLDB of the international summit
首例猪心移植细节全面披露:患者体内发现人类疱疹病毒,死后心脏重量翻倍,心肌细胞纤维化丨团队最新论文...
Transaction input data of Ethereum
NFT transaction principle analysis (1)
随机推荐
Transaction input data of Ethereum
Quickly get started with federal learning -- the practice of Tencent's self-developed federal learning platform powerfl
Beijing University and Tencent jointly build angel4.0, and the self-developed in-depth learning framework "River map" is integrated into the ecology
Development, deployment and online process of NFT project (2)
Have you ever had a Kindle with a keyboard?
AUTO sharding policy will apply DATA sharding policy as it failed to apply FILE sharding policy
Net基于girdview控件实现删除与编辑行数据
Summary of data interface API used in word search and translation applications
JS text scrolling scattered animation JS special effect
[thinking] what were you buying when you bought NFT?
「幹貨」NFT 上中下遊產業鏈全景分析
R语言plotly可视化:小提琴图、多分类变量小提琴图、分组(grouped)小提琴图、分裂的分组小提琴图、每个小提琴图内部分为两组数据、每个分组占小提琴图的一半、自定义小提琴图的调色板、抖动数据点
How do I open an account on my mobile phone? Is online account opening safe?
How to create your own NFT (polygon) on opensea
手写数字体识别,用保存的模型跑自己的图片
Development, deployment and online process of NFT project (1)
The first batch in the industry! Tencent cloud security and privacy computing products based on angel powerfl passed CFCA evaluation
11 introduction to CNN
11 cnn简介
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