samedi 7 février 2015

Separating Django models for SOA


First of all, the goal of this exercise is to create a SOA with Django.


I am trying to understand what the implications would be if I decided to separate and insulate models into apps, provide a REST API for accessing those apps and then create other apps which basically use the REST API to obtain data and perform operations on the models (DB).


I have been reading documentation and playing with Django for a while (not too long), but, as far as I can tell, the only important Django features I would be forefeiting are the ability to use generic views and forms. Since I am not really very experienced with Django I'd like to get more insight before I jump into it.



  • What other really useful Django features would I lose?

  • Is there a way to overcome this without exposing the models to other Apps?





Aucun commentaire:

Enregistrer un commentaire