Today, I added Ajax support to Cocoon, starting with form handling.
How do you Ajaxify a form? Add
form-templateelement. How do you write a new Ajax-aware widget styling? Just output plain HTML. How to handle non Ajax-able browsers? Nothing to do, it automatically falls back to full-page refreshes.
Dead simple, I told you!