Thanks for all the suggestions everyone. While it is quite the heavyweight solution (and we'll probably just do everything w/ just views in the end), could someone give me a small outline of the steps I'd need to take to pull this XML backend thing off? Or point me to the right place? Thanks!
On Feb 13, 12:51 am, Alex Gaynor <alex.gay...@gmail.com> wrote: > On Fri, Feb 13, 2009 at 12:49 AM, matt pokrzywa <mattpokrz...@gmail.com>wrote: > > > > > > > Hi Alex, > > > Thanks for the quick response. I think what I really want is the > > latter, using XML as a backend using Django ORM. Is it feasible to > > do? > > > Thanks, > > > Matt > > > On Feb 13, 12:34 am, Alex Gaynor <alex.gay...@gmail.com> wrote: > > > On Fri, Feb 13, 2009 at 12: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 > > > > I'm not 100% sure I follow, are you wanting the Django models to produce > > XML > > > or to use XML as a backend(in place of a relational DB). The former is > > > exceptionally easy, the latter requires quite a bit of custom code if you > > > want to use the Django ORM. > > > > Alex > > > > -- > > > "I disapprove of what you say, but I will defend to the death your right > > to > > > say it." --Voltaire > > > "The people's good is the highest law."--Cicero > > While it's technically feasable I don't think it's necessarily the easiest > way to do that, something like PyActiveResource might be a bit easier since > it is built for tasks like this:http://code.google.com/p/pyactiveresource/ > > Alex > > -- > "I disapprove of what you say, but I will defend to the death your right to > say it." --Voltaire > "The people's good is the highest law."--Cicero --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---