#115: Models CRUD via web services
------------------------+---------------------------------------------------
   Reporter:  maurycy   |                Owner:  jacob         
     Status:  assigned  |            Component:  Core framework
    Version:            |           Resolution:                
   Keywords:            |                Stage:  Accepted      
  Has_patch:  0         |           Needs_docs:  0             
Needs_tests:  0         |   Needs_better_patch:  0             
------------------------+---------------------------------------------------
Changes (by [EMAIL PROTECTED]):

 * cc: [EMAIL PROTECTED] (added)

Comment:

 I've been working on using the decorator patttern to expose individual
 views. My reasoning is that REST services are URI-based which excludes the
 models themselves. Using decorators on views lets me expose a URI to
 various methods on a case-by-case basis. It also allows me to hook into
 the authentication module.
 
 My original implementation so far:
 
 http://agentultra.com/?p=58
 
 But I recently came across:
 http://trac.turbogears.org/wiki/RouteByHttpMethod
 
 Which has some neat ideas I should probably integrate (ie: being method-
 aware and dispatching to alternate views via decorator parameters).
 
 Ultimately, I'd like to see PUT integrated for handling file uploads in
 Django rather than POST. The performance benefits of PUT are too good to
 pass up.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/115#comment:41>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to