Using Atlas with PHP

Using Atlas with PHP - interesting article about using of Atlas client script framework in PHP.
Author wrote server PHP part which help to integrate PHP with client Atlas scripts.

At the MIX conference a couple of weeks ago, I showed how you can use Atlas with PHP. To do this, I wrote some PHP code providing the server end of the Atlas web services stack, including a base class for implementing REST web services, a class for generating Javascript proxies from these services, and a serializer built on the excellent open-source PHP-JSON serializer. You can download the PHP sample here. To install it, expand the contents into a folder, and then copy the Atlas client scripts into a ScriptLibrary subdirectory as mentioned above. Now, you can set up your PHP server to point to this directory. Browse to 3_3_DataBinding.php - the web page - and you'll see both Atlas autocomplete and client-side databinding in action. The root directory contains the sample content, but the real fun is in the AtlasPhp subdirectory. This folder contains the PHP-JSON serializer (JSON.php), the web service base class (AtlasService.php), and the script proxy generator (AtlasProxyGenerator.php). It also includes a file called ApplicationRoot.php, which you’ll need to change if you install the app to any PHP URL path other than the default (/Examples).

Read full article here