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

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

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -