Home >Backend Development >PHP Tutorial >Detailed explanation of front-end and back-end interaction
This article talks about the interaction between front-end and back-end. If you don’t know about the interaction between front-end and back-end or are interested in the interaction between front-end and back-end, let’s take a look at this article together. Okay, enough nonsense. Let’s get to the point!
What is a web server?
Server: Popular understanding, a machine that works 24 hours a day
Web server: A machine that works 24 hours a day and can handle web requests Server
Look at the picture and speak with examples
Since the server is a machine, then there will be an operating system
The common operating system installed on the server is Linux , Linux will have many different versions, such as ubuntu, centos, and redhat. Windows is not as dominant as the personal operating system in the server field (everyone has used Windows, so I won’t go into details here), so why do server operating systems use Linux? The reason is that the non-graphical interface and operating system resources The occupancy rate is small.
Picture description: Tencent Cloud Server (Linux-centos7) (1 yuan student price, very affordable), login software putty, portal: download
C language, it provides a compilation environment for C language. Next, let’s talk about the web backend. I believe that even if you don’t understand the backend, you have heard of backend languages, such as: php, java, .net, nodeJS, then these languages are required A "VC++6.0" in the background, here is the apache, tomcat, nodeJs
that we have heard about on weekdays.php, java, .net, nodeJS
simple implementation of hello, world, as shown below Server-side application + background language==real server background applicationCommon databases include
Mysql, SqlServer, Oracle
Related recommendations:
Summary of related content about front-end and back-end interaction
The above is the detailed content of Detailed explanation of front-end and back-end interaction. For more information, please follow other related articles on the PHP Chinese website!