[BACK]Return to TODO CVS log [TXT][DIR] Up to [local] / todotxt / Text-Todo-REST-API

File: [local] / todotxt / Text-Todo-REST-API / TODO (download)

Revision 1.1, Mon Jan 18 14:04:11 2010 UTC (14 years, 5 months ago) by andrew
Branch: MAIN

TODO list in sort-of a todo.txt format.  Should be compatible, I should use something like it as a test probably

Support PUT    +action_handlers
Support POST   +action_handlers
Support DELETE +action_handlers

+representations Move to NOT being a subclass of the main class
+representations Don't re-bless into the new subclass, just return the action
+representations Figure out content_type for this

+action_handlers Move path_info to the action_handler
+action_handlers Make action handlers plugins (that can run more than 1 ?)

+describe 10 Methods should be:
+describe 20    new($options)
+describe 30    $action_args = Load($q->Vars)
+describe 40    $handled = $method($path_info, $action_args)
+describe 50    $output = Write($handled);
+describe 60 OR
+describe 70    print new($options)->Process($path_info, $q->Vars)
+describe 80 Process would do the three things above

$AFresh1: TODO,v 1.1 2010/01/18 14:04:11 andrew Exp $