I am working on a distributed project where I saw various “appendStylesheet” and “appendScripts” on headLink which were added in Bootstrap.php.
Honestly, I am not much experienced with ZF (consider few months ~ 2 projects) and personally I think, it is not “semantic”. You can always append scripts via layouts or if you want flexibility as per different views, they could be called to appendStyles as every view would want (if not coded in layouts).
My question is about working “collaboratively”.
Should “views” related scripts be added on bootstrap or let it do the function of routing and implementing modules, etc?
styles and scripts should be added from the layout or viewscripts. this way you can easily switch the application’s “design” from one to another by simply replacing the view and public folders.