Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News Editorials & Other Articles General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search

napoleon_in_rags

(3,992 posts)
3. Well, when I used it I wasn't to afraid to hack it up.
Thu May 2, 2013, 05:12 AM
May 2013

To make it do what I wanted. Just a little reading made it possible. If you're looking for a really cogent, ready made AJAX built in system, Django probably isn't it. I read it has some add on functionality, through "tastypie" and "piston" but I haven't tried either of them.
http://stackoverflow.com/questions/6307992/best-way-to-integrate-django-with-an-ajax-library
But from the link above:

Basically, these libs help you create a fully working read-write API for your models, so you can perform create-read-update-delete operations from your javascript via HTTP. You don't need to define any views or serializers. Instead, you define resources, which is a decent abstraction, I think.

And it usually takes just a few lines of code, especially if your resources are tied to models.


If that sounds good to you, it might be worth looking into.

And I've never done any work with SVG, but as I recall it's a XML based vector graphics language. It wouldn't be hard to change headers from HTML to XML for any view, to create dynamic XML with Django, or really most frameworks.

Recommendations

0 members have recommended this reply (displayed in chronological order):

I think Django has a lot to offer. napoleon_in_rags May 2013 #1
mod_lisp threads that needle by not doing MVC at all Recursion May 2013 #2
Well, when I used it I wasn't to afraid to hack it up. napoleon_in_rags May 2013 #3
i've written for django .. Phillip McCleod May 2013 #4
+1 thx. nt napoleon_in_rags May 2013 #5
Depends on a lot of stuff hootinholler May 2013 #6
Spam deleted by MIR Team DavidWesley Mar 2022 #7
Post removed Post removed Mar 2023 #8
Latest Discussions»Retired Forums»Website, DB, & Software Developers»Starting a new web app: c...»Reply #3