JavaScript is not just a script _ javascript Technique

Source: Internet
Author: User
JavaScript is not just a script in this technical forum. I would like to write JavaScript For You. Hoho

JavaScript seems to have always been regarded as a parsing script language, and developers often take a close look at it. I think that there is not much difficulty in a script. It seems that it is not worthwhile to study and apply it to people who do not understand the program.

From LiveScript to JavaScript, JavaScript is only used as a Script in a large amount of time. More developers can only obtain content through front-end form verification, webpage effects such as application float, movement, and drop-down linkage menus, or through the interface, for example, the time, resolution, and some events in the current window of the client can be used. As a result, JavaScript becomes a special webpage effect language, specifically used to add various cool effects to the page. JavaScript seems to have only some flashy interface effects, and even users can shield them at any time. Some browser toolbar automatically blocks JavaScript ......

Programmers do not pay much attention to JavaScript, which directly leads to the neglect of JavaScript. A large number of special effects applications on the Internet accelerate JavaScript as a script. It was not until Jesse James Garnett put JavaScript XMLhttp DOM together and formally proposed Ajax that JavaScript suddenly became popular. With the extensive use of Ajax by large companies such as Google, Yahoo, and Microsoft, JavaScript has become increasingly popular with Ajax.

Ajax is a combination of new bottled old wine technologies, or Ajax is not a technology, but a concept. It is precisely this concept that can bring innovations to Internet applications that will bring a strong interest to everyone. The reason is not only the technical combination, but also the development trend of the Internet application technology model. The Development Trend of RIA requires the cooperation of new technologies and methods. Ajax meets the development requirements of a wide range of Internet applications at this stage, reusing and locating JavaScript is a better choice for implementing RIA. JavaScript is the core of Ajax (or currently the best internet technology application). The current trend is to use JavaScript as a programming language to reconstruct webpages and format data with JavaScript. XMLhttp is a bridge and protocol for data transmission, similar to GET and POST, while XMLhttp serves JavaScript well.

In fact, JavaScript, as described in the world's most misunderstood language (http://www.crockford.com/javascript/javascript.html), is one of the most widely used programming languages in the world, except that the suffix is-script, other types of computing, process control, arrays, and functions are readily available, which is similar to Java and C.

Of course, programmers will also say that JavaScript cannot operate on text (it is not safe to operate locally), Images cannot be generated, and there is no object-oriented, no class, no inheritance, and debugging, data cannot be transmitted over the network. Therefore, JavaScript is not a real programming language. As a result, JavaScript is ignored as the script used only in page design. However, when we see object-oriented JS applications such as JSON, JS collections, 3D graphics, classes and inheritance in Prototype, and XMLhttp asynchronously transmits network data, at this time, can we say that cirpt is just a simple script?

A few years ago, the author pointed out that JavaScript is the most misunderstood language in the world. Fortunately, today we have realized the importance of JavaScript and will not continue to misunderstand it.

See
Http://www.netvibes.com/
Http://developer.yahoo.com/yui/
Http://www.backbase.com/
Http://www.meebo.com/
Http://www.miniajax.com/
Http://www.protopage.com/

Http://www.google.com/
Http://www.a9.com/
Http://www.live.com/
Http://www.snap.com/
Http // www.ask.com/
Http://dojotoolkit.org/
Http://www.ask.com/

When these applications are used, JavaScript will not just be used as a scripting language. JavaScript has an object-oriented concept, and can inherit classes and throw exceptions. That's why Ajax frameworks are so popular. Program developers have realized the importance of the JavaScript language and the changes brought to web development after they re-recognize it. for front-end and back-end developers, javaScript is not just what we thought previously-it's just a simple script.

JavaScript is almost an essential language in a project, especially for web development projects. It does not require compilers or specialized Resolvers. As long as there is a browser on the client machine, as long as the Open Source JavaScript Engine is added to the browser (almost all browsers support it, and all computers have browsers), whether it is a computer or a mobile phone, javaScript will be well supported.

Using JavaScript has at least the following advantages:
1. Added interactive dynamic applications, enriched interface applications, and improved user experience
2. Reduce background development costs, reduce Background Development workload, display HTML/XHTML, and format data for JS Processing
3. Reduced network bandwidth, faster browsing speed, reduced server pressure, and reduced data refresh by XMLhttp
4. A powerful tool that reflects the RIA and B/S modes. The effect of the C/S mode can be achieved through JS.
5. The best WEB version of the software, such as Flash and Applet, is also good. However, JavaScrip is the best
6 ,......

Although browser compatibility or user blocking of JS is a headache, most browsers are following the ECMAScript1.5 standard, and most users will not disable JS, it is almost difficult to disable JS to use the Internet.

Although there are still unfavorable factors such as security, development and maintenance costs, if JavaScript is well integrated with the background, JavaScript will be a very important language for web development, it is no less than Java. Nowadays, there are more and more websites using Java and php as backend services, and JavaScript is used to t process and display pages effectively. In this way, it is possible to enrich Internet applications and improve user experience.

After being ignored by programmers for so long, JavaScript has finally ushered in the spring of RIA. In any case, it is an inevitable trend for software programs to move from desktop to network and to browsers. There are too many ways to enrich Internet applications, not to replace desktop applications.

Among them, desktop and Internet applications are very similar in the background, and Java, C, and C # can all be used. At the front-end, JavaScript will play a good role in the interface development programming language in Internet software applications.

After all, JavaScript is not just a script, but an object-oriented programming language. Of course, it is essential to be proficient in a background language if you really want to make good use of the javasripcommand language. In this way, JavaScript is not just a script.

I have mentioned many advantages of JavaScript. Of course, JS still has such problems, but I think the development of RIA is a trend, and the B/S mode is also a trend, javaScript is also moving forward (new versions are also being studied ). I believe that with the increasing interaction between users and websites and users like WEB2.0 and the increasing speed of network bandwidth, RIA will develop very well, javaScript will also play an increasingly important role in RIA.
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.