/[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 940 by dpavlin, Tue Jan 6 12:59:33 2009 UTC revision 941 by dpavlin, Tue Jan 6 13:20:39 2009 UTC
# Line 84  to you, it the right track. Line 84  to you, it the right track.
84    
85  You don't even have to create initial entry form as L<Frey::Run>,  You don't even have to create initial entry form as L<Frey::Run>,
86  which will start your L<Moose> classes, will call L<Frey::Action>  which will start your L<Moose> classes, will call L<Frey::Action>
87  for help and generate initial form for you.  for help and generate initial form for you. If this magic is wrong,
88    just define C<< sub render_pipe { 'radio' } >> to force rending of
89    C<pipe> attribute as radio buttons.
90    
91    =head2 Easy skeletons
92    
93  Creating files is mess, so L<Frey::Class::Create/create_class_source> will  Creating files is mess, so L<Frey::Class::Create/create_class_source> will
94  create class and test skeleton for you.  create class and test skeleton for you.
95    
96  If I did it right, it should read similar to human language, like Smalltalk.  If I did it right, it should read similar to human language, like Smalltalk.
97    
98    L<Frey> is careful to provide enough magic to build skeletons just of files
99    which contain some specific logic to your aplication, so it's not massive code
100    generation as in Java...
101    
102  To make things simple, there are few conventions (with nod to Ruby on Rails)  To make things simple, there are few conventions (with nod to Ruby on Rails)
103  which will help you get started:  which will help you get started:
104    
105    
106  =head2 html markup  =head2 HTML markup convetion
107    
108  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
109  funny but very readable convention of multi line html when you have to  funny but very readable convention of multi line html when you have to
# Line 140  request) it tried to read default values Line 148  request) it tried to read default values
148  if it doesn't find all of required values it will invoke L<Frey::Action> to  if it doesn't find all of required values it will invoke L<Frey::Action> to
149  create end-user html form with missing fields.  create end-user html form with missing fields.
150    
151  =head2 examples  
152    =head1 Examples
153    
154  To help you get started, here are few implemented flows in Frey:  To help you get started, here are few implemented flows in Frey:
155    

Legend:
Removed from v.940  
changed lines
  Added in v.941

  ViewVC Help
Powered by ViewVC 1.1.26