For faster navigation, this Iframe is preloading the Wikiwand page for 前端和后端.

前端和后端

此条目没有列出任何参考或来源。 (2014年6月3日)维基百科所有的内容都应该可供查证。请协助补充可靠来源改善这篇条目。无法查证的内容可能会因为异议提出而被移除。

前端(英语:front-end)和后端(英语:back-end)是描述进程开始和结束的通用词汇。前端作用于采集输入资讯,后端进行处理。电脑程序的界面样式,视觉呈现属于前端。

电脑科学

软体架构程式设计领域,前端是软体系统中直接和用户交互的部分,而后端控制着软件的输出。将软体分为前端和后端是一种将软体不同功能的部分相互分离的抽象

大部分软体都概念性地分成了前端和后端,但大多数情况下,软体的后端经常是隐藏着而不被用户看到。但是,有些软体仅仅是另一个已经存在的软体的前端,就像一个图形用户界面 (GUI) 构建在字符界面之上。这些前端在Unix GUI中非常普遍,很多程序被分成了很多小项目,使它们能够互不依赖但又能协同在一起工作。(见桌面环境

可以将与电脑交互过程分为前端和后端,例如:一个图形界面的文件管理器,就像Windows 资源管理器,可以想象成管理文件系统的前端。 在操作系统中,Unix Shell或Windows的cmd.exe可以认为是和操作系统交互的前端。

编译器中,前端将程式设计语言原始码转换成一种中间形式,后端再将它转换成电脑能够运行的二进制代码。后端还经常对代码进行优化以提升程序的运行效率。前端和后端的区别能够将处理原代码的语法解析器和生成机器码和对代码进行优化的后端区分开。一些编译器,像 GCC,提供不同的前端分别解析不同语言的原始码 和/或 不同的后端针对不同的目标机器生成机器码。

语音合成中,前端将输入的文字合成为代表音节的符号,后端将这些符号转换成真实的声音。

网络应用程式中,前端是浏览器中与用户交互的部分,而后端的应用程式伺服器负责接收前端输入的数据,经过处理后再输出到前端。

参考文献

{{bottomLinkPreText}} {{bottomLinkText}}
前端和后端
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?