Playing with ASP.net AJAX with PHP
Microsoft rebranded Atlas as ASP.NET AJAX and made the reusable components available as a public release. I vaguely skimmed over the news headlines, since Active Server Pages dot net Asyncronous JavaScript and XML did not hold any promise of being too useful on the LAMP stack, but now CodePlex released some libraries to allow PHP to interact with Microsoft’s reusable components:
require_once '../../dist/MSAjaxService.php';
class HelloService extends MSAjaxService
{
function SayHello($name)
{
return "Hello, " . $name . "!";
}
}
$h = new HelloService();
$h->ProcessRequest();