views:

68

answers:

2

I am working on a webapp that interacts with data via XML-RPC rather than with a direct connection to a database. I can execute SQL queries via an XML-RPC methods.

I would like to interact with the data in an ORM framework fashion that has lazy/eager fetching, etc., although I can't seem to figure out how that would be possible with Python or even Django's libraries.

A: 

You would have to write your own database backend. Take a look at existing backends for how to do this.

Ignacio Vazquez-Abrams
A: 

Check out XML Models. It's REST rather than XML-RPC, but much of it is probably reusable.

godswearhats