php - Managing multiple related entities in one form -
i have form creating/editing parent element repeatable child element contains repeatable child entities.
for sake of example, looks this:
- list group [root]
- list
- item
- item
- list
- item
- item
- list
how manage updating 3 sets of entities without having drastic wiping original items (list, item) database? storing encrypted value each individual entity inside hidden form input , decrypting on post/patch sufficient, or should @ potentially splitting views , code create/update operations require own controllers , views?
Comments
Post a Comment