Annotation of todotxt/Text-Todo-REST-API/TODO, Revision 1.1
1.1 ! andrew 1: Support PUT +action_handlers
! 2: Support POST +action_handlers
! 3: Support DELETE +action_handlers
! 4:
! 5: +representations Move to NOT being a subclass of the main class
! 6: +representations Don't re-bless into the new subclass, just return the action
! 7: +representations Figure out content_type for this
! 8:
! 9: +action_handlers Move path_info to the action_handler
! 10: +action_handlers Make action handlers plugins (that can run more than 1 ?)
! 11:
! 12: +describe 10 Methods should be:
! 13: +describe 20 new($options)
! 14: +describe 30 $action_args = Load($q->Vars)
! 15: +describe 40 $handled = $method($path_info, $action_args)
! 16: +describe 50 $output = Write($handled);
! 17: +describe 60 OR
! 18: +describe 70 print new($options)->Process($path_info, $q->Vars)
! 19: +describe 80 Process would do the three things above
! 20:
! 21: $AFresh1$
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>