What do you need to know about Javsscript? _ Basic Knowledge
Source: Internet
Author: User
What can javsscript do? JavaScript can do the client's data validation, processing, data interaction with the server (AJAX), interface enhancements, landscaping and so on, it seems that JavaScript can only do page or script-related processing. Is that right?
If you jump out of our current fixed view of JavaScript application, just look at the nature of JavaScript. There may be a new and enlightened discovery.
Perhaps we can redefine the JavaScript language in this way--an object-oriented programming language that ECMAScript as a syntax specification.
Of course, JavaScript itself has two unique object--bom, Dom objects, using these two objects we can complete a series of processing.
We know that the c#,c# of the same object-oriented language does not contain a class library that completes its work through a common execution engine provided by Visual Studio and a rich class library. Leave the class library perhaps C # will have no use value any more.
If JavaScript also has a rich class library like C #, what can JavaScript do? --Port communications, hardware management, stronger multimedia control, more free resource calls. Perhaps this is what many JavaScript programmers dream of, but can this be achieved?
I want to say can! How to achieve it? To implement these features there is certainly a need to have an execution engine like the C # call class library, fortunately, many of the programs themselves can be seen as such an engine, a feasible way is to use C # to complete the work of the process, by JavaScript to tell C # when to work, how to work, this is like C # As defined by itself. And luckily for JavaScript to tell C # how it works, the ability to interact with JavaScript (dnew.cn Note: See Address: Http://www.dnew.cn/post/257.htm) is provided by C #. That's what we call the language itself as the way to execute the engine. Many languages offer such capabilities as Flash (see: http://www.dnew.cn/post/239.htm) and so on.
Perhaps standing in a higher angle, such a way is only an interactive application, but with this application, our ideas may be more than a pair of free flying wings. JavaScript can do a lot!
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