Permalink
Browse files

TODO updates:

    - remove the pass warning issue (resolved in test suite)
    - add an item about static files handling
    - add an item about routes resolution caching
  • Loading branch information...
1 parent 19dd855 commit 42ba47f046b643983ede39e280e07b595340ce31 Alexis Sukrieh committed Jul 21, 2009
Showing with 16 additions and 5 deletions.
  1. +16 −5 TODO
View
@@ -1,12 +1,17 @@
-* Get rid of redefine warnings about 'pass'
-
- Running the test suite triggers this warning:
- `Subroutine main::pass redefined at ...'
-
* Write a test suite for action passing
The action skipping mechanism works but is not tested.
+* Route caching support
+
+ When a path is firstly resolved through the route tree, we should
+ cache the result for future calls.
+
+ The path would be the cache key, the first route the value.
+
+ 1 - GET / -> first call, so browse the route tree
+ 2 - GET / -> second call, return cache('/');
+
* Conditions support for route matching:
get '/foo', {agent => 'Songbird (\d\.\d)[\d\/]*?'} => sub {
@@ -23,3 +28,9 @@
render should then use a template system for rendering the view
located in $views_directory/index.tpl with $stuff data
+* Static files rendering support
+
+ We should look for a directory 'public' in the root dir of the
+ application. Each files located here should be served prior to
+ any route defined.
+

0 comments on commit 42ba47f

Please sign in to comment.