In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how web is made up. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
As you can see, a complete web consists of the front end and the back end, the front end HTML, CSS, JavaScript are languages, HTML we call hypertext markup language, the main function is to explain to the browser, for example, one of our web pages uses him to tell the browser, where is the button, where the line should be changed, and so on. CSS is generally called cascading stylesheet. Popularly speaking, it is a coat of html. The web page style written by HTML itself is fixed, but every web page in our life is different. Why? it is because there is a CSS stylesheet, which puts a coat on each web page to tell the browser what color the button is, how high and how wide it is, and what does JavaScript do? Just now, through HTML and CSS, we know that we have been able to display some elements of the web page, but just showing it is too boring to move. JavaScript makes these elements move. JavaScript is a browser scripting language that can run under the browser without any environment, so in web development, we use it to add actions to the web page. For example, when you click a button, you need to pop up a dialog box, or the picture rotation that we often see is done with it. What do you think? be strong.
But is this what we see on the web page? No, it's not. It was like this only more than ten years ago, and now it's much more advanced. Now we have a back end to provide data. So what exactly is the back end?
In fact, the back end is a processing logic, our front end needs data, otherwise every time you look at a web page, you have to write a web page, you must not be tired to death. So at this time, there is a dynamic web page, that is, in the same web page, you can see different content, which requires the support of the back end. The back end serves the front end, what the front end wants, and what the back end gives. Of course, it can also be understood the other way around. What the back end gives, the front end shows. The simple back-end is mainly composed of three parts, a database is used to store data, a language that can deal with logical data (Java, PHP, nodejs) and so on, this kind of language is mainly used to take data from the database, after processing, send it to the front end for display. There is also a server (Apache, tomcat, etc.), which is mainly used to respond to data. For example, the user enters a URL and tells it that I want to view the web page. After receiving it, the server can do a series of processing to return it to the user. The whole process is shown in the following figure:
Thank you for reading! This is the end of the article on "how web is formed". I hope the above content can be helpful to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.