[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.2, Tue Jan 19 03:18:34 2010 UTC (14 years, 4 months ago) by andrew
Branch: MAIN
Changes since 1.1: +4 -7 lines

make Representations not a subclass of the main class
use them as a plugin, with a lookup of a handler for what we need to do.
When I get the skeleton down it should be simple to add more features

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

+representations Figure out content_type for representations. might need more header info

+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 40    $handled = $method($path_info, $q->Vars)
+describe 50    $output = Write($handled);
+describe 60 OR
+describe 70    print new($options)->Process($path_info, $q->Vars)
+describe 80 Process would do the things above

$AFresh1: TODO,v 1.2 2010/01/19 03:18:34 andrew Exp $