/[Frey]/trunk/lib/Frey.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/Frey.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 209 by dpavlin, Fri Oct 31 16:24:59 2008 UTC revision 572 by dpavlin, Thu Nov 27 22:29:34 2008 UTC
# Line 1  Line 1 
1  package Frey;  package Frey;
2  use Moose;  use Moose;
3    
4  our $VERSION = "0.16";  our $VERSION = "0.22";
5    
6  has 'debug' => (  has 'debug' => (
7          is => 'rw',          is => 'rw',
8          isa => 'Bool',          isa => 'Int',
9          default => 0,          default => 0,
10  );  );
11    
# Line 27  the web using REST API Line 27  the web using REST API
27    
28  Secondary goal is to have introspection.  Secondary goal is to have introspection.
29    
30    =head2 Moose classes
31    
32    All Moose classes have simple introspection API which use
33    L<Frey::Introspect> to show class and it's pod (using L<Frey::Pod>).
34    
35    Example of valid REST URL is
36    
37      http://localhost:16001/Frey
38    
39    which will show L<Frey> class introspection.
40    
41    You can also add method invocation and optonal parametars to C<new>
42    constructor like this:
43    
44      http://localhost:16001/Frey::Pod/as_markup?class=Frey
45    
46    this is same using L<Frey::Pod> from perl as
47    
48      Frey::Pod->new( class => 'Frey' )->as_markup;
49    
50    if you leave out parametars, L<Frey::Run> will ask for required ones.
51    
52  =head2 Database  =head2 Database
53    
54  For database objects we support L<Fey> and when your objects are created  For database objects we support L<Fey> and when your objects are created

Legend:
Removed from v.209  
changed lines
  Added in v.572

  ViewVC Help
Powered by ViewVC 1.1.26