Folks,

a few months back I posted some updates to the qooxdoo perl json
rpc module, one thing lead to another and I ended up taking over
the maintenance of the perl bindings from Nick Glencross.

Finally today I got around to actually do something about it and
check in my updates to the repository. The patch adds the ability
to access session data from within modules without breaking
backward compatibility:

* access to the session from within methods:

  sub method_login {
     my $error = shift;
     my $session = $error->{session};
     my @args = @_;
     ...

* access to the session from within the GetAccessibility
  method

  sub GetAccessibility {
      # name of method about to be called
      my $method = shift;
      # access level based on connection
      my $access = shift;
      # session handle
      my $session = shift;

Then there are a few minor tweaks.

* fixed charset in the session header to utf-8

* parametrized service path:

  $Qooxdoo::JSONRPC::service_path = 'Qooxdoo::Services';

* parametrized method_prefix

  $Qooxdoo::JSONRPC::method_prefix = 'method_';

* more documentation

finally I have clarified the license situation by including a
copy of the qooxdoo license and refering to it in the
JSONRPC code. This is necessary to unblock  Niko Tyni's work on
getting qooxdoo as well as Qooxdoo::JSONRPC packaged for debian ...

Niko wrote to me today that he has a working package for 0.8.2,
once Niko is done, this might be a good oportunity to get that hype
machine going once more ...

cheers
tobi

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch [email protected] ++41 62 775 9902 / sb: -9900

------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to