什么是Web框架以及前端和后端与Web框架的关系?
什么是网络框架,前端和后端与网络框架有何关系?这些网络框架(Django,烧瓶等)在前端还是后端工作?
What is a web framework and how are frontend and backend related to a web framework? Are these web framework (Django, flask etc..) work at the frontend or at the backend?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
首先, 框架 ...我们可以这样理解,如果有一个人制造砖头。他根据高度和宽度长度等测量值制作了第一个砖块,他必须制作100块砖,因此他制作了一个相同高度,长度和宽度的盒子,而不是一次又一次地进行测量,该盒子称为框架。
框架是一系列工具,旨在帮助创建项目,因此您无需从头开始。
同样,Web框架或Web应用程序框架有助于构建Web应用程序。
Web框架有两种类型:
1。服务器端/后端
网站的 前端 是呈现给用户的部分,当您在浏览网络。
后端 是该演示层背后的技术,它使一切都起作用,即服务器,应用程序和数据库。
基本上 django 是一个后端框架,但既是前端又是后端。
但 flask 是后端框架 。
Firstly Framework... we can understand this in this way that if there is a person who made bricks. He made the first brick according to measurements like height and width length and he has to make 100 bricks so he made a box of the same height, length, and width instead of doing measurements again and again, and that box is called a framework.
Framework is a collection of tools designed to help create your projects so you don't need to start from scratch.
Similarly, a web framework or web application framework helps build web applications.
There are two types of web-framework:
1. Server-side/Backend
2. Client-side/Frontend
The frontend of a website is the part that is presented to the user, the parts you see and interact with when browsing the web.
The backend is the technology behind that presentation layer that makes everything work, i.e. the server, application, and database.
Basically Django is a backend framework but it is both frontend and backend.
But Flask is backend framework.