Django、Vue 和Element UI 前后端原理论述
1 《51 测试天地》七十四 www.51testing.com 这是一篇什么文章? 一篇你对测试开发工作感兴趣,想了解系统工作逻辑的文章。 一篇是你在开始动手搭建环境前需要了解各工具原理的文章。 这是一篇你真正开始前需要查阅的文章。 本文介绍了前后端工作原理,前后端搭建的流程、搭建过程中需要用到的技术以及 开发环境版本。 一、前后端如何工作 Django、Vue 和 Element Element UI 前后 端原理论述 作者:M&T. 2 《51 测试天地》七十四 www.51testing.com 后端开发(Django+Rest Framework+MySQL): Django 负责处理 HTTP 请求和响应,以及 URL 路由的配置。它接收来自前端的 HTTP 请求,并根据 URL 将请求分发给相应的视图函数进行处理。 Rest Framework 是 Django 开发工作更加专注和高效。前端负责用户界面的呈现和交互,后端负责数据处理和业务 逻辑,通过 API 接口进行数据传输和交互,从而实现一个完整的 Web 应用。 3 《51 测试天地》七十四 www.51testing.com 二、搭建流程 2.1 后端搭建流程 安装相关包->创建工程->后端依赖(pipenv)创建虚拟环境->后端服务配置启动->后 端创建子应用->后端 Rest Framework->数据库配置0 码力 | 61 页 | 6.84 MB | 1 年前3Debian 快速參考手冊
. . . . . . . . . . . . . . . . . . . . . . . . 1 2 將 將 將 distribution 升 升 升級 級 級至 至 至 stable, testing 或 或 或 unstable 3 2.1 從 Potato 到 Woody . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 維持舊的套件 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.4.7 stable/testing/unstable 混合系統 . . . . . . . . . . . . . . . . . . . 16 3.4.8 刪除暫存的套件檔 . . . . . . . . . . . . . 適用於架設產品化伺服器,該版本只會更新安全性修正的套件。 • testing:— 工作站的首選,該版本包含了較新版本的桌面軟體以及測試。 • unstable: — Cutting edge。Debian 開發者的選擇。 當unstable的軟體在第一個禮拜或更久沒有 release-critical(RC)的臭蟲時,便會自動移動 到testing。 Debian 發行版本也有代號。 在Sarge發0 码力 | 29 页 | 862.98 KB | 1 年前3使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2023.11)
[Prototype design end] as [TASK1] lasts 19 days [TASK1] is colored in Lavender/LightBlue [Testing] lasts 14 days [TASK1]->[Testing] 2021-01-18 to 2021-01-22 are named [End's committee] 2021-01-18 to 2021-01-22 [Prototype design end] as [TASK1] lasts 19 days [TASK1] is colored in Lavender/LightBlue [Testing] lasts 14 days [TASK1]->[Testing] 2021-01-18 to 2021-01-22 are named [End's committee] 2021-01-18 to 2021-01-22 [Prototype design] as [TASK1] lasts 130 days [TASK1] is colored in Lavender/LightBlue [Testing] lasts 20 days [TASK1]->[Testing] 2021-01-18 to 2021-01-22 are named [End's committee] 2021-01-18 to 2021-01-220 码力 | 539 页 | 7.74 MB | 1 年前3Debian 参考手册(版本 2.109)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 2.7.9 使用带有 unstable 软件包的 testing 版本 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 2.7.10 使用带有 experimental 软件包的 unstable 自由软件指导方针(DFSG) • 基于因特网上无酬劳的志愿者的工作发布:https://www.debian.org • 大量预编译的高质量软件包 • 专注于稳定性和安全性,同时易于获取安全更新 • 在 testing 版仓库中注重软件包最新版本的平滑升级 • 支持大量硬件架构 Debian 系统中的自由软件来自GNU, Linux, BSD, X, ISC, Apache, Ghostscript, Common 编译器、库版本和解释器特性等等。 Debian 系统管理员中的新手应该保持在只进行安全更新的 stable 版本。直到你十分了解 Debian 系统前,你应当遵 循下列的预防措施。 • 在 源文件中不要包含 testing 或 unstable 。 • 在 源文件里不要在标准的 Debian 中混合使用其它非 Debian 的档案库,例如 Ubuntu 。 • 不要建立“/etc/apt/preferences”。0 码力 | 261 页 | 1.39 MB | 1 年前3Debian 參考手冊(第 2.109 版)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 2.7.9 使用帶有 unstable 軟體包的 testing 版本 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 2.7.10 使用帶有 experimental 軟體包的 unstable 自由軟體引導方針(DFSG) • 基於網際網路上無酬勞的志願者的貢獻:https://www.debian.org • 大量預編譯的高品質軟體包 • 專注於穩定性和安全性,同時易於獲得安全更新 • 致力於使 testing 版存檔庫中的軟體包都能平順升級至最新版本 • 支援大量硬體架構 Debian 系統中的自由軟體來自GNU, Linux, BSD, X, ISC, Apache, Ghostscript, 編譯器、庫版本和直譯器特性等等。 Debian 系統管理員中的新手應該保持在只進行安全更新的 stable 版本。直到你十分了解 Debian 系統前,你應當遵 循下列的預防措施。 • 在 原始檔中不要包含 testing 或 unstable 。 • 在 原始檔裡不要在標準的 Debian 中混合使用其它非 Debian 的檔案庫,例如 Ubuntu 。 • 不要建立“/etc/apt/preferences”。0 码力 | 260 页 | 1.41 MB | 1 年前3对 Go 程序进行可靠的性能测试
假设检验的原理 ● 局限与应对措施 ● 总结 2020 © Changkun Ou · Go 夜读 · 对 Go 程序进行可靠的性能测试 教科书式的性能测试方法论 3 在《Software Testing: Principles and Practices》一书中归纳的性能测试方法论: 1. 搜集需求 2. 编写测试用例 3. 自动化性能测试用例 4. 执行性能测试用例 5. 分析性能测试结果 test -bench 2020 © Changkun Ou · Go 夜读 · 对 Go 程序进行可靠的性能测试 进行性能基准测试的方法 8 func BenchmarkFoo(b *testing.B) { for i := 0; i < b.N; i++ { foo() // 被测函数 } } 执行性能基准测试: $ go test -bench=. benchstat 两组浮点数之间进行假设检验(Hypothesis Testing)。 我们之后再来讨论假设检验。 例子与实践 2020 © Changkun Ou · Go 夜读 · 对 Go 程序进行可靠的性能测试 例 1:sync.Map.Delete 的一个优化 13 在 sync.Map 中存储一个值,然后再并发的删除该值: func BenchmarkDeleteCollision(b *testing.B) {0 码力 | 37 页 | 1.23 MB | 1 年前3Apache ShardingSphere v5.5.0 document
tuning to test tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 501 Stress testing environment or parameter recommendations . . . . . . . . . . . . 501 Appendix . . . . . . . . . full‐link online load testing scenarios, ShardingSphere supports data isolation in com‐ plex load testing scenarios through the shadow database function. Execute your load testing scenarios in a production multiple ser‐ vices to be completed through a series of services and middleware calls. The pressure testing of a single service can no longer reflect the real scenario. In the test environment, the cost0 码力 | 602 页 | 3.85 MB | 1 年前307. 杜逸先 使用 VS Code 开发 Python 项目的最佳实践
Code与Python——Testing VS Code与Python——Testing VS Code与Python——Testing VS Code与Python——Testing VS Code与Python——Testing VS Code与Python——Testing VS Code与Python——Testing VS Code与Python——Testing VS Code与Python——Testing Code与Python——Testing VS Code与Python——Jupyter Notebook VS Code与Python——Jupyter Notebook 最佳实践 最佳实践 最佳实践——项目管理 最佳实践——Git 增强(Git Graph) 最佳实践——Git 增强(Git Lens) 最佳实践——协作开发(VS Live Share) 最佳实践——远程开发(Remote0 码力 | 46 页 | 2.65 MB | 1 年前3[JavaSE实验] JDBC and MySQL
select Add Library option. From the list of options, select MySQL JDBC Driver. 4 Installation and Testing If you don't already have MySQL installed, we must install it. $sudo apt-get install mysql-server data. These tables will be used throughout this tutorial. DROP TABLE IF EXISTS Books, Authors, Testing, Images; CREATE TABLE IF NOT EXISTS Authors(Id INT PRIMARY KEY AUTO_INCREMENT, Name VARCHAR(25)) KEY(AuthorId) REFERENCES Authors(Id) ON DELETE CASCADE) ENGINE=InnoDB; CREATE TABLE IF NOT EXISTS Testing(Id INT) ENGINE=InnoDB; CREATE TABLE IF NOT EXISTS Images(Id INT PRIMARY KEY AUTO_INCREMENT,0 码力 | 23 页 | 2.52 MB | 1 年前3鸟哥的Linux 私房菜
/etc/group 里面存在的名字才行,否则就会显示错误!例如底下的例子中,我们要将 tmp 的群组改变一下,其中, users 这个群组本身已经存在 /etc/group 当中了,但是 testing 这个群 组名字就不存在 /etc/group 当中,所以就会有错误讯息发生啦! 语法: chgrp 群组名称 档案或目录 范例: [root@test root]# chgrp drwx------ 2 root users 4096 Oct 19 21:24 tmp/ [root@test root]# chgrp testing tmp chgrp: invalid group name `testing' <==发生错误讯息啰! • 改变档案拥有者, chown: 好了,那么如何改变一个档案的拥有者呢?很简单呀!既然改变群组是 change 码,那 就是『 ~ 』符号!例如上面的例子可以发现,使用『 cd ~ 』可以回到个人的家目录里头去呢! 此外,如果你的 Linux 主机当中有个 testing 的账号,你要到他的家目录去,可以下达『 cd ~testing』立刻去到 testing 的家目录啰! • pwd 语法: [root @test /root ]# pwd 范例: [root @test root]#0 码力 | 386 页 | 11.69 MB | 1 年前3
共 288 条
- 1
- 2
- 3
- 4
- 5
- 6
- 29