Django、Vue 和Element UI 前后端原理论述一篇是你在开始动手搭建环境前需要了解各工具原理的文章。 这是一篇你真正开始前需要查阅的文章。 本文介绍了前后端工作原理,前后端搭建的流程、搭建过程中需要用到的技术以及 开发环境版本。 一、前后端如何工作 Django、Vue 和 Element UI 前后 端原理论述 作者:M&T. 2 《51 测试天地》七十四 www.51testing.com 后端开发(Django+Rest Framework+MySQL): 与前端进行数据交互。 MySQL 是一个关系型数据库,用于存储后端的数据。 前端开发(Vue+Element UI): Vue 是一种现代的 JavaScript 框架,用于构建用户界面。Vue 提供了丰富的组件和模 块,可以帮助开发者构建交互式的单页面应用(SPA)。 Element UI 是一个基于 Vue 的 UI 组件库,提供了丰富的预定义组件,用于快速搭建 美观的用户界面。 前后端交互: 前后端交互: 后端通过 Django Rest Framework 提供 API 接口,前端通过 Vue 发起 HTTP 请求调用 这些 API 接口。 前端通过 HTTP 请求向后端发送数据请求,后端根据请求进行相应的数据处理,并 返回响应数据给前端。 前端接收到后端返回的数据,并根据数据更新页面展示,实现与用户的交互。 总体而言,这种前后端分离的开发模式有助于实现前后端开发的解耦,使得各自的0 码力 | 61 页 | 6.84 MB | 1 年前3
Django 1.8.x DocumentationDjango at a glance Design your model Install it Enjoy the free API A dynamic admin interface: it’s not just scaffolding – it’s the whole house Design your URLs Write your views Design your templates This miscellany API stability What “stable” means Stable APIs Exceptions Design philosophies Overall Models Database API URL design Template system Views Cache Framework Third-party distributions of Django the team | Current roles | The Django source code repository | Security policies | Mailing lists Design philosophies: Overview Documentation: About this documentation Third-party distributions: Overview0 码力 | 2454 页 | 2.85 MB | 1 年前3
Django 1.10.x DocumentationDjango at a glance Design your model Install it Enjoy the free API A dynamic admin interface: it’s not just scaffolding – it’s the whole house Design your URLs Write your views Design your templates This miscellany API stability What “stable” means Stable APIs Exceptions Design philosophies Overall Models Database API URL design Template system Views Cache Framework Third-party distributions of Django the team | Current roles | The Django source code repository | Security policies | Mailing lists Design philosophies: Overview Documentation: About this documentation Third-party distributions: Overview0 码力 | 2538 页 | 2.59 MB | 1 年前3
Django 1.8.x Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1321 7.2 Design philosophies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . team | Current roles | The Django source code repository | Security policies | Mailing lists • Design philosophies: Overview • Documentation: About this documentation • Third-party distributions: Overview a project, you can start with the tutorial or dive right into more detailed documentation. 2.1.1 Design your model Although you can use Django without a database, it comes with an object-relational mapper0 码力 | 1685 页 | 6.01 MB | 1 年前3
Django 1.10.x Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1387 7.2 Design philosophies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . team | Current roles | The Django source code repository | Security policies | Mailing lists • Design philosophies: Overview • Documentation: About this documentation • Third-party distributions: Overview a project, you can start with the tutorial or dive right into more detailed documentation. 2.1.1 Design your model Although you can use Django without a database, it comes with an object-relational mapper0 码力 | 1817 页 | 6.19 MB | 1 年前3
Django 1.11.x DocumentationDjango at a glance Design your model Install it Enjoy the free API A dynamic admin interface: it’s not just scaffolding – it’s the whole house Design your URLs Write your views Design your templates This miscellany API stability What “stable” means Stable APIs Exceptions Design philosophies Overall Models Database API URL design Template system Views Cache Framework Third-party distributions of Django process | Team organization | The Django source code repository | Security policies | Mailing lists Design philosophies: Overview Documentation: About this documentation Third-party distributions: Overview0 码力 | 2747 页 | 2.67 MB | 1 年前3
Django 2.1.x DocumentationDjango at a glance Design your model Install it Enjoy the free API A dynamic admin interface: it’s not just scaffolding – it’s the whole house Design your URLs Write your views Design your templates This miscellany API stability What “stable” means Stable APIs Exceptions Design philosophies Overall Models Database API URL design Template system Views Cache Framework Third-party distributions of Django process | Team organization | The Django source code repository | Security policies | Mailing lists Design philosophies: Overview Documentation: About this documentation Third-party distributions: Overview0 码力 | 2790 页 | 2.71 MB | 1 年前3
Django 2.0.x DocumentationDjango at a glance Design your model Install it Enjoy the free API A dynamic admin interface: it’s not just scaffolding – it’s the whole house Design your URLs Write your views Design your templates This miscellany API stability What “stable” means Stable APIs Exceptions Design philosophies Overall Models Database API URL design Template system Views Cache Framework Third-party distributions of Django process | Team organization | The Django source code repository | Security policies | Mailing lists Design philosophies: Overview Documentation: About this documentation Third-party distributions: Overview0 码力 | 2746 页 | 2.67 MB | 1 年前3
Django 2.2.x DocumentationDjango at a glance Design your model Install it Enjoy the free API A dynamic admin interface: it’s not just scaffolding – it’s the whole house Design your URLs Write your views Design your templates This miscellany API stability What “stable” means Stable APIs Exceptions Design philosophies Overall Models Database API URL design Template system Views Cache Framework Third-party distributions of Django process | Team organization | The Django source code repository | Security policies | Mailing lists Design philosophies: Overview Documentation: About this documentation Third-party distributions: Overview0 码力 | 2915 页 | 2.83 MB | 1 年前3
Django 2.1.x Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1421 7.2 Design philosophies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . process | Team organization | The Django source code repository | Security policies | Mailing lists • Design philosophies: Overview • Documentation: About this documentation • Third-party distributions: Overview a project, you can start with the tutorial or dive right into more detailed documentation. 2.1.1 Design your model Although you can use Django without a database, it comes with an object-relational mapper0 码力 | 1910 页 | 6.49 MB | 1 年前3
共 47 条
- 1
- 2
- 3
- 4
- 5













