There is an option to update the page via frontend with
$page->update(). This is great and works good.
In my case I use it to store signups from users for a birtdayparty into a structure-field. To add an item to the structurefield I have to get the whole field first, convert it to an array, appaned the new data to the array, convert back to yaml and then update the page.
it would be great to have something like:
$page->mystructure()->add(array( key => value));
(It would be even nicer, if the structure-field could be more like a database with something like
update() including something like
$page->mystructure->update(array(key2 => value2 ))->where( key, "=", value);
Just an Idea, but would be happy with the add() at first