AJAX Programming Model

AJAX Programming Model

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

AJAX stands for Asynchronous JavaScript and XML. It is a programming model for building interactive Web applications. Communication between a client and server uses standard HTTP request and response transactions. Non-empty messages are transported as the body of a request or a response in a prescribed format, including XML, JSON (JavaScript Object Notation), or plain text. Unlike the traditional HTTP programming practice, an AJAX transaction does not require that an entire Web page is transported over the wire. The server provides modularized functionality through different access channels that are exposed as different URLs on the same Web site.

Microsoft Unified Communications AJAX API supports applications that use the AJAX programming model. In the current release, XML is the only supported data format. The Unified Communications AJAX API supports modularized access of the following functionality:

  • A Unified Communications AJAX API Client logs on to a Communicator Web Access Server using form-based authentication.

  • A Unified Communications AJAX API Client logs on to a Communicator Web Access Server using integrated Windows authentication.

  • The AJAX client posts a method to the server.

  • The client gets events from the server.

  • The client logs off the server.

Construction of the URLs for all of the above functionality is documented in the following Using the Unified Communications AJAX API section.

The Unified Communications AJAX API offers the following benefits:

  • It is platform-neutral: Client applications can run in various operating systems (such as Windows, Mac OS, UNIX, and Linux) and devices (desktop, laptop, embedded device, PDA, or mobile phone).

  • It is language-neutral. You can write client applications by using a wide range of programming languages including JavaScript, VBScript, C#, C/C++, and the Microsoft Visual Basic development system).



Communicator Web Access Server

Specifies server requirements and configurations.

Unified Communications AJAX API Client

Specifies client requirements and operations.

HTTP Request

Describes communication protocols between the Communicator Web Access Server and Unified Communications AJAX API client.

© 2015 Microsoft