13 |
|
|
14 |
You can also generate result in three different forms: |
You can also generate result in three different forms: |
15 |
|
|
16 |
|
|
17 |
=over 20 |
=over 20 |
18 |
|
|
19 |
=item as_markup |
=item as_markup |
32 |
|
|
33 |
=back |
=back |
34 |
|
|
35 |
|
|
36 |
|
=head2 No html templates |
37 |
|
|
38 |
Frey doesn't have html templates. Since your methods are part of REST URIs, |
Frey doesn't have html templates. Since your methods are part of REST URIs, |
39 |
it doesn't make sense to separate html from object itself, which represent |
it doesn't make sense to separate html from object itself, which represent |
40 |
web page. L<Frey::Web> provides role which has a bunch of helpful things |
web page. L<Frey::Web> provides role which has a bunch of helpful things |
55 |
To make things simple, there are few convertions (with nod to Ruby on Rails) |
To make things simple, there are few convertions (with nod to Ruby on Rails) |
56 |
which will help you get started: |
which will help you get started: |
57 |
|
|
58 |
|
|
59 |
=head2 default parametars |
=head2 default parametars |
60 |
|
|
61 |
|
Default values for |
62 |
|
|
63 |
|
|
64 |
=head2 html markup |
=head2 html markup |
65 |
|
|
66 |
HTML markup should be enclosed in C< qq| > and C< | > quotes. There is also |
HTML markup should be enclosed in C< qq| > and C< | > quotes. There is also |
84 |
|
|
85 |
which is valid perl syntax but doesn't work as expected. |
which is valid perl syntax but doesn't work as expected. |
86 |
|
|
87 |
|
|
88 |
|
=head2 SmallTalk like refactoring |
89 |
|
|
90 |
|
Frey is heavily influcenced by SmallTalks, up to the point of syntax. Coding |
91 |
|
Frey code should be like playing with L<Frey>. And you might end up with |
92 |
|
result which might surprise you. |
93 |
|
|
94 |
|
Refactoring tools are not new in perl. However, |
95 |
|
|
96 |
|
|
97 |
=head2 examples |
=head2 examples |
98 |
|
|
99 |
To help you get started, here are few implemented flows in Frey: |
To help you get started, here are few implemented flows in Frey: |
114 |
|
|
115 |
=back |
=back |
116 |
|
|
117 |
|
|
118 |
=head1 Command-line integration |
=head1 Command-line integration |
119 |
|
|
120 |
One of key points is that L<Frey> runs under your user. This means it has |
One of key points is that L<Frey> runs under your user. This means it has |