Skip to content
Browse files

Minor refactoring

  • Loading branch information...
1 parent ecc9967 commit f99f672b06937a9d77147b8fb6bbd35f74239dcd @patspam patspam committed Apr 17, 2010
Showing with 6 additions and 4 deletions.
  1. +4 −2 TODO
  2. +2 −2 lib/WebGUI.pm
View
6 TODO
@@ -1,8 +1,8 @@
TODO
* Deprecate WebGUI::Session::HTTP - replace with WebGUI::Request/Response
-* Delete lib/WebGUI/URL and replace with new Middleware(s)
* Investigate moving Cookie handling into middleware
-* Turn html debug output into a Plack::Middleware::Debug panel
+* Replace WebGUI::authen with something equivalent
+* Refactor assets to use streaming response
DONE
* $session->request is now a Plack::Request object
@@ -12,6 +12,8 @@ DONE
* Streaming response body
* Mostly decoupled WebGUI from Log4perl
* Exception handling and error doc mapping
+* Plack::Middleware::Debug panels
+* Replaces all URL Handlers with Middleware
NB
* Periodically do a big stress-test and check for leaks, mysql overload etc..
View
4 lib/WebGUI.pm
@@ -76,7 +76,7 @@ sub call {
or die 'Missing WebGUI Session - check WebGUI::Middleware::Session';
# Handle the request
- handle($session);
+ $self->handle($session);
# Construct the PSGI response
my $response = $session->response;
@@ -119,7 +119,7 @@ sub call {
}
sub handle {
- my ( $session ) = @_;
+ my ( $self, $session ) = @_;
# uncomment the following to short-circuit contentHandlers (for benchmarking PSGI scaffolding vs. modperl)
# $session->output->print("WebGUI PSGI with contentHandlers short-circuited for benchmarking\n");

0 comments on commit f99f672

Please sign in to comment.
Something went wrong with that request. Please try again.