/[Frey]/trunk/lib/Frey/Manual.pod
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/Manual.pod

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

revision 728 by dpavlin, Thu Dec 4 22:37:26 2008 UTC revision 729 by dpavlin, Sat Dec 6 00:20:20 2008 UTC
# Line 13  attributes for it using L<Moose/has> Line 13  attributes for it using L<Moose/has>
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
# Line 31  Any perl hash structure Line 32  Any perl hash structure
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
# Line 51  If I did it right, it should read simila Line 55  If I did it right, it should read simila
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
# Line 76  write just Line 84  write just
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:
# Line 96  Display a huge amount of icons with sing Line 114  Display a huge amount of icons with sing
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

Legend:
Removed from v.728  
changed lines
  Added in v.729

  ViewVC Help
Powered by ViewVC 1.1.26