EUReCa is library that allows to call server side function (php, .Net …etc) as javascript ones.
the first alpha release implements a php only version and shows a preview of some features. a PHP and .Net callers will be maintained, other languages (python, ruby, …etc) can be supported later.
the idea is simple you keep your server side functions unchanged
<?php function foo($stringVar, $intVar) { Do_Some_Server_Side_processing($stringVar); Process_int_var($intVar); return more_processing(); } ?>
you declare witch functions you want to export (see the demo for details)
then you call your function from javascrpt
var eurecaObj = $.EUReCa({target : '#target'}); eurecaObj.foo('mystring', 55);
Click here to download!