A simple traditional web service (1)receives a request, (2)authenticates the requesting client, then (3)deserializes the parameters, (4)executes the service (the whole point of it) then (5)serializes the result and (6)returns it to the client. Django-Gateway lets you focus in writing the code and handles the rest.
1. DG recives POST or GET requests through configurable dynamic urls (all using django's url features).
2. DG uses integrates with the django auth module by limitig access to certain specified groups.
3. DG currently supports serializing with simplejson but it should be easy to extend its capabilities to support xml, amf, and others just by implementing a serialize and deserialize method extending the Service class.
4. DG uses decorators to specify public methods and authentication parameters. A simple yet functional service class looks like this:
"""FooBar plus parameter.""
return "FooBar "+p
Use Patent Claims
Include Install Instructions
These details are provided for information only. No information here is legal advice and should not be used as such.