Documentation Index

CPAINT :: Cross-Platform Asynchronous INterface Toolkit

What is CPAINT?

CPAINT (Cross-Platform Asynchronous INterface Toolkit) is a multi-language toolkit that helps web developers design and implement AJAX web applications with ease and flexibility. It was originally born out of the author's frustration and disappointment with other open-source AJAX toolkits. It is built on the same principles of AJAX, utilizing JavaScript and the XMLHTTP object on the client-side and the appropriate scripting language on the server-side to complete the full circle of data passing from client to server and back. See features and the rest of the documentation for additional information.

Client-Side

On the client-side, CPAINT consists of JavaScript classes that:

  1. control the creation and execution of the XMLHTTP object;
  2. retrieve the data from the XMLHTTP object and convert XML data into a JavaScript array (if configured); and,
  3. execute developer written code for further data manipulation or display.

Server-Side

On the server-side, CPAINT currently consists of classes that:

  1. retrieve CPAINT control variables and data from the querystring or POST data;
  2. execute developer written code for data manipulation or retrieval; and,
  3. assist the developer in the construction of properly formatted XML data.

Proxy Implementation

In addition to helping developers implement AJAX web applications using their own developed code, CPAINT includes a proxy utility that can pass data to code on a remote server, retrieve that data, and pass it to the frontend without breaking JavaScript security rules.