X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=TODO;h=302bf1ae1bd328b782a1523aeb69dc4ad91ded91;hb=a6878cd856e6f51acc5c4f225d7d58a27783a026;hp=2dd12f7840c0634778d5a503b6477fbe0c33f2d7;hpb=77d892df0c89bb233feac1a72e701b94ba6bcba5;p=catagits%2FCatalyst-Runtime.git diff --git a/TODO b/TODO index 2dd12f7..302bf1a 100644 --- a/TODO +++ b/TODO @@ -5,16 +5,10 @@ Test app: http://github.com/bobtfish/catalyst-app-bug-go_chain/tree/master - - Bricas' Exception blog post - - http://bricas.vox.com/library/post/catalyst-exceptionclass.html - - Broken by recent exception refactoring - # Compatibility warnings to add: - $self->config should warn as config should only ever be called as a - class method. + class method (TESTS). # Proposed functionality / feature additions: @@ -32,6 +26,41 @@ http://github.com/willert/catalyst-plugin-log4perl-simple/tree # REFACTORING +## PSGI + +### Blockers + + * Test all the options work on all of the scripts + * Fix nginx middlewares so that they are generic, or can somehow + be used by people with their own .psgi files + * Fix a sane / nicer way to do custom engines. + +#### Script survey + +##### myapp_web_fastcgi.pl + +Looks to me like we are mapping --deamon to --detach but I think the modern Plack FCGI handler prefers --deamonize + +Although --pidfile is supported --pid seems to be preferred, and if we are bothering to map, why not map for the future? + +##### myapp_web_server.pl + +--pidfile handling is shiit. MooseX::Daemonize will blow up really nastilly if not installed.. + + --background seem to does nothing. + +### Nice to have + + * <@rafl> i've been thinking of maybe providing + MyApp->apply_default_middlewares($psgi_app) + * Capture arguments that the plack engine component was run with somewhere, + to more easily support custom args from scripts (e.g. Gitalist's + --git_dir) + * throw away the restarter and allow using the restarters Plack provides + * remove per-request state from the engine instance + * be smarter about how we use PSGI - not every response needs to be delayed + and streaming + ## The horrible hack for plugin setup - replacing it: * Have a look at the Devel::REPL BEFORE_PLUGIN stuff @@ -40,7 +69,7 @@ http://github.com/willert/catalyst-plugin-log4perl-simple/tree ## App / ctx split: NOTE - these are notes that t0m thought up after doing back compat for - _component_class, may be inaccurate, wrong or missing things + catalyst_component_class, may be inaccurate, wrong or missing things bug mst (at least) to correct before trying more than the first 2 steps. Please knock yourself out on the first two however :) @@ -60,4 +89,3 @@ http://github.com/willert/catalyst-plugin-log4perl-simple/tree - Profit! (Things like changing the complete app config per vhost, i.e. writing a config loader / app class role which dispatches per vhost to differently configured apps is piss easy) -