This would have a few advantages. One is that it would obviously reduce the number of pages that the user would have to load, meaning that it would be faster for them, both in page loading and rendering time. It would also reduce HTTP requests (assuming that the browser isn't caching everything)
If implimented correctly, this will have no drawbacks at all. Existing code that uses, for example, confirm_box will still function correctly, and it would be easy for them to change to AJAX if they chose, taking advantage of thIs system. It would function correctly in browsers with JavaScript disabled, as implimenting this would not involve removing any code and so they could use the existing mechanisms.
The following operations should use AJAX:
- Pretty much everything that uses confirm_box - deleting posts, moderator options, etc. [ticket] merged
- Everything that displays a message and then redirects, such as subscribing to a topic [ticket] merged
- Approving and denying posts [ticket] merged
Changing settings in the UCP and MCP[denied]- Editing posts - RFC
- Reordering forums in the ACP [ticket] merged
- Quick reply [ticket]
That's all I can think of at the moment. I can't imagine getting all of these done in the neat future, although I'm certainly going to try. Anyone got any other ideas / comments?