Hacker News new | past | comments | ask | show | jobs | submit login

I thought this would would be junk but they were valid points.

I dislike however when people state "AJAX in Django is Hard". Its not hard, there are just no helper functions. So AJAX is AJAX in Django. He explains that in the article but catchy titles are what people read and remember. The title should instead be "Django has no helper functions for AJAX"

That I agree with and think should be changed. Is anyone working on this?




There are AJAX helper functions in Django, they just don't produce JavaScript. Instead they make it stupidly easy to get back data in JSON, and most importantly leave which framework and everything else up to you.


I agree about the stupidly easy JSON handler -- I went from nought to finished app in about 10 minutes, when I wasn't even too sure what JSON was or why I should use it. Wikipedia helped a bit with the understanding, and Django just dumped the objects into JSON without any problem.

The article was basically valid but I didn't find myself thinking "yes, I hate those damn things as well." More like "well, that can be mildly inconvenient, but wtf, nobody's dead yet." I use jQuery for AJAX and it's so easy I'm not sure I even want it built in to Django.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: