PAJAX 0.5.2 review

Download
by rbytes.net on

PAJAX project is a framework that facilitates the creation of remote PHP objects in JavaScript. You might have heard of AJAX by no

License: GPL (GNU General Public License)
File size: 83K
Developer: Georges Auberger
0 stars award from rbytes.net

PAJAX project is a framework that facilitates the creation of remote PHP objects in JavaScript.

You might have heard of AJAX by now. I first saw the term coined in this article by adaptive path and is short for Asynchronous JavaScript + XML. This technique came into the spotlight with Google Suggest and Google Maps.

It relies on a little known JavaScript object named XMLHttpRequest. This object allows for synchronous and asynchronous HTTP request to be performed from within a browser via JavaScript.

Wanting to play with this, I deiced to create a framework that would allow simple PHP objects to be made remotable in JavaScript, using XMLHttpRequest.

Introducing JSON

AJAX technique usually implies using XML as a data exchange format. While suitable as a format to marshal parameters back and forth, there is another format that is much more suitable for JavaScript. JSON (JavaScript Object Notation) is an alternate markup format that can be used to describe structured text data. It is based on the internal format used to store JavaScript Objects.

Object Request Broker pattern

CORBA and RMI are two well known instances of the ORB (Object Request Broker) pattern. In this pattern, objects in a distributed environment need to call methods of remote objects. For remote call to work, many details must be just right. This pattern covers the aspect of building an infrastructure that hides all the complexity from the caller standpoint.

What's New in This Release:
Fixes a remote code injection vulnerability.

PAJAX 0.5.2 keywords