"Preface"
Recently learned a lot of new things BS, there are many new names, more concepts, less understanding, a lot of things are chaotic. Today calm down to learn a few
a summary of conceptual things A moment. This article is a number of conceptual personal understanding, hope that the same doubts of the small partners after reading can be as Taoyuan suddenly
cheerful. Of course, if my understanding is biased, please point out and make progress together.
On the BS study, I believe many people have gone through, the first contact is the beef brisket, which used a lot of BS knowledge, including HTML,
CSS, JavaScript, Ajax, and more. For those who have a foundation or are in confusion, the next words may be very touching.
"HTML"
The first is HTML, it is Hypertext Markup Language, is the main language of web development, we design the layout of the page content, display the data to use
To HTML, you can say there is no web development without HTML. The title of the Web page we develop, the content that is presented to others, and the data that we transmit are all dependent on it.
Is.
"CSS"
CSS is called the style cascading table, as the name implies, is the HTML development of the Web page style design. such as layout, font color, text box
Distance, how to load pictures, and so on. If the page is likened to a person, then HTML is to ensure that the person is alive, and not lack of arms and legs. and
The role of CSS is to let this person have clothes to wear, a hat to wear, so that it is not bare.
"JS"
JavaScript sounds very tall, actually really big on, because it can do a lot of first work to reduce client requests to the server
The number of times, in order to reduce the workload of the server, in today's big data explosion era, this is very necessary.
For example: A game or a Web page that requires an account name to log in, when you log in, your username and password are in fact followed by a certain set of rules,
For example, you cannot have special characters and bit limits, and when you click Log in, JavaScript will format the login information and submit it if it is compliant.
to the database service. For example, the problem of repeated submissions, probably because of speed and slow processing, when you click the OK button, the page does not change
And then you start frantically clicking on the OK button, but repeating commits can cause a lot of requests to the server. JavaScript can then add a
A judgment, if the commit request service has occurred, then the request is rejected again until the last request has a reply.
So JavaScript plays an important role in big data interactions, which is the equivalent of a portal that filters out some stray fish data to match
Submit the required clean.
"XML"
XML and JS have a lot of connection, there are many people put XML and HTML together, in fact, they are not directly linked. XML is a scripting language,
If you don't understand it, you can think of it as a record table, a small data file, a data structure used to store it, and HTML
is a markup language, which is a structure of data display. The data displayed by HTML can be obtained from XML when needed. So how do you get it? Remember just
The javascript you just said? There is nothing wrong with it, when the HTML page displays more frequent data or private information from a personal browser, you can
Store the data in an XML file, call it when needed, avoid frequent server interactions and store private information.
"XPATH"
XPath is actually a service to XML. When getting XML file information, you can use the Load method provided by the XML itself, but for developers,
This is a more complicated problem. So XPath was born, and it provides a set of methods or paths that make it easier and easier for developers to get
The storage information for XML.
"JSON"
But the XPath approach also has complex and cumbersome problems, and XML file acquisition is also quite complex. So the almighty developer redesigned a
A new script that's JSON. Both it and XML are data structures for data storage, which are used to record stored data. But its data acquisition is simpler than XML, and is subject to
Everyone's welcome and use.
"Ajax"
Ajax (Asynchronous JavaScript and XML) refers to a web development technique that creates interactive Web applications. By a small number of servers in the background
Data exchange, AJAX can make the Web page implementation of asynchronous updates. This means that a part of a page can be made more easily without reloading the entire page.
New. Traditional Web pages (without AJAX) if you need to update the content, you must reload the entire page page.
"Summary"
by re-combing these new concepts and contrasting the language, let yourself learn more about them and hope to help more people.
The html+css+javascript+xml+xpath+json+ajax of the concept summary of "javascript.6" stage