/[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 223 by dpavlin, Sat Nov 1 00:14:05 2008 UTC revision 657 by dpavlin, Mon Dec 1 12:49:52 2008 UTC
# Line 1  Line 1 
1  package Frey;  package Frey;
2  use Moose;  use Moose;
3    
4  our $VERSION = "0.17";  our $VERSION = "0.23";
5    
6    use Data::Dump qw//;
7    sub dump { Data::Dump::dump ( @_ ) }
8    
9  has 'debug' => (  has 'debug' => (
10          is => 'rw',          is => 'rw',
11          isa => 'Bool',          isa => 'Int',
12          default => 0,          default => 0,
13  );  );
14    
# Line 27  the web using REST API Line 30  the web using REST API
30    
31  Secondary goal is to have introspection.  Secondary goal is to have introspection.
32    
33    =head2 Moose classes
34    
35    All Moose classes have simple introspection API which use
36    L<Frey::Introspect> to show class and it's pod (using L<Frey::Pod>).
37    
38    Example of valid REST URL is
39    
40      http://localhost:16001/Frey
41    
42    which will show L<Frey> class introspection.
43    
44    You can also add method invocation and optonal parametars to C<new>
45    constructor like this:
46    
47      http://localhost:16001/Frey::Pod/as_markup?class=Frey
48    
49    this is same using L<Frey::Pod> from perl as
50    
51      Frey::Pod->new( class => 'Frey' )->as_markup;
52    
53    if you leave out parametars, L<Frey::Run> will ask for required ones.
54    
55  =head2 Database  =head2 Database
56    
57  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.223  
changed lines
  Added in v.657

  ViewVC Help
Powered by ViewVC 1.1.26