Yeah, koken is very app-like. Fancy looking and intuitive, but very limited once you want to do your own thing and the fact that it's not open source is reason enough for me to not use it. Also, their templating engine is extremely basic and doesn't even allow the use of php - so no object access or anything.
Anyways, I started to work on my advanced custom data plugin. Before I fully dive in it would be great if you more experienced developers could help me out with how to best approach the general structure. I have two ideas:
1)
In the plugin storage table, save the existing fields with type acd_album/acd_image, name as aux, input type and additional settings as a serialized array in data.
In the album/image objects, save the field id, value and additional settings as a serialized array in custom data.
2)
Save everything in the plugin storage table:
Existing fields like above.
Then for every image that has a field set to a non-default value, create a record in the plugin storage with type acd_entry, save the id of the relevant image in aux and save field id, value and additional settings in a serialized array in that records data field.
Pros and cons I can think of:
1) Would keep the data together - each image record has that image's custom data saved. The plugin storage wouldn't get filled up.
2) I have an instinct that this could make it easier to query for images by custom data like getImagesByAcd("show_title","true"). But one would still have to deserialize the array, so maybe that's not true.
Would be great if you could give me some insight!