Gene Amtower wrote:
>
> Christian,
>
> So this new introspection functionality is completely contained within
> the updated RPCPHP contrib code and doesn't require anything special in
> the remote service classes themselves?
>
> I looked through the materials you provided, and it's not clear but
> appears that way to me. I think the code you added uses PHP methods to
> gather knowledge about the called PHP code, or am I misinterpreting how
> the service introspection will function?
>
>
Hi Gene,
have a look at
http://qooxdoo-contrib.svn.sourceforge.net/viewvc/qooxdoo-contrib/trunk/qooxdoo-contrib/RpcPhp/trunk/services/class/qooxdoo/test.php?view=markup
Your class doesn't need to do anything except extend the
ServiceIntrospection class (which is loaded automatically by the server
script - no need to include it manually).
If this isn't possible becaus your inheritance chain doesn't allow it, you
can "mixin" the methods by defining proxy methods (see the first posting in
this thread).
Cheers,
Christian
--
View this message in context:
http://n2.nabble.com/JSON-RPC-service-introspection-tp3917779p3919008.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel