Mr. Heng guua deeply analyzes the front-end AJAX and FORM technologies of the QQ space, and deeply analyzes ajax

Source: Internet
Author: User

Mr. Heng guua deeply analyzes the front-end AJAX and FORM technologies of the QQ space, and deeply analyzes ajax
[Emperor] Beijing-henggua-7 years (601069289) 22:06:34
Marshal-Godfather of PHP (601069289) 21:35:29



Here is the QQ Space Image Upload Method
Is FLASH
My grass
Marshal-Godfather of PHP (601069289) 21:36:31
Not JS
FLASH for QQ space
Image Upload Method

Marshal-Godfather of PHP (601069289) 21:37:35
So far, all the technologies in the QQ space have been cracked by me.
@ IT Plato
Marshal IT Plato (2500875) 21:38:11
You are a genius.
[Tuhao] AB (416435562) 21:38:26
I really admire the use of this word.
Marshal-Godfather of PHP (601069289) 21:39:10
Images are rare to admire
[Local tyrants] lazy d large (502666046) 21:39:34
It seems like a great god
Marshal-Godfather of PHP (601069289) 21:39:48
QQ space, I can implement all of its technologies within 30 days
Supports 100 billion million users
Use both
[Tuhao] AB (416435562) 21:40:16
Isn't it a day? It seems that I overestimated you.
Marshal-Godfather of PHP (601069289) 21:40:29
Only about 10 tables are required.
Marshal-Godfather of PHP (601069289) 21:41:29
My grass, you think it's a machine
The architecture takes 10 minutes.
[Local tyrants] lazy d large (502666046) 21:41:45
Isn't cucumber better than a machine?
Marshal-Godfather of PHP (601069289) 21:41:54
It takes less than one month to develop.
[Tuhao] AB (416435562) 21:41:57
It seems that you are overestimated.
Isn't it dozens of lines of code for horizontal melon search?
Code required for a QQ space
Marshal-Godfather of PHP (601069289) 21:43:11

Study QQ logs again
What is the technology?
Submit
Marshal IT Plato (2500875) 21:47:05
I admire melon, just like the silk in this group of urine, Amoy endless ah
Marshal-Godfather of PHP (601069289) 21:48:49

Qq log
Is implemented using FORM.

This is evidence
Marshal-Godfather of PHP (601069289) 21:49:58


See?
Technical explanation of QQ space is complete
[Local tyrants] Shenzhen-ushe-8k (814994791) 21:51:44
Guago's commentary is amazing
[Diaosi] Shenzhen-ATM (376215659) 21:52:53
They are all masters.
[Local tyrants] lazy d large (502666046) 21:53:18
I don't understand it. I feel like tianshu.
[Diaosi] Shenzhen-ATM (376215659) 21:53:44
The godfather of PHP is really unusual.
Eric Cong (726406360) 21:54:24
I almost missed it. It was amazing.
[Local tyrants] Shenzhen-ushe-8k (814994791) 21:54:31
I understand that flash is used to upload files in the QQ space.
[Diaosi] Shenzhen-ATM (376215659) 21:54:56
Godfather...
This is not the name of the inventor of PHP.
[Local tyrants] lazy d large (502666046) 21:54:59
Isn't flash animated? How to upload
Uploading is not going to bed, right?
[Local tyrants] Shenzhen-ushe-8k (814994791) 21:55:47
Not familiar with flash
Marshal-Godfather of PHP (601069289) 21:57:06
<Span class = "txt"> post </span>
Don't talk about Button posting
Use <SPAN>
[Local tyrants] Shenzhen-ushe-8k (814994791) 21:58:04
Javascript form. submit
Marshal-Godfather of PHP (601069289) 21:58:07
That's definitely not FORM.
[Diaosi] Scorpio. Mvc (344068825) 21:58:18
Flash is normal, for example, swfupload is flash.
[Local tyrants] Shenzhen-ushe-8k (814994791) 21:58:53
Yes.
[Diaosi] Scorpio. Mvc (344068825) 21:59:12
For example, to display the upload progress or perform some operations on the client. Flash can do more and easier.
Marshal-Godfather of PHP (601069289) 21:59:45

No FORM at the end
That is to say, QQ said it was submitted by AJAX.
[Local tyrants] Shenzhen-ushe-8k (814994791) 22:02:47
Yes. QQ logs are also generated by AJAX and front-end template engines.
The engine wants to collect the log discovery list of the QQ space and the source code of the log page does not have relevant text information
Marshal IT Plato (2500875) 22:05:54
It's too interesting. It's too cool. It's too embarrassing.















What are the meanings and differences between front-end and backend?

Skill requirements of WEB programmers:

Web programmers should not only be proficient in the language knowledge of backend programs (such as php, jsp, and asp.net), programming architecture knowledge, database knowledge, and other backend related knowledge.

In addition, you must be proficient in the following aspects:

Html:

At least we can know how to nest html tags in a reasonable structure and how to nest commonly used tags. The embedded program code with good structure in the static page can be correctly modified.

JavaScript:

JavaScript is also a programming language, which should not be difficult for backend programmers.

Programming Languages have similarities, such as reuse and inheritance. Therefore, web programmers should sit down on how to simplify the use of JavaScript script applications, rather than using a piece of js code, repeated copies are used on every page.

========================================================== ======================================

Why should web programmers master html and JavaScript?

Web programs are closely related to html and JavaScript. Without html and JavaScript, web programs cannot be called web programs. web developers cannot be called web programmers html, browser is the carrier of web programs.

No matter whether your backend is php, jsp, or asp.net, it will eventually convert the html code on the client and browse it in the browser.

JavaScript makes web programs more interactive and not so dull. The submission and verification of the most basic forms are all verified using js on the client side. Although php and other languages can be used for verification at the backend, many good experiences will be lost.

In terms of collaboration, if web programmers are not proficient in html, JavaScript, collaboration with front-end developers, web designers will also become difficult.

As for the degree of knowledge of html and JavaScript in each phper, it is necessary to configure according to the internal division of labor of phper. For example, there will be different requirements for the underlying architecture of phper and front-end phper.

Phper also needs to understand the development of web standards.

========================================================== ======================================

The difference between front-end development engineers and web programmers and their responsibilities and boundaries are as follows:

Knowledge Structure of front-end engineers:

Proficient in: xhtml, css, and JavaScript

Familiarity: a backend programming language (such as php, jsp, and dotnet)

Why do front-end engineers need to be familiar with backend languages?

Generally, companies with a detailed division of labor need to be familiar with a backend language for front-end engineers. Otherwise, a front-end engineer's development position may not be set.

If you are looking for a small company, you need to be proficient in xhtml, css, html, and backend languages.

The understanding of backend program development ideas by front-end development engineers will make the collaboration with backend programmers simple, reasonable, and easy to communicate.

On the contrary, phper also needs to understand xhtml and JavaScript and be familiar with front-end development.

Knowledge Structure of web programmers:

Proficient in: php, architecture, database, etc.

Familiar with: xhtml and JavaScript

Differences:
According to the above, we can see the difference between the knowledge structure of front-end development engineers and web programmers.

One is the frontend and the other is proficient. The front-end knowledge structure also needs to extend to "Front", user experience, interactive design, and so on.

One is the backend and the other is familiar. Backend extension, program design architecture, database, and so on

Based on this knowledge structure, front-end engineers and backend engineers have different responsibilities.

Of course, web developers also have ideas in many other places.

Do java EE programmers need front-end technologies such as javascript and ajax? To what extent?

For java programs, js and ajax front-end technologies are essential. Unless some large companies have a very fine division of labor and specialized front-end technologies, you are responsible for compiling back-end java code, otherwise, you need to master it. Some common front-end technologies, such as jquery, jstl, el expressions, ajax asynchronous calls, and some companies are using ext.

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.