1Catalyst::Helper(3)   User Contributed Perl Documentation  Catalyst::Helper(3)
2
3
4

NAME

6       Catalyst::Helper - Bootstrap a Catalyst application
7

SYNOPSIS

9       See Catalyst::Manual::Intro
10

DESCRIPTION

12       Bootstrap a Catalyst application. Autogenerates scripts.
13
14       METHODS
15
16       get_file
17
18       Slurp file from DATA.
19
20       mk_app
21
22       Create the main application skeleton.
23
24       mk_component
25
26       This method is called by create.pl to make new components for your
27       application.
28
29       mk_dir
30
31       Surprisingly, this function makes a directory.
32
33       mk_file
34
35       writes content to a file.
36
37       next_test
38
39       render_file
40
41       Render and create a file from a template in DATA using Template Tool‐
42       kit.
43

HELPERS

45       Helpers are classes that provide two methods.
46
47           * mk_compclass - creates the Component class
48           * mk_comptest  - creates the Component test
49
50       So when you call "bin/create view MyView TT", create would try to exe‐
51       cute Catalyst::Helper::View::TT->mk_compclass and Cata‐
52       lyst::Helper::View::TT->mk_comptest.
53
54       See Catalyst::Helper::View::TT and Catalyst::Helper::Model::DBIC for
55       examples.
56
57       All helper classes should be under one of the following namespaces.
58
59           Catalyst::Helper::Model::
60           Catalyst::Helper::View::
61           Catalyst::Helper::Controller::
62

NOTE

64       The helpers will read author name from /etc/passwd by default.  To
65       override, please export the AUTHOR variable.
66

SEE ALSO

68       Catalyst::Manual, Catalyst::Test, Catalyst::Request, Cata‐
69       lyst::Response, Catalyst
70

AUTHOR

72       Sebastian Riedel, "sri@oook.de"
73

LICENSE

75       This library is free software, you can redistribute it and/or modify it
76       under the same terms as Perl itself.
77
78
79
80perl v5.8.8                       2007-08-10               Catalyst::Helper(3)
Impressum