| plugins_jsrs

# Procedural File: JsrsServer.class.php Source Location: /plugins/jsrs/JsrsServer.class.php ## Classes: ## Page Details: JsrsServer.class.php - JavaScript Remote Scripting server This is the PHP-version of the JavaScript Remote Scripting server Look at the provided sample to see how to use it. Mainly it's: // Include the JsrsServer require("../lib_server/JsrsServer.class.php"); -- Yor code here -- // propagate the methodes and functions that are available for the client $JsrsServer->propagateMethod(<object name> , <methode name>); $JsrsServer->propagateMethod(<object name> , <methode name>); $JsrsServer->propagateFunction(<function name>); // Start the JsrsServer to handle the request from the client $JsrsServer->start(); #### Tags:
copyright: | see license.txt for copyright and license info
author: | Sam Blum <at blueshoes dot org> Collected all the ideas, merged and rewrote them and added doc. Inspired by: Brent Ashley [jsrs@megahuge.com] initial Autor of jsrs V1 and V2. See http://ashleyit.com/rs/main.htm Inspired by: Danne Lundqvist [dotvoid@dotvoid.com] remote call *without* iframe Inspired by: Eric Costello see http://www.oreillynet.com/pub/a/javascript/2002/02/08/iframe.html Inspired by: Nate Weiss [nweiss@icesinc.com] See www.openwddx.org ------------------------------------------------------------------------------------------------------
version: | 3.0 beta CVS $Revision: 1.2 $ (April-2002) See history.txt for full history ------------------------------------------------------------------------------------------------------ Some Notes: The PHP WDDX implementation is limited and some basic types are not supported. Missing Tags (See PHP Bug report : http://bugs.php.net/bug.php?id=16716) The <dataTime>-tag : In PHP 4.0.0 - current(PHP 4.2.0) it's just ignored(!). That means the javascript Date-type can *not* be supported. You must transform it to a string. The <recordset>-tag : Is supported since PHP 4.2. But this has *no* major influence. Javascript types are never transformed to WDDX with the use of the <recordset>-tag. INFO: PHP Object Support ------------------------------------------------------------------------------------------------------
source: | http://sourceforge.net/projects/js-rs/ ------------------------------------------------------------------------------------------------------
Documentation generated on Mon, 29 Dec 2003 21:15:29 +0100 by phpDocumentor 1.2.3