Movatterモバイル変換


[0]ホーム

URL:


 / 
JSORB-0.04
River stage one • 1 direct dependent • 1 total dependent
/JS::JSORB

NAME

JS::JSORB - Javascript client for JSORB

SYNOPSIS

# in your Perl ...use JS::JSORB;my $js_jsorb = JS::JSORB->new;# get a Path::Class::File# representing the path to# the JSORB.js filemy $jsorb_js_file = $js_jsorb->file;# install a local copy$js_jsorb->copy_file_to( '/webroot/js/JSORB.js' );// in your javascript ...var c = new JSORB.Client ({    base_url : 'http://localhost:8080/',})c.call({    method : '/math/simple/add',    params : [ 2, 2 ]}, function (result) {    alert(result)});

DESCRIPTION

This is basically the JS:: module for the JSORB Javascript client. If you don't know about JS.pm, you should really check it out.

We also provide some basic functions to make it easy for you to retrieve the path to the installed JSORB.js file, to slurp the contents of the file into a string and to copy the file into another directory (such as your web directory).

METHODS

file

This returnsPath::Class::File instance that represents the path to the JSORB.js file.

copy_file_to( $dest )

This will copy the JSORB.js file to$dest.

BUGS

All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.

AUTHOR

Stevan Little <stevan.little@iinteractive.com>

COPYRIGHT AND LICENSE

Copyright 2008-2010 Infinity Interactive, Inc.

http://www.iinteractive.com

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

Module Install Instructions

To install JSORB, copy and paste the appropriate command in to your terminal.

cpanm

cpanm JSORB

CPAN shell

perl -MCPAN -e shellinstall JSORB

For more information on module installation, please visitthe detailed CPAN module installation guide.

Keyboard Shortcuts

Global
sFocus search bar
?Bring up this help dialog
GitHub
gpGo to pull requests
gigo to github issues (only if github is preferred repository)
POD
gaGo to author
gcGo to changes
giGo to issues
gdGo to dist
grGo to repository/SCM
gsGo to source
gbGo to file browse
Search terms
module: (e.g.module:Plugin)
distribution: (e.g.distribution:Dancer auth)
author: (e.g.author:SONGMU Redis)
version: (e.g.version:1.00)

[8]ページ先頭

©2009-2025 Movatter.jp