EUReCa : Easy, Unobstructive Remote Call

未知
未知
2008-09-19

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!

加载中

评论(0)

暂无评论

暂无资讯

暂无问答

暂无博客

返回顶部
顶部