[JavaScript.6] Summary of phase concepts: HTML + CSS + JavaScript + xml + xpath + Json + Ajax

Source: Internet
Author: User

[JavaScript.6] Summary of phase concepts: HTML + CSS + JavaScript + xml + xpath + Json + Ajax
[Preface]

Recently I learned a lot about BS new things, including many new names, concepts, and misunderstandings. Today, let's take a look at what we learned.

A conceptual summary. This article is mostly a conceptual personal understanding, hoping that the friends who have the same doubts will be suddenly enlightened after reading this article.

Cheerful. Of course, if my understanding is biased, point out and make progress together.

I believe many people have already learned about BS. I first came into contact with niu Miao, who used a lot of BS knowledge, including HTML,

CSS, JavaScript, and Ajax. For those who have the foundation or are in confusion, they may feel deeply involved in the next step.

[HTML]

The first is HTML. It is a hypertext markup language and the main language for web development. We need to design the layout content and display data on the page.

To HTML, we can say there is no web development without HTML. The title of the webpage we developed, the content presented to others, and the transmitted data all depend on it.

[CSS]

CSS is called a style cascade table. as its name implies, CSS is designed for HTML-developed webpages. Such as layout, font color, text box

Distance, image loading methods, and so on. If you compare a webpage to a person, HTML ensures that the person is active and has no arm or legs. While

CSS is used to make people wear clothes and hats, so that they are not bare.

[JS]

JavaScript sounds very big, but it is actually very big, because it can do a lot of work to reduce client requests to the server.

In order to reduce the workload of servers, this is necessary in today's era of big data explosion.

For example, when you log on to a game or a Web page that requires account name logon, your user name and password follow certain rules,

For example, you cannot have special characters or digits. When you click to log on, JavaScript will determine the logon information format. If yes, you can submit the information.

To the database service. For another example, the problem of repeated submission may be caused by slow network speed and processing speed. When you click OK, the page does not change much.

So you start to frantically click the OK button, but repeated submission will cause a lot of requests to the server. In this case, JavaScript can add one.

Judgment. If a request is submitted to the service, the request is rejected until the last request has a reply.

Therefore, JavaScript plays a very important role in big data interaction. It is equivalent to a portal that filters out the data of some fish and

The submission requirements are clean.

[XML]

XML is actually very closely related to JS. Many people associate XML with HTML, but they are not directly related. XML is a scripting language,

If you cannot understand it, you can think of it as a record table and a small data file. It is a data structure used to store data, while HTML

It is a markup language and a data display structure. HTML display data can be obtained from xml as needed. So how can we get it? Remember

Did you just say JavaScript? No error is returned. When the data displayed on the HTML page is frequent or the private information of a personal browser is displayed

Store data in an xml file and call it as needed to avoid repeated requests to the server and store private information.

[XPATH]

XPath actually serves XML. When obtaining XML file information, you can use the loading method provided by XML, but for developers,

This is a complicated problem. As a result, XPath was born. It provides a set of methods or paths that developers can easily and conveniently obtain.

XML storage information.

[JSON]

However, the method of XPath is also complicated and cumbersome, and the acquisition of XML files is also complicated. So the omnipotent developer re-designs one

A new script is JSON. Both XML and XML are data storage structures used to record stored data. However, its data acquisition is simpler than XML, and

Welcome and use.

[Ajax]

Ajax (Asynchronous JavaScript and XML) is a web development technology used to create interactive web applications. By performing a small amount of operations on the background and the server

Data exchange. AJAX enables asynchronous updates on webpages. This means that you can modify a part of a webpage without reloading the entire webpage.

New. If you need to update the content of a traditional web page (without AJAX), you must reload the entire web page.

[Conclusion] by reorganizing these new concepts and comparing their language, we can further understand them and hope to help more people.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.