Hey!

I encountered an interesting article [1] about making websites that uses a lot of AJAX. I would like to discuss point 1 & 2 of the first answer with all the hyperkitty developers.  As I was coding the features like voteup/down, tags, I realized that Django is not the best framework for websites which wants to use a lot of AJAX and the reason is for every call you make you will need to create a URL is urls.py and a lot of code needs to be duplicated, IMO. In point 1, he says that we should have an RPC mechanism which will allow us to execute arbitrary functions on the backend. Let's consider the case we have 50 functions in views/ajax.py and each returns json encoded results but normally we will have to create 50 separate entries in urls.py for each function to work and as we add more functionality.

My question is, how do you think we can arbitrarily execute server side code (with proper permissions) without need of putting it in urls.py ?




--
Aamir Khan | 3rd Year  | Computer Science & Engineering | IIT Roorkee