-
-
30 Apr 2015 20:48:27 UTC
- Distribution: Jifty
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (17)
- Testers (11 / 233 / 2)
- Kwalitee
Bus factor: 3- % Coverage
- License: perl_5
- Perl: v5.8.3
- Activity
24 month- Tools
- Download (1.24MB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Any::Moose
- App::CLI
- CGI
- CGI::Cookie::Splitter
- CGI::Emulate::PSGI
- CSS::Squish
- Cache::Cache
- Cache::Memcached
- Calendar::Simple
- Carp::Clan
- Class::Accessor
- Class::Accessor::Named
- Class::Container
- Class::Data::Inheritable
- Class::Inspector
- Class::Trigger
- Clone
- Compress::Zlib
- Crypt::CBC
- Crypt::Rijndael
- DBD::SQLite
- DBI
- Data::Dump::Streamer
- Data::Page
- Data::UUID
- Date::Manip
- DateTime
- DateTime::Locale
- Devel::Cover
- Email::Abstract
- Email::Folder
- Email::LocalDelivery
- Email::MIME
- Email::MIME::ContentType
- Email::MIME::CreateHTML
- Email::Send
- Email::Simple
- Email::Simple::Creator
- Exception::Class
- Exporter::Lite
- FCGI::ProcManager
- File::Find::Rule
- File::MMagic
- File::ShareDir
- File::Spec
- File::Temp
- HTML::Entities
- HTML::Lint
- HTML::Mason
- HTML::Mason::Plugin
- HTML::TreeBuilder::XPath
- HTTP::Cookies
- HTTP::Date
- Hash::Merge
- Hash::MultiValue
- IO::Handle::Util
- IPC::Run3
- JSON
- JSON::XS
- Jifty::DBI
- LWP::UserAgent
- List::MoreUtils
- Locale::Maketext::Extract
- Locale::Maketext::Lexicon
- Log::Log4perl
- MIME::Types
- Module::CoreList
- Module::Install::Admin
- Module::Pluggable
- Module::Pluggable::Object
- Module::Refresh
- Module::ScanDeps
- Object::Declare
- Params::Validate
- Plack
- Plack::Middleware::Deflater
- Pod::Simple
- SQL::ReservedWords
- SUPER
- Scalar::Defer
- Shell::Command
- String::BufferStack
- String::Koremutake
- Sub::Exporter
- Template::Declare
- Test::Base
- Test::Email
- Test::Exception
- Test::HTML::Lint
- Test::LongString
- Test::MockModule
- Test::MockObject
- Test::More
- Test::Script::Run
- Test::WWW::Mechanize
- Test::WWW::Mechanize::PSGI
- Test::WWW::Selenium
- UNIVERSAL::require
- URI
- URI::Escape
- WWW::Mechanize
- Web::Hippie
- XML::Simple
- XML::Writer
- YAML
- YAML::Syck
- version
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Jifty::Handler - Methods related to the finding and returning content
SYNOPSIS
use Jifty; Jifty->new(); my $handler = Jifty::Handler->new; $handler->handle_request( $env );
DESCRIPTION
Jifty::Handler provides methods required to find and return content to the browser. "handle_request", for instance, is the main entry point for HTTP requests.
new
Create a new Jifty::Handler object. Generally, Jifty.pm does this only once at startup.
view_handlers
Returns a list of modules implementing view for your Jifty application.
You can override this by specifying:
framework: View: Handlers: - Jifty::View::Something::Handler - Jifty::View::SomethingElse::Handler
setup_view_handlers
Initialize all of our view handlers.
view ClassName
Returns the Jifty view handler for
ClassName
.psgi_app_static
Returns a closure for PSGI application that handles all static content, including plugins.
psgi_app
Returns a closure for PSGI application.
handle_request
When your server process (be it Jifty-internal, FastCGI or anything else) wants to handle a request coming in from the outside world, you should call
handle_request
.cleanup_request
Dispatchers should call this at the end of each request, as a class method. It flushes the session to disk, as well as flushing Jifty::DBI's cache.
Module Install Instructions
To install Jifty, copy and paste the appropriate command in to your terminal.
cpanm Jifty
perl -MCPAN -e shell install Jifty
For more information on module installation, please visit the detailed CPAN module installation guide.