EUReCa : Easy, Unobstructive Remote Call 介绍
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);
EUReCa : Easy, Unobstructive Remote Call 官网
http://plugins.jquery.com/project/EUReCa
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。