python - Django: thin model to consume XML API? -


a software architecture question:

i have top two/thirds of django app: view , template layers. i'd use external resource model. how?

i'd use of django model layer possible, orm. external resource specialized java package, providing content via flexible backend xml api.

my current strategy sort of thin model shim api: django models without fields, instead series of @propertys, each function pulling data external resource, needed.

is idea? how else solve problem?

judging deafening silence, gather answer is: differently.

we're rebuilding project consume json restful interface instead.


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -