Ajax developers "Forget about the network"

Source: Internet
Author: User
Tags end file system
Ajax| Network

In Friday, a spokesman for the PHP UK 2006 conference, Harry Fuecks, said: Many coders who write AJAX applications tend to forget about network latency, leading to poor end-user experience.

Fuecks has been working on software development since the early the 1990s. He warns that developers are working purely on a local machine and will not experience delays like real Internet users.

Fuecks is the founder of the Jpspan program, which allows PHP developers to include AJAX features in their web pages. Because Internet service providers cannot control the length of time that users experience, developers should not assume that end users will get the same speed of service as they write code, he said at the meeting. Fuecks points out that many well-known Ajax success stories occur in organizations with large resources, such as Google. "With a lot of money, these problems are almost impossible to happen," he said. ”

Another problem that can occur on AJAX applications when multiple requests are submitted to the server is that the response may be returned in the wrong order. This can lead to unstable applications and can cause usability problems, Fuecks warns.

He also noted that many of the tool groups currently used by developers did not take this into account. "There is no public AJAX framework to help solve this problem." ”

Fuecks recommends that coders use an AJAX agent in their development environment to mimic the latency problems that occur when an application is configured into a production environment.

Fuecks also criticized the usual Ajax approach, which he calls "beautiful slogans." Problems caused by the execution of browser JavaScript, such as memory leaks, indicate that they are not suitable for running time for rigorous, long-running applications.

Fuecks says coders are also applying Ajax inappropriately, such as using it to submit a form even if there is an appropriate mechanism. He also noted that Ajax could not be a quick substitute for local applications. "Remember, in the browser, you can't access the file system." ”



Related Article

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.