Fotango Ltd > Froody-42.034 > examples/corelist/Corelist.pm

Download:
Froody-42.034.tar.gz

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

SIMPLE CORELIST SERVER DEMO ^

This module bundles everything that you might need in order to implement a Froody service.

THE API ^

To start with, we provide an API definition in Corelist::API. We have to provide an XML description of the publicly facing methods for our service. In this case, our API methods are:

  froody.demo.core

THE IMPLEMENTATION ^

We implement all the methods in the froody.demo namespace, as defined with Corelist::API

See Froody::QuickStart for an explanation of how this works.

^

After we've loaded the implementation, we can start the standalone server. The current implementation of the standalone server will walk @INC to discover all Froody::Implementation subclasses, and register all required implementations.

Once the server has started, you can test the functionality of the server by using the froody script to connect to the server:

  froody -u'http://localhost:4242/' froody.demo.corelist module=Froody
syntax highlighting: