EUReCa : Easy, Unobstructive Remote Call
- 授权协议: 未知
- 开发语言:
- 操作系统: 未知
- 软件首页: http://plugins.jquery.com/project/EUReCa
软件介绍
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); 