mojox :: Dispatcher :: qooxdoo :: jsonrpc.

QOOXDOO JSON RPC È£ÃâÀ»À§ÇÑ µð½ºÆÐó
Áö±Ý ´Ù¿î·Îµå

mojox :: Dispatcher :: qooxdoo :: jsonrpc. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °Ô½ÃÀÚ À̸§:
  • Matthias Bloch and Tobias Oetiker
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~mbp/

mojox :: Dispatcher :: qooxdoo :: jsonrpc. ű×


mojox :: Dispatcher :: qooxdoo :: jsonrpc. ¼³¸í

QOOXDOO JSON RPC RPC¸¦À§ÇÑ µð½ºÆÐó Mojox :: Dispatcher :: QOOXDOO :: JSONRPC´Â QOOXDOO ½Åû¼­¿¡¼­ ±ÍÇÏÀÇ ¼­ºñ½º¿¡ ´ëÇÑ ¼ö½Å RPC ¿äûÀ» Àü´ÞÇÏ°í (Èñ¸ÁÀûÀ¸·Î) À¯È¿ÇÑ JSON Reply.Synopsis # lib / your-application.pm »ç¿ë ±âº» 'mojolicious'¸¦ ·»´õ¸µÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. ...¿¡ rpcservice¸¦ »ç¿ëÇϽʽÿÀ; ÇÏÀ§ ½ÃÀÛ {³» $ self = shift; # ÀνºÅϽºÈ­ ¸ðµç ¼­ºñ½º My $ Services = {test => rpcservice-> new (),}; # QOOXDOO Dispatcher¿¡ °æ·Î¸¦ Ãß°¡ÇÏ°í ³» $ r = $ self-> roores·Î °æ·Î¸¦ Ãß°¡ÇϽʽÿÀ. $ r-> route ( '/ qooxdoo') -> to ( 'jsonrpc-dispatch', services => $ services, debug => 0, namespace => mojox :: dispatcher :: qooxdoo); } ¿ä±¸ »çÇ× : ¡¤ Perl.


mojox :: Dispatcher :: qooxdoo :: jsonrpc. °ü·Ã ¼ÒÇÁÆ®¿þ¾î