On Thu, May 3, 2012 at 12:52 AM, HarpB <hsbsi...@gmail.com> wrote: > I am a big fan of TastyPie. But I don't understand your following > requirement: > > Get/set (conversion) between different schemas > > I.e.: No matter the input API, you can get it formatted in whichever output > API you request > > Are you simply trying to create a unified interface for all of you existing > APIs? If so, are they using Django models?
They seem to be mostly written from C#, all the information they are giving me is an auto-generated schema page with set/get examples in SOAP [for one service] and XML [for the other]. I suspect that a few of the others will be in JSON though. > TastyPie would only be useful for you if you have existing Django Models. > You could still use it without having Django models, but then you would > have to write lot more of the api code yourself. TastyPie is a full-featured, > drop-in API system. It is meant to simply included into your existing > code, your attach it to your Django model and it will serve the data > associated to the models. It provides all of the RESTful options: GET, > POST, DELETE and PUT. > > > Django-Piston also makes use of django models, but it does not solely relies > on it. It provides a very basic interface (in comparison to TastyPie) and > you would need to write all of the RESTful request handles yourself. > > > Both TastyPie and Piston have authentication and authorization system. > The functionality I'm providing is as follows: Server1 >[send as SOAP 1.1]>[My Server]>[Server3 receives as XML in Server3 schema] Server3>[Send as XML]>[My Server]>[Server1 receives as SOAP 1.1 in Server1 schema] However since they will still need to access the data on demand (and not wait for a set/get operation from another party) I will need to create models (database) storing all information received. What would be the best way of doing this? Would TastyPie still be a good choice, or would Django-Piston [or some other] better suit this problem? Thanks for all suggestions, Alec Taylor -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.