Interesting indeed! Not that comparisons always make sense, but Django seems to be far behind Rails in this respect. See for example http://www.activerdf.org/.
Except for some posts by Bill de hÓra, RDF support did not get a lot of attention. Good you're here Bill... Previously, I had some thoughts about complementing/replacing URL.conf with RDF graphs, and complementing models.py with RDF graphs. Wouldn't the use of RDF in URL.conf be a great starting point to map resources? Regards, bin On Nov 10, 12:41 pm, Bill de hOra <[EMAIL PROTECTED]> wrote: > benj wrote: > > Hi folks, > > After using django for a number of more conventional projects, I'm > > toying around with trying to use it to drive a XUL application. Using > > django's template system to generate XUL views is easy enough, as is > > passing serialized objects around with AJAX. However, most of XUL's > > widgets use RDF data bindings, and I'm not finding a lot of resources > > for working with them. > > > Does anyone have experience translating django models into RDF graphs? > > My ideal views would look something like this: > > > def person_list_rdf(request, filter): > > pl = Person.objects.filter(lname__icontains=filter) # or whatever else > > I'm doing > > rdf_list = translate_to_rdf_graph(pl) > > return HTTPResponse(rdf_list)Yep ("Django, RDF & XUL" - what a title ;) > > The key thing is to get a consistent/generic url for each object, and a > clean way to use rdf:resource to point at foreign keys, and things like > attachments. > > I would also consider the RSS framework as maybe being the shortest path > to goal. If that can be extended to RSS1.0+ complete content dumping, > you get RDF for free, plus you stay within Django's existing programming > idioms. > > I agree with David, this is a very interesting project. God, it's great > to be back on this list. > > cheers > Bill --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---