developping a mobile webApp with restful web service

106 views
Skip to first unread message

Tastypie

unread,
May 21, 2012, 3:20:56 AM5/21/12
to Tastypie
hi,I'm new in Django world !!
i have a question,can i developing a restful web service to be
consuming by my android web application,i want developing a webapp
which can working in offline mode .
i make some research and i found that i have to use json or xml format
to exchange data between server and client.
Is Tastypie what i need ????
i'm searching for more idea and guiding.
thanks and i'm sorry for my bad english .

Barry Melton

unread,
May 21, 2012, 3:34:32 AM5/21/12
to django-...@googlegroups.com
Tastypie can expose Django resources in either REST or XML (or both, or even more formats, but not at the same time). 

If your base platform is already Django, and you want to access it via an API, then Tastypie is likely what you'll need. 

Tastypie won't provide you any particular means of getting access to things while offline, but no other replacement for it will either.  That's something you'll need to handle in your application. 

Belhouchet Ines

unread,
May 21, 2012, 4:37:29 AM5/21/12
to django-...@googlegroups.com
thank you very much :)))
By your explanation i see that Tastypie is the best API to communicate
my mobile application to the web server Django.i'm wondering if Django
have some special API either than Tastypie to developping web service
for mobile application and not for mobile web site?
it means, in Django world is there a difference bettween mobile
website and mobile webapp which using web service or some thing like
that?

2012/5/21, Barry Melton <barry....@gmail.com>:
Reply all
Reply to author
Forward
0 new messages