Restful/Crud best practices?

79 views
Skip to first unread message

rdodev

unread,
Apr 5, 2012, 4:41:24 PM4/5/12
to web...@googlegroups.com
Hey all,

I'm building a crud-heavy app using web2py restful api/decorator. In a non-restful context, it's easy (and cruft free) to create and grab forms using the built-in crud wrapper. 
However, in a restful context with separate GET/POST/PUT/DELETE methods, what's the least repetitive and most web2py way of handling things?

Thanks.

rdodev

unread,
Apr 6, 2012, 9:07:44 AM4/6/12
to web...@googlegroups.com
Bumping this discussion, because I'm really wondering how to avoid repetition of code when using restful requests (and in particular the crud wrapper). A follow up question perhaps is, should crud be used at all when implementing restful services? TIA.
Reply all
Reply to author
Forward
0 new messages