JavaScript是一个小型的,轻量级的,面向对象的,跨平台的脚本语言。JavaScript,作为一个独立的语言并不是很有用,它是被设计为易于嵌入另一些产品和应用程序的,比如web浏览器。在一个宿主环境中,JavaScript能够用来连接那些环境所提供的可编程控制的对象。
关于在浏览器中使用JavaScript的有关信息,请参考DOM和DHTML主题。Gecko DOM Reference描述了在基于Gecko的浏览器中可使用的宿主对象。
关于在你的应用程序中嵌入JavaScript引擎的有关信息,请参考SpiderMonkey。
Selected Articles
- Javascript 1.6 的新特性
- Describes new features of JavaScript 1.6, a new version of JavaScript supported by Firefox 1.5 and other Mozilla 1.8-based applications.
- Migrate apps from Internet Explorer to Mozilla
- Doron Rosenberg tells you how to make sure your web applications work in both IE and Mozilla.
- The World's Most Misunderstood Programming Language
- Despite its popularity, few know that JavaScript is a very nice dynamic object-oriented general-purpose programming language. How can this be a secret? Why is this language so misunderstood?
- JavaScript Closures
- Closures are one of the most powerful features of ECMAScript (JavaScript) but they cannot be properly exploited without understanding them. They are, however, relatively easy to create, even accidentally, and their creation has potentially harmful consequences, particularly in some relatively common web browser environments. To avoid accidentally encountering the drawbacks and to take advantage of the benefits they offer it is necessary to understand their mechanism.
- Object Oriented Programming in JavaScript
- Part I of this article discusses the creation of private variables and methods in classes in JavaScript. Part II covers inheritance.
View All...
|
Featured Content
其它页面
相关内容
- AJAX, DOM, DHTML, E4X, SpiderMonkey, Venkman
View All...
|