b/S Learning Puzzles Collection <干货> Beginners b/S Benefits of the students

Source: Internet
Author: User
Tags advantage

Learning b/S, the way is confused, many nouns although the early smell of its name, but never seen ticket. I'm afraid I don't know! HTML, CSS, JavaScript, XML, JQuery, Ajax and so on a series of nouns "overwhelming" came, really a bit dazzling.

Why have C/s and b/s points, the relationship between the two and what is the difference? What is the relationship between HTML, CSS, and Javascrip? What is the difference between XML and HTML? Why do you need jquery when you have a JAVASCRIPTT? What role does Ajax play? ...... A series of questions are also coming, for the various video of the teacher's explanation really feel some circle!!! →_→

The following is based on my own understanding of each of these questions, there are deficiencies also hope that teachers and students to criticize.

The difference between 1.b/s and C/s and their advantages and disadvantages

Difference

c/S (client/server), also known as the client and server. Servers typically use High-performance PCs, workstations, or minicomputer. and requires a large database system such as Oracle, Ybase, SQL Server, etc., the client needs to install dedicated client software.

b/S (browse/serverr), translated into browsers and servers. Only one browser is installed on the client, the server installs databases such as Oracle, Sybase, SQL Server, and the browser interacts with the database through the Web server.

Like we use the QQ software belongs to C/S, and QQ space belongs to B/S.

Disadvantages

The advantage of C/s is to be able to give full play to the Client PC processing capacity, a lot of work can be processed in the client and then submitted to the server, response speed, C/s-oriented user groups are relatively fixed, so security can be higher. The disadvantage of C/s is that the client needs to install a dedicated client software, need to expend a certain amount of human and material resources; Second, any computer problems such as file loss, virus, etc. will affect the normal use of users; C/s Another disadvantage is limited to the local area network, each client line Unicom is a big problem ; Once the system is upgraded, any client needs to be updated.

The advantage of B/s is that there is no need to install the client all operations can be done on the Web page, no matter in any place at any time only need a computer can access the Internet can be used, client 0 maintenance; Easy to expand, different people enter different user name password, can find different information, the user group is huge; B/ The biggest disadvantage of s is that it is not suitable for the fixed user, so the security is low, and the second is B/s for the system running speed, it needs to be based on more optimization.

The difference and connection between 2.XML and HTML

XML (extensible Markup Language) Extensible Markup Language and HTML (Hypertext Markup Language) Hypertext Markup Language. Their similarities lie in the end of ML, all in the markup language (haha ...). Don't shoot Bricks! , both as markup languages, without any submission processing of data, just marking, other operations requiring additional CSS code or JavaScript code.

XML differs from HTML in that it requires different syntax, is case-insensitive in HTML, is strictly distinguishable in HTML, and can omit the </> end flag if the context clearly shows where the paragraph or list key ends. In XML, the strict tree structure is never allowed to omit the end flag, the markup is different, the HTML usually uses a fixed tag, and the XML is not fixed, the effect is different, HTML is used to display data, XML is used to describe or store data.

XML is the predecessor of HTML, but XML is definitely not a substitute for HTML, and as a markup language for different purposes, XML is more of a complement and extension of HTML.

3.CSS, HTML, and JavaScript play their respective roles

CSS is called cascading style sheets, referred to as style sheets. You can see from the name that it is the style of the elements tagged in html, and by writing the appropriate code in the stylesheet, you can make each element of our markup appear in the format we want to display in the page.

JavaScript is the most scripting language, can achieve the dynamic effect of Web pages, it is mainly as a client-side scripting language in the client's browser run, do not need the support of the server, reduce server burden, so more pro-Lai. For the relationship between the three previous blog has been introduced, this does not repeat. See also for details: http://blog.csdn.net/u010926964/article/details/39083443

The relationship between 4.JavaScript, jquery and Ajax

jquery is a fast and concise JavaScript library that brings together features that are commonly used in JavaScript so that users can call directly without having to write complex JavaScript code, which is a encapsulation of JavaScript. Ajax (Asynchronous JavaScript and XML) asynchronous JavaScript and XML. It is not a technology, but a combination of several technologies, each of which has its own unique, combined to form a powerful Ajax.

The relationship between the three I use a mind map to expand:

The entire B/s learning phase, although the new technology is more, but the real relationship between them to find out, it is so. Do not know the truth, only the body in this mountain. It is difficult to understand the truth even if it is simply a technique to hold on to. These technologies are critical in designing Web pages, without any of them being successful.

These are I in the study of B/s phase of some confusion, summed up to share to everyone, hope to be helpful to you.

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.