In my quest to find the best approach to work with serialization / deserialization in the ‘no-framework’ project where I do not use a full stack framework I have found my self with a small challenge:
I would like to save, what I consider a class…
You have that, when a product is on development they can change its API anytime. This change is quite important though, its related on how to set the events of your form, for example, the useful beforeSubmit.
With the adoption of PJax on Yii2 things have change quite a bit with GridView when it comes to work with them in AJAX mode. It will probably be confusing at the beginning, but then you will soon realize how powerful the new approach is.