Hi everyone. A collection of every other script available for Couch could perfectly be packed into a custom theme. This small idea came to mind and it seems comfortable to launch a project faster. That's based on presence of kfunctions.php in theme folder. Perhaps someone is already using themes this way? If so, let's discuss our experience.
Here's a development of idea for you to try. Theme structure with autoloading goes like Apache config, where mods can be drag-and-dropped from mods*-available folder to mods*-enabled. All possible scripts are stored in *-available and when uploading to client you simply delete *-available folders leaving only *-enabled. This boosts speed by not loading everything and keeps only required tweaks/tags/etc on production for client to see. This way usual addon location - /couch/addons/ - becomes a storage for mostly core addons by Couch itself. In example pic below a new site-wide CMS variable is demonstated to be placed in the vars-enabled folder. As each and every tweak is already separated dropping folders is the easiest way to enable/disable tweak (with autloading only from *-enabled folders).
A plus is also in theme modding, with various mods already integrated into a theme, giving it premium Couch experience, example: gallery template drag-drop image reordering, multi-delete of fields, character counter for textarea fields, extra toolbar buttons etc. [it's in theme snippets that are not demonstrated in screenshot above] I am not discussing custom icons or designs, because that's what is unique and tailored, but very easy to include as themes are actually planned for this.
Every serious CMS coder on Couch already has a collection of fav addons and tweaks, I presume. Theme is a way to keep this organized. I myself tried a github repository for stuff, but that's not easy to maintain and not practical for quick starting/inheriting a project (although I got a few skills from that experience). So, with everything packed and integrated into a custom theme it's farily easy to copy among the sites. If a site already has a custom theme, that's not a big deal to merge differences among theme .html snippets once.
Reorganizing a bloated kfunctions.php file and addons folder into a perfectly manageable theme which is instantly connected with a site is a dream come true, very neat and professional. I will gladly help with custom themes and tweaks.
Here's a development of idea for you to try. Theme structure with autoloading goes like Apache config, where mods can be drag-and-dropped from mods*-available folder to mods*-enabled. All possible scripts are stored in *-available and when uploading to client you simply delete *-available folders leaving only *-enabled. This boosts speed by not loading everything and keeps only required tweaks/tags/etc on production for client to see. This way usual addon location - /couch/addons/ - becomes a storage for mostly core addons by Couch itself. In example pic below a new site-wide CMS variable is demonstated to be placed in the vars-enabled folder. As each and every tweak is already separated dropping folders is the easiest way to enable/disable tweak (with autloading only from *-enabled folders).
A plus is also in theme modding, with various mods already integrated into a theme, giving it premium Couch experience, example: gallery template drag-drop image reordering, multi-delete of fields, character counter for textarea fields, extra toolbar buttons etc. [it's in theme snippets that are not demonstrated in screenshot above] I am not discussing custom icons or designs, because that's what is unique and tailored, but very easy to include as themes are actually planned for this.
Every serious CMS coder on Couch already has a collection of fav addons and tweaks, I presume. Theme is a way to keep this organized. I myself tried a github repository for stuff, but that's not easy to maintain and not practical for quick starting/inheriting a project (although I got a few skills from that experience). So, with everything packed and integrated into a custom theme it's farily easy to copy among the sites. If a site already has a custom theme, that's not a big deal to merge differences among theme .html snippets once.
Reorganizing a bloated kfunctions.php file and addons folder into a perfectly manageable theme which is instantly connected with a site is a dream come true, very neat and professional. I will gladly help with custom themes and tweaks.