1use warnings;
2use strict;
3
4package Jifty::Everything;
5
6=head1 NAME
7
8Jifty::Everything - Load all of the important Jifty modules at once.
9
10=head1 DESCRIPTION
11
12This package is loaded very early in the process of loading Jifty to bring in all of the wonderful goodies that make up Jifty. If you use L<JIfty>:
13
14  use Jifty;
15
16you use this package, so you should not need to use it yourself in most circumstances.
17
18=cut
19
20use Cwd ();
21BEGIN {
22    # Cwd::cwd() insists doing `pwd`, which is a few hundreds of shell
23    # outs just in the BEGIN time for Module::Pluggable to load things.
24    if ($^O ne 'MSWin32') {
25        require POSIX;
26        *Cwd::cwd = *POSIX::getcwd;
27    }
28}
29
30use Jifty ();
31use Jifty::I18N ();
32use Jifty::Dispatcher ();
33use Jifty::Object ();
34use Jifty::Config ();
35use Jifty::Handle ();
36use Jifty::ClassLoader ();
37use Jifty::Util ();
38use Jifty::API ();
39use Jifty::DateTime ();
40use Jifty::Record ();
41use Jifty::Collection ();
42use Jifty::Action ();
43use Jifty::Action::AboutMe ();
44use Jifty::Action::Autocomplete ();
45use Jifty::Action::Redirect ();
46use Jifty::Action::Record ();
47use Jifty::Action::Record::Create ();
48use Jifty::Action::Record::Update ();
49use Jifty::Action::Record::Delete ();
50
51
52use Jifty::Continuation ();
53
54use Jifty::LetMe ();
55
56use Jifty::Logger ();
57use Jifty::Handler ();
58use Jifty::View::Static::Handler ();
59use Jifty::View::Declare::Handler ();
60use Jifty::View::Mason::Handler ();
61
62use Jifty::Model::Metadata ();
63use Jifty::Model::Session ();
64use Jifty::Model::SessionCollection ();
65
66
67use Jifty::Request ();
68use Jifty::Request::Mapper ();
69use Jifty::Result ();
70use Jifty::Response ();
71use Jifty::CurrentUser ();
72
73use Jifty::Web ();
74use Jifty::Web::Session ();
75use Jifty::Web::PageRegion ();
76use Jifty::Web::Form ();
77use Jifty::Web::Form::Clickable ();
78use Jifty::Web::Form::Element ();
79use Jifty::Web::Form::Link ();
80use Jifty::Web::Form::Field ();
81use Jifty::Web::Menu ();
82
83use Jifty::CAS ();
84
85use Jifty::Module::Pluggable;
86#Jifty::Module::Pluggable->import(search_path => ['Jifty::Web::Form::Field'], require     => 1, except      => qr/\.#/);
87#__PACKAGE__->plugins;
88
89# Set up to load commands defined in Jifty/Plugin/*/Command/*.pm
90# we do the actual load in Jifty::Script
91Jifty::Module::Pluggable->import(
92    search_path => ['Jifty::Plugin'],
93    file_regex  => qr{/Command/[^/]+\.pm},
94    require     => 1,
95    sub_name    => "plugin_commands",
96);
97
98=head1 SEE ALSO
99
100L<Jifty>
101
102=head1 LICENSE
103
104Jifty is Copyright 2005-2010 Best Practical Solutions, LLC.
105Jifty is distributed under the same terms as Perl itself.
106
107=cut
108
1091;
110