Thursday, September 8, 2011

Re: django and thrift



On 8 September 2011 03:27, Li Lirong <leon.li.lirong@gmail.com> wrote:
Hi,
Thank you for your comments.  I am new to both django and thrift.  I
am hosting my service with a shared web hosting server.  That's why I
want to use django to expose a thrift API.  Basically, what I want is
to have a web service that can be consumed by both python and c++.  Do
you think this is possible with django?


It's entirely possible, but I'd suggest not using Thrift as the transport protocol in this case. You'd be better off having a REST over HTTP service with payloads in JSON.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment