| Version 15 (modified by yappo, 5 years ago) |
|---|
HTTP::Engine
HTTP::Engine->new(
config => 'config.yaml',
handle_request => sub {
my $c = shift;
$c->res->body( 'ok' );
# and you can use $c->req
}
);
Application server to Web Application Framework gateway.
inspired from WSGI(Python) and Rack(ruby).
With this module, you can write your own web application framework very easily, and with less code!
DO NOT REINVENT WEB APPLICATION SERVER TO WEB APPLICATION FRAMEWORK GATEWAY!
IRC
#http-engine@…
SVN REPOS
svn co http://svn.coderepos.org/share/lang/perl/HTTP-Engine/trunk HTTP-Engine
MAILING LIST
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/http-engine
FAQ
- Does HTTP::Engine contain a dispatcher?
- No. Use HTTPx::Dispatcher, or your own.
- Is this ready for production?
- No. but will be soon. We need more committers! Please develop with us.
SUPPORTED ENGINES
- FastCGI (lighty, apache2, etc.)
- mod_perl
- standalone server (copied from cat's)
- CGI (of course, very slow :-)
HTTP::Server::Simple(coming soon!)
TODO
- POE Engine
- mod_perl ( http://svn.coderepos.org/share/lang/perl/HTTPEx-Adaptor-ModPerl/trunk/ ? )
- Request hook
- Response Filter (utf8 flag, encoding, fillinform? and more...)
AUTHOR
- Committer:yappo
- Committer:lestrrat (mod_perl support)
- Committer:tokuhirom (copy and paste Cat::Engine::FastCGI :), StackTrace?, )
- Committer:nyarla (CGI support)
- Committer:marcus
and Catalyst::Engine Authors
httpebot config
global:
plugin_path:
- plugins
timezone: Asia/Tokyo
log:
level: error
plugins:
- module: Subscription::Config
config:
feed:
- http://coderepos.org/feeds/share.xml
- module: Aggregator::Simple
- module: Filter::Rule
rule:
- module: Deduped
path: ~/plagger/httpe.db
- module: Notify::IRC
rule:
- expression: '$args->{entry}->title =~ m{lang/perl/HTTP-Engine}'
config:
daemon_port: 9992
nickname: httpebot
server_host: irc.perl.org
server_port: 6667
server_channels:
- #http-engine
charset: utf-8
announce: notify
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)