后端在Web开发中的重要性是什么

发布于 2024-09-03 11:40:43 字数 1437 浏览 6 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(7

伴我心暖 2024-09-10 11:40:43

有时它可以指与运行网站的构建代码相关的开发(如前面的答案所述),以及用于管理数据的区域(网站的管理部分)。

网站面向公众的部分通常称为前端,以及用于处理请求、呈现 (x)html 代码等的代码。因此,面向公众的所有内容都可以称为前端,而不是面向公众的所有内容,即对公众隐藏并且运行在“幕后”可以说可以称为后端。

Sometimes it can refer to development related to building code that runs the site (as previous answer said), AND to the area that is used to manage data (administrative part of web site).

Public-facing part of site is usually referred as frontend, along with code that exists for purpose of handling requests, rendering (x)html code, etc. So everything public-facing could be called frontend, and everything that is not, that is hidden from public and that runs "behind the curtains" so to say, can be called backend.

满地尘埃落定 2024-09-10 11:40:43

Web 开发中的后端通常是指为动态站点进行数据检索和插入/更新的编程。例如,它可能会在数据库中查找产品以允许用户购买。 “前端”只是向用户显示这些内容的 HTML。

Backend in web developing usually refers to the programming that is doing data retrieval and insert/updates for a dynamic site. For example, it might be looking up products in a database to allow the user to buy. The "frontend" is just the HTML that displays these to the user.

天赋异禀 2024-09-10 11:40:43

值得一提的是(因为还没有人这么做),前端是指客户端执行代码(javascript、css、标记、其他一些脚本技术和 Flash 之类的东西),后端通常是指服务器端执行代码(C# 、PHP、SQL、其他一切...)。前端以用户(人)为中心,后端以数据为中心。

It's worth saying (because nobody else did yet) that front-end refers to client-side executing code (javascript, css, markup, some other scripting technologies and things like flash) back-end usually refers to server-side executing code (C#, PHP, SQL, everything else...). Front-end is user (human) centric, back-end is data-centric.

少年亿悲伤 2024-09-10 11:40:43

“后端”和“前端”并不是真正精确的术语,所以我猜不同的人对它们的使用方式有所不同。

话虽这么说,我认为以下内容普遍适用:

后端是做事情的代码(做数学、与其他网络服务器交互、游戏中角色的人工智能等)。这与允许用户与后端交互的前端不同(即:处理按钮和表单字段、显示警报等)。

快速谷歌搜索会显示以下解释: http://en.wikipedia.org/维基/前端和后端

'Backend' and 'frontend' aren't really exact terms, so I'd guess that different people use them differently.

That being said, I think the following applies in general:

Backend is the code that does stuff (doing math, interacting with other web servers, a character's AI in a game, etc). This is different from the frontend which lets the user interact with the backend (ie: dealing with buttons and form fields, showing alerts, etc).

A quick google search brings up the following explanation: http://en.wikipedia.org/wiki/Front-end_and_back-end

瘫痪情歌 2024-09-10 11:40:43

后端包含(或至少应该包含)实际的应用程序逻辑。因此,在理想的情况下,您应该能够非常轻松地切换前端,甚至让许多前端访问同一个后端。举个例子,Twitter 为普通用户提供了基本的网站,以及开发人员可以使用的 API基于 Twitter 提供的数据和服务构建应用程序。

The back-end contains (or at least should contain) the actual application logic. Thus in an ideal world you should be able to switch the front-end quite easily or even have many front-ends accessing the same back-end. As an example of this Twitter offers you the basic web site for normal users and an API that can be used by developers to build applications based on the data and services offered by Twitter.

⊕婉儿 2024-09-10 11:40:43

BaaS 已成为许多 Web 开发人员的首选方式,因为开发人员希望更多地关注应用程序功能和用户体验,而不是后端功能。如果您使用后端,则不必担心服务器配置的可扩展性、可维护性、并发性等。这些东西由后端提供商管理。开发人员只专注于前端和 UI。

因此 BaaS 有助于让开发人员的生活变得轻松。

BaaS has become a preferred way for many web developers, because developers want to focus more on their application functionality and user experience rather than Backend functionality.If you are use backend you don't worry about server configuration scalability ,maintainability,concurrency etc .All these thing manage by backend provider.Developer only concentrate on fornt end and UI.

So BaaS help to make developer life easy.

本宫微胖 2024-09-10 11:40:43

请注意,后端与后台代码不同。在 C# 和 VB(.NET 语言)(不知道其他语言)中,您将获得与您的 aspx 页面相关的 cs 或 vb 文件。
不要混淆它们,因为你会感到困惑。

Do note that the back-end is something different as the code-behind. In C# and VB (.NET languages) (don't know about other languages) you'll get a cs or vb file which is related to your aspx-page.
Don't mix those up as you'll get confused.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文