Ajaxify
Y'know. Since I'm working now on our previews... I thought I could write this down.
What are the next candidates for an ajax bit of functionality?
Where is it missed? What are the messages to the user that could be sent over more smoothly for UX?
Re: Ajaxify
Reply #3 –
Save draft button?
Polls preview?
Collapsing/expanding of categories?
Notify, mark as read, disregard, etc. buttons?
Re: Ajaxify
Reply #4 –
Those are good possibilities too. However, one thing to bear in mind IMO is load time. If the content is such that a normal page load wont be any slower than using AJAX, we should probably avoid the bloat. If using AJAX can actually save time, go for it.
Re: Ajaxify
Reply #8 –
Question: what's the best way to handle these?
As a special case of the controller (i.e. if (isset($_GET['xml']))) or with their own "ajax" action (using the action_xmlhttp function and sub-actions)?
Re: Ajaxify
Reply #10 –
You could even start to build it as a RESTful API.