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

Diff for /todotxt/Text-Todo-REST-API/TODO between version 1.1 and 1.2

version 1.1, 2010/01/18 14:04:11 version 1.2, 2010/01/19 03:18:34
Line 2 
Line 2 
 Support POST   +action_handlers  Support POST   +action_handlers
 Support DELETE +action_handlers  Support DELETE +action_handlers
   
 +representations Move to NOT being a subclass of the main class  +representations Figure out content_type for representations. might need more header info
 +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 Move path_info to the action_handler
 +action_handlers Make action handlers plugins (that can run more than 1 ?)  +action_handlers Make action handlers plugins (that can run more than 1 ?)
   
 +describe 10 Methods should be:  +describe 10 Methods should be:
 +describe 20    new($options)  +describe 20    new($options)
 +describe 30    $action_args = Load($q->Vars)  +describe 40    $handled = $method($path_info, $q->Vars)
 +describe 40    $handled = $method($path_info, $action_args)  
 +describe 50    $output = Write($handled);  +describe 50    $output = Write($handled);
 +describe 60 OR  +describe 60 OR
 +describe 70    print new($options)->Process($path_info, $q->Vars)  +describe 70    print new($options)->Process($path_info, $q->Vars)
 +describe 80 Process would do the three things above  +describe 80 Process would do the things above
   
 $AFresh1$  $AFresh1: TODO,v 1.1 2010/01/18 14:04:11 andrew Exp $

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>