NAME

Apache::ExtDirect - Ext.Direct remoting interface for mod_perl applications

SYNOPSIS

In your PerlPostConfigRequire script:

use RPC::ExtDirect::API api_path    => '/api',
                        router_path => '/router',
                        poll_path   => '/events',
                        before      => \&global_before_hook,
                        after       => \&global_after_hook;

use My::ExtDirect::Published::Module::Foo;
use My::ExtDirect::Published::Module::Bar;

In your httpd.conf:

PerlModule Apache::ExtDirect::API
PerlModule Apache::ExtDirect::Router
PerlModule Apache::ExtDirect::EventProvider

<Location "/api">
   PerlHandler Apache::ExtDirect::API
   SetHandler perl-script
</Location>

<Location "/router">
   PerlHandler Apache::ExtDirect::Router
   SetHandler perl-script
</Location>

<Location "/events">
   PerlHandler Apache::ExtDirect::EventProvider
   SetHandler perl-script
</Location>

DESCRIPTION

This module provides RPC::ExtDirect gateway implementation for Apache mod_perl environment.

DEPENDENCIES

Apache::ExtDirect is dependent on the following modules: mod_perl2, RPC::ExtDirect, JSON, Attribute::Handlers.

SEE ALSO

For more information on core functionality see RPC::ExtDirect.

For more information on Ext.Direct API see specification: http://www.sencha.com/products/extjs/extdirect/ and documentation: http://docs.sencha.com/ext-js/4-0/#!/api/Ext.direct.Manager.

BUGS AND LIMITATIONS

Apache 1.x is not supported at this time.

There are no known bugs in this module. To report bugs, use github RT (the best way) or just drop me an e-mail. Patches are welcome.

AUTHOR

Alexander Tokarev, <tokarev@cpan.org>

ACKNOWLEDGEMENTS

I would like to thank IntelliSurvey, Inc for sponsoring my work on version 2.0 of RPC::ExtDirect suite of modules.

COPYRIGHT AND LICENSE

Copyright (C) 2012 by Alexander Tokarev

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.