Roadmap for jQuery promises

As of jQuery 1.8, 'success', 'error', and 'complete' parameters of the $.ajax() method are deprecated. We should probably consider moving to using promises, however, it is a bit of a challenge with current action handling.

I am now working on implementing a custom validation handler for Parsley.js that returns a promise. Unfortunately, our ajax response handlers are not capable of handling error responses - we currently return 200 for all requests with custom status = 0|-1 codes. I have implemented a custom response using Symfony Response object, but perhaps we should start thinking about better ways of handling this.

Feedback and Planning

Feedback and Planning

Discussions about the past, present, and future of Elgg and this community site.