I'm creating a custom module for a random site idea I have (partially to get back into jamroom so we can relaunch our old site that's in limbo).
The plan is to have items that can be created (think page/post/etc but way simpler) and also to have categories that they can be in.
These categories and items need to live in separate data-stores and be related. The item may be in multiple categories and categories, although modifiable from the item form, should be able to be modified separately. The items, when they're being created, need to run a php script from the form via ajax before the form is submitted. Does this php file live on it's own in the module folder or is it a part of the index.php?
Can this realistically be one module with different views? How would I populate the "categories" multi select of the items using the categories data store... smarty templates and hidden fields?
I am a text-book overthinker and just finished the udemy Jamroom course so feel free to give what little advice you can and tell me to just start trying. I'm still a little fuzzy on the optimal structure of these things.
updated by @gcuezy: 05/04/14 11:22:28PM