Home / AJAX

Page History: Introduction and Scope

Compare Page Revisions

« Older Revision - Back to Page History - Newer Revision »

Page Revision: 2010/05/06 18:56

These standards are intended to be used for software written in JavaScript using the Ajax Control Toolkit.

They have been designed to maintain consistency with the published “Design Guidelines for Developing Class Libraries” and internal Microsoft coding standards for the .NET Framework where possible, whilst prioritizing JavaScript compatibility, performance, and maintainability.

The content is split into sections that can be consumed relatively independently, to enable you to get started quickly;
  • Naming Standards is simply a set of conventions for naming JavaScript language elements.
  • “Style Guidelines” are preferred ways to structure and format JavaScript code.
  • “Design Guidelines” define recommended practices to create maintainable code.
  • “Programming Guidelines” specifies practices that are beneficial to the JavaScript environment, from a performance, reliability, maintainability, and compatibility point of view.

Further guidance is available from the Microsoft ASP.NET and Ajax product group blogs, from Patterns and Practices, and on the ASP.NET Community Site.

The standards in this document do not cover all topics that must be considered when building applications with JavaScript, and therefore it is recommended that other information sources are consulted in partnership. In particular, consider seeking guidance on:

  • JavaScript Security, such as Cross Site Scripting and Request Forgery mitigations.
  • Accessibility and browsing device support
  • Usability and User Interface design