Le 01/04/2014 02:09, Craig Small a écrit :
On Fri, Mar 28, 2014 at 05:22:10PM +0100, [email protected] wrote:
My question is: is there a simple way to implement a REST/Json api with TG2
(with data validation) ? If not, what framework would you recommend to do so ?
I'm looking for a full-stack framework with features like user rights
management (like TG2 do).
Isn't that what the backend of things like jqgrid does already?
ie it calls http://server/blah/thing.json and you get all the data
nicely JSON formatted for the thing model.
Permissions and all the other TG goodies don't care what the output
format is for this request, so they just work.
- Craig
Alessandro pointed me to this resource :
http://turbogears.readthedocs.org/en/latest/cookbook/Crud/restapi.html
So... building rest/json is ok.
What about api auto-generated documentation?
Damien
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.