资 源 简 介
Introduction
GwtPhp-deRPC is a PHP port for the new version of GWT RPC called Direct-Eval RPC (deRPC). This new version, deRPC, is faster than the first one but generates more data to transfer. In production mode, it generates directly JavaScript and allow the internet browser to parse it quickly.
The main advantages of GwtPhp-deRPC are :
* minor modification to do in java side
* all the classes used in service will be generated in php
* the php service is easy to write
Main Features :
* all basic types (int, String, byte, char... , Integer, String, Byte, Character...)
* Array is supported
* enums are supported
* enclosing types are supported
* Collection, List, Set and Map are supported
* Date (no Time)
It requires minimum PHP 5.3 to run.
Example
Java side
Module
To add the GwtPhp-deRpc module to your project, add these lines in your gw