What do you need to know about JavsScript? _ Basic knowledge

Source: Internet
Author: User
What do you need to know about JavsScript? What can JavsScript do? JavaScript can perform data verification and processing on the client, perform data interaction (AJAX) with the server, enhance interface functions, and beautify functions. It seems that JavaScript can only process pages or scripts. Is that true?
If we jump out of our current fixed perspective on JavaScript applications, we can only look at the nature of JavaScript. There may be new and clear discoveries.

Maybe we can redefine the JavaScript language like this-it is an object-oriented programming language with ECMAScript as the syntax specification.
Of course, JavaScript itself has two unique objects-BOM and DOM objects. Using these two objects, we can complete a series of processing.

We know that C #, which is also an object-oriented language, does not contain a class library, it works through a common execution engine and a rich class library provided by Visual Studio. If you leave the class library, maybe C # has no use value.

If JavaScript also has a rich class library similar to C #, What Can JavaScript do? -- Port Communication, Hardware Management, stronger multimedia control, and more free resource calls. Maybe this is what many JavaScript programmers dream of. Can this be implemented?

I want to say yes! How to implement it? To implement these functions, you must have an execution engine like C # Calling class libraries. Fortunately, many programs can be seen as such engines, A feasible method is to use C # to complete the processing program for the work. JavaScript tells C # when to work and how to work, as defined by C # itself. And fortunately, let JavaScript tell C # How It Works, which can be addressed by the ability of C # to interact with JavaScript (Dnew.cn Note: See address: http://www.dnew.cn/post/257.htm. This is how we use the language itself as the execution engine. Many languages provide such capabilities as Flash (see: http://www.dnew.cn/post/239.htm) and so on.

From a higher point of view, this method is just an interactive application. However, with this application, our creativity may be more than a pair of wings flying freely. JavaScript can do a lot!
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.