Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

Next Page > Hide TOC

Introduction to Apple JavaScript Coding Guidelines

Contents:

Who Should Read This Document?
Organization of This Document
Getting Web Kit Builds
See Also


This document provides an overview of the JavaScript language as provided by Apple in the Web Kit and JavaScript Core frameworks. It looks at JavaScript language basics, object-oriented programming using JavaScript, and best practices to follow when writing JavaScript code.

Who Should Read This Document?

You should read this document if you are webpage or Dashboard widget developer who wants to learn JavaScript and best practices for Apple’s JavaScript runtime. Also, this document is useful if you’re using an application that offers a scripting environment that uses Apple’s JavaScript Core framework, like Installer or Quartz Composer.

Organization of This Document

This document contains the following chapters:

Getting Web Kit Builds

Safari is powered by the Web Kit framework, an open source project found at WebKit.org. To try your web-based JavaScript code with the latest JavaScript language features, download a nightly build from http://nightly.webkit.org/.

See Also

The Reference Library > Apple Applications > Safari provides useful information on the Web Kit, the technology that provides Apple’s JavaScript runtime. Read Web Kit DOM Programming Topics to learn more about the Web Kit’s DOM interfaces, useful when coding a webpage or Dashboard widget.

Read Dashboard Programming Topics for information on the technologies available to you when creating a Dashboard widget. Additional Dashboard documents and sample code can be found in the Reference Library > Apple Applications > Dashboard.

Installer Tiger Examples includes information on using the JavaScript runtime included with Apple’s Installer application.



Next Page > Hide TOC


Last updated: 2008-01-15




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice