1) AppServer has to send XML means (i assume) DJango running on Apache has to send XML
means let's route the URL to point to view which sends the respective XML URL is the means by which the frontend (javascript) will interact with appSERVER (django APP) means in (django) views import models and use the models interface and talk to the database easily (problem solved) ----------------------------------------------------------------- I suggest to use JSON intead of XML .Because both frontend(Javascript) and Django app can easily convert JSON into their repective native objects. On Feb 13, 10:29 am, matt pokrzywa <mattpokrz...@gmail.com> wrote: > hello everyone, > > i'm planning to use django for a project in a security course i'm > taking, and I have a question about leverage models: > > The models interface is really awesome, but for my project I can't > have my frontend directly talk to my database. We are thinking of > having our frontend send and receive XML from our app server (which > talks to the db), and we are wondering if we can leverage models for > this in any way. Ultimately I'd like to use the models interfaces, > but replace direct talk to the database with sending/receiving XML. > We understand we probably will have to write our own code for the XML > communication, but is there any way to hook it into models? > > Thanks so much! > > -Matt --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---