1 |
package Frey; |
package Frey; |
2 |
use Moose; |
use Moose; |
3 |
|
|
4 |
our $VERSION = "0.17"; |
our $VERSION = "0.24"; |
5 |
|
|
6 |
|
use Data::Dump qw//; |
7 |
|
sub dump { |
8 |
|
my ($self,$data) = @_; |
9 |
|
Data::Dump::dump( $data ); |
10 |
|
} |
11 |
|
|
12 |
has 'debug' => ( |
has 'debug' => ( |
13 |
is => 'rw', |
is => 'rw', |
14 |
isa => 'Bool', |
isa => 'Int', |
15 |
default => 0, |
default => 0, |
16 |
); |
); |
17 |
|
|
18 |
=head1 NAME |
=head1 NAME |
19 |
|
|
20 |
Frey - hi-level web framework in spirit of 4GLs |
Frey - hi-level web framework in spirit of 4GLs based on Moose |
21 |
|
|
22 |
=head1 DESCRIPTION |
=head1 DESCRIPTION |
23 |
|
|
24 |
n. Mythology. |
n. Mythology. |
|
|
|
|
The Norse god who dispenses peace, good weather, prosperity, and bountiful |
|
|
crops; the brother of Freya. |
|
|
|
|
|
Basically you write L<Moose> classes which become deirectly callable from |
|
|
the web using REST API |
|
|
|
|
|
=head1 INTROSPECTION |
|
|
|
|
|
Secondary goal is to have introspection. |
|
25 |
|
|
26 |
=head2 Database |
The Norse god who dispenses peace, good weather, prosperity, and bountiful |
27 |
|
crops; the brother of Freya. |
28 |
|
|
29 |
For database objects we support L<Fey> and when your objects are created |
Basically you write L<Moose> classes which become directly callable from |
30 |
C<< with 'Frey::Collection' >> they will have basic CRUD functionality |
the Firefox using REST API. for gentle intoduction see L<Frey::Manual>. |
|
implemented by L<Frey::ObjectBrowser>. |
|
31 |
|
|
32 |
=cut |
=cut |
33 |
|
|