A.7. Multilanguage Ajax FrameworksEach library here integrates browser-side JavaScript with several server-side languages. Usually, an individual project will only need to integrate with one server-side language, but the library includes several to make it applicable to a broader market. JSON has had a big impact, because it is as much a popular data format as it is a collection of open source libraries for remoting. SAJAX has also received considerable attention in this area, in part because it supports so many languages. CPAINT is popular as well. A.7.1. Cross-Platform Asynchronous INterface Toolkit (CPAINT) (from May 2005)CPAINT (http://cpaint.sourceforge.net/) is a true Ajax implementation and a JSRS (JavaScript Remote Scripting) implementation that supports both PHP and ASP/VBScript. CPAINT provides you the code required to implement Ajax and JSRS on the backend, while the returned data is manipulated, formatted, and displayed on the frontend in JavaScript. This allows you to build web applications that can provide near real-time feedback to the user. See Ajax Stub (Chapter 9).
A.7.2. JavaScript Object Notation (JSON) and JSON-RPCJSON (http://www.crockford.com/JSON/index.html) is a "fat-free XML alternative" and JSON-RPC (http://www.json-rpc.org/) is a remote procedure protocol, akin to XML-RPC, with strong support for JavaScript clients. See JSON Message (Chapter 9).
A.7.3. JavaScript Remote Scripting (JSRS) (from 2000)JSRS (http://www.ashleyit.com/rs/jsrs/test.htm) routes calls directly from JavaScript into your server-side language and back out again.
A.7.4. Rialto: Rich Internet AppLication TOolkitRialto (http://rialto.application-servers.com/) is a cross browser JavaScript widgets library.
A.7.5. SAJAX (from March 2005)SAJAX (http://www.modernmethod.com/sajax/) routes calls directly from JavaScript into your server-side language and back out again. So, for example, calling a JavaScript method "x_calculateBudget( )" will go the server and call an ASP/ColdFusion/Io/Lua/Perl/PHP/Python/Ruby calculateBudget( ) method, and then return the value in JavaScript to x_calculateBudget_cb( ).
A.7.6. ZKAjax/XUL Web FrameworkZK (http://zk1.sourceforge.net/) is an Ajax-based, event-driven, XUL-based, all Java framework designed to enable Web applications to have both rich user experiences and a simple programming model.
|